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 }); }
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 })); }