Subversion Repositories SmartDukaan

Rev

Rev 35308 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35308 Rev 35367
Line 43... Line 43...
43
            String customerGid = shopifyGraphQLService.createCustomer(email, store.getCode(), store.getCode());
43
            String customerGid = shopifyGraphQLService.createCustomer(email, store.getCode(), store.getCode());
44
            String numeric = shopifyGraphQLService.extractIdFromGid(customerGid);
44
            String numeric = shopifyGraphQLService.extractIdFromGid(customerGid);
45
            //store.setShopifyCustomerId(numeric);
45
            //store.setShopifyCustomerId(numeric);
46
        }
46
        }
47
 
47
 
48
        /*if (store.getGstNumber() != null && store.getShopifyLocationId() != null) {
-
 
49
            String locationGid = shopifyGraphQLService.toGid("Location", store.getShopifyLocationId());
-
 
50
            shopifyGraphQLService.setMetafield(locationGid, "franchise", "gstin", store.getGstNumber(), "SINGLE_LINE_TEXT_FIELD");
-
 
51
        }*/
-
 
52
 
-
 
53
        return store;
48
        return store;
54
    }
49
    }
55
 
50
 
56
}
51
}