public static UpdateSubscriptionRequest UpdateSubscription() { string url = ApiUtil.BuildUrl("estimates", "update_subscription"); return(new UpdateSubscriptionRequest(url, HttpMethod.POST)); }
public static PlanListRequest List() { string url = ApiUtil.BuildUrl("plans"); return(new PlanListRequest(url)); }
public static EntityRequest <Type> Delete(string id) { string url = ApiUtil.BuildUrl("plans", CheckNull(id), "delete"); return(new EntityRequest <Type>(url, HttpMethod.POST)); }
public static UpdateCardRequest UpdateCard(string id) { string url = ApiUtil.BuildUrl("payment_sources", CheckNull(id), "update_card"); return(new UpdateCardRequest(url, HttpMethod.POST)); }
public static CreateRequest Create() { string url = ApiUtil.BuildUrl("plans"); return(new CreateRequest(url, HttpMethod.POST)); }
public static CreateUsingTokenRequest CreateUsingToken() { string url = ApiUtil.BuildUrl("payment_sources", "create_using_token"); return(new CreateUsingTokenRequest(url, HttpMethod.POST)); }
public static CreateCardRequest CreateCard() { string url = ApiUtil.BuildUrl("payment_sources", "create_card"); return(new CreateCardRequest(url, HttpMethod.POST)); }
public static TransactionListRequest List() { string url = ApiUtil.BuildUrl("transactions"); return(new TransactionListRequest(url)); }
public static ListRequest TransactionsForCustomer(string id) { string url = ApiUtil.BuildUrl("customers", CheckNull(id), "transactions"); return(new ListRequest(url)); }
public static EntityRequest <Type> Archive(string id) { string url = ApiUtil.BuildUrl("coupon_codes", CheckNull(id), "archive"); return(new EntityRequest <Type>(url, HttpMethod.POST)); }
public static OrderListRequest List() { string url = ApiUtil.BuildUrl("orders"); return(new OrderListRequest(url)); }
public static CouponCodeListRequest List() { string url = ApiUtil.BuildUrl("coupon_codes"); return(new CouponCodeListRequest(url)); }
public static SiteMigrationDetailListRequest List() { string url = ApiUtil.BuildUrl("site_migration_details"); return(new SiteMigrationDetailListRequest(url)); }
public static RenewalEstimateRequest RenewalEstimate(string id) { string url = ApiUtil.BuildUrl("subscriptions", CheckNull(id), "renewal_estimate"); return(new RenewalEstimateRequest(url, HttpMethod.GET)); }
public static ExportPaymentSourceRequest ExportPaymentSource(string id) { string url = ApiUtil.BuildUrl("payment_sources", CheckNull(id), "export_payment_source"); return(new ExportPaymentSourceRequest(url, HttpMethod.POST)); }
public static ListRequest TransactionsForSubscription(string id) { string url = ApiUtil.BuildUrl("subscriptions", CheckNull(id), "transactions"); return(new ListRequest(url)); }
public static EntityRequest <Type> DeleteLocal(string id) { string url = ApiUtil.BuildUrl("payment_sources", CheckNull(id), "delete_local"); return(new EntityRequest <Type>(url, HttpMethod.POST)); }
public static ListRequest PaymentsForInvoice(string id) { string url = ApiUtil.BuildUrl("invoices", CheckNull(id), "payments"); return(new ListRequest(url)); }
public static CreateUsingPaymentIntentRequest CreateUsingPaymentIntent() { string url = ApiUtil.BuildUrl("payment_sources", "create_using_payment_intent"); return(new CreateUsingPaymentIntentRequest(url, HttpMethod.POST)); }
public static CheckoutExistingRequest CheckoutExisting() { string url = ApiUtil.BuildUrl("hosted_pages", "checkout_existing"); return(new CheckoutExistingRequest(url, HttpMethod.POST)); }
public static CreateBankAccountRequest CreateBankAccount() { string url = ApiUtil.BuildUrl("payment_sources", "create_bank_account"); return(new CreateBankAccountRequest(url, HttpMethod.POST)); }
public static UpdateCardRequest UpdateCard() { string url = ApiUtil.BuildUrl("hosted_pages", "update_card"); return(new UpdateCardRequest(url, HttpMethod.POST)); }
public static VerifyBankAccountRequest VerifyBankAccount(string id) { string url = ApiUtil.BuildUrl("payment_sources", CheckNull(id), "verify_bank_account"); return(new VerifyBankAccountRequest(url, HttpMethod.POST)); }
public static UpdatePaymentMethodRequest UpdatePaymentMethod() { string url = ApiUtil.BuildUrl("hosted_pages", "update_payment_method"); return(new UpdatePaymentMethodRequest(url, HttpMethod.POST)); }
public static UpdateRequest Update(string id) { string url = ApiUtil.BuildUrl("plans", CheckNull(id)); return(new UpdateRequest(url, HttpMethod.POST)); }
public static PaymentSourceListRequest List() { string url = ApiUtil.BuildUrl("payment_sources"); return(new PaymentSourceListRequest(url)); }
public static EntityRequest <Type> Retrieve(string id) { string url = ApiUtil.BuildUrl("plans", CheckNull(id)); return(new EntityRequest <Type>(url, HttpMethod.GET)); }
public static SwitchGatewayAccountRequest SwitchGatewayAccount(string id) { string url = ApiUtil.BuildUrl("payment_sources", CheckNull(id), "switch_gateway_account"); return(new SwitchGatewayAccountRequest(url, HttpMethod.POST)); }
public static CopyRequest Copy() { string url = ApiUtil.BuildUrl("plans", "copy"); return(new CopyRequest(url, HttpMethod.POST)); }
public static CreateSubForCustomerEstimateRequest CreateSubForCustomerEstimate(string id) { string url = ApiUtil.BuildUrl("customers", CheckNull(id), "create_subscription_estimate"); return(new CreateSubForCustomerEstimateRequest(url, HttpMethod.GET)); }