Ejemplo n.º 1
0
 public static List<PaymentMethod> SetPaymentMethods(PaymentMethod paymentMethods, String ApiToken, String ApiServer)
 {
     return Newtonsoft.Json.JsonConvert.DeserializeObject<List<PaymentMethod>>(Factory.GetResponse("Orders/SetPaymentMethods", "paymentMethods=" + Newtonsoft.Json.JsonConvert.SerializeObject(paymentMethods) + "", ApiToken, ApiServer), new JsonSerializerSettings { NullValueHandling = NullValueHandling.Ignore });
 }
Ejemplo n.º 2
0
 public static List <PaymentMethod> SetPaymentMethods(PaymentMethod paymentMethods, String ApiToken, String ApiServer)
 {
     return(Newtonsoft.Json.JsonConvert.DeserializeObject <List <PaymentMethod> >(Factory.GetResponse("Orders/SetPaymentMethods", "paymentMethods=" + Newtonsoft.Json.JsonConvert.SerializeObject(paymentMethods, serializerSettings) + "", ApiToken, ApiServer), new JsonSerializerSettings {
         NullValueHandling = NullValueHandling.Ignore
     }));
 }