public Option Retrieve(OptionRetrieveServiceOptions options)
        {
            String  Result       = TwoCheckoutUtil.Request("api/products/detail_option", "GET", "admin", options);
            Options OptionResult = TwoCheckoutUtil.MapToObject <Options>(Result);

            return(OptionResult.option[0]);
        }
예제 #2
0
 public void _003_TestOptionRetrieve()
 {
     var ServiceObject = new OptionService();
     var ArgsObject = new OptionRetrieveServiceOptions();
     ArgsObject.option_id = option_id;
     var result = ServiceObject.Retrieve(ArgsObject);
     Assert.IsInstanceOf<Option>(result);
 }
 public Option Retrieve(OptionRetrieveServiceOptions options)
 {
     String Result = TwoCheckoutUtil.Request("api/products/detail_option", "GET", "admin", options);
     Options OptionResult = TwoCheckoutUtil.MapToObject<Options>(Result);
     return OptionResult.option[0];
 }