package com.diaoyun.zion.chinafrica.vo;


import io.swagger.models.auth.In;

/**
 * @Auther: wudepeng
 * @Date: 2019/11/15
 * @Description: Shopify url
 */
public class ShopifyConstant {

    public static String SHOPIFY_LIMIT = "4";
    public static String SHOPIFY_PAGE_SIZE = "10";
    //apikey
    public static String SHOPIFY_API_KEY = "7f0e048ac4016b9357bb1eb2217e4201";
    //hostname
    public static String SHOPIFY_HOSTNAME = "mollykitty.myshopify.com";
    //password
    public static String SHOPIFY_PASSWORD = "1c97a1222c5b40e0597c816c6dfecac0";
    //api
    public static String SHOPIFY_PRODUCTS_API = "/admin/api/2019-10/products.json";
    //https://7f0e048ac4016b9357bb1eb2217e4201:1c97a1222c5b40e0597c816c6dfecac0@mollykitty.myshopify.com/admin/api/2019-10/products.json?fields=product_type;

    public static String productTypeUrl() {
        return "https://" + SHOPIFY_API_KEY + ":" + SHOPIFY_PASSWORD + "@" + SHOPIFY_HOSTNAME + SHOPIFY_PRODUCTS_API;
    }


}
