Package com.chargebee.models
Class Subscription.CreateRequest
java.lang.Object
com.chargebee.internal.RequestBase<U>
com.chargebee.internal.Request<Subscription.CreateRequest>
com.chargebee.models.Subscription.CreateRequest
- Enclosing class:
- Subscription
-
Field Summary
Fields inherited from class com.chargebee.internal.RequestBase
headers, isIdempotent, isJsonRequest, params, paramsV2, subDomain, uri -
Method Summary
Modifier and TypeMethodDescriptionaddonBillingCycles(int index, Integer addonBillingCycles) addonQuantity(int index, Integer addonQuantity) addonQuantityInDecimal(int index, String addonQuantityInDecimal) addonTrialEnd(int index, Timestamp addonTrialEnd) addonUnitPrice(int index, Long addonUnitPrice) addonUnitPriceInDecimal(int index, String addonUnitPriceInDecimal) affiliateToken(String affiliateToken) autoCollection(AutoCollection autoCollection) bankAccountAccountHolderType(AccountHolderType bankAccountAccountHolderType) bankAccountAccountNumber(String bankAccountAccountNumber) bankAccountAccountType(AccountType bankAccountAccountType) bankAccountBankCode(String bankAccountBankCode) bankAccountBankName(String bankAccountBankName) bankAccountBillingAddress(org.json.JSONObject bankAccountBillingAddress) bankAccountCompany(String bankAccountCompany) bankAccountEcheckType(EcheckType bankAccountEcheckType) bankAccountEmail(String bankAccountEmail) bankAccountFirstName(String bankAccountFirstName) bankAccountGatewayAccountId(String bankAccountGatewayAccountId) bankAccountIban(String bankAccountIban) bankAccountIssuingCountry(String bankAccountIssuingCountry) bankAccountLastName(String bankAccountLastName) bankAccountPhone(String bankAccountPhone) bankAccountRoutingNumber(String bankAccountRoutingNumber) bankAccountSwedishIdentityNumber(String bankAccountSwedishIdentityNumber) billingAddressCity(String billingAddressCity) billingAddressCompany(String billingAddressCompany) billingAddressCountry(String billingAddressCountry) billingAddressEmail(String billingAddressEmail) billingAddressFirstName(String billingAddressFirstName) billingAddressLastName(String billingAddressLastName) billingAddressLine1(String billingAddressLine1) billingAddressLine2(String billingAddressLine2) billingAddressLine3(String billingAddressLine3) billingAddressPhone(String billingAddressPhone) billingAddressState(String billingAddressState) billingAddressStateCode(String billingAddressStateCode) billingAddressValidationStatus(ValidationStatus billingAddressValidationStatus) billingAddressZip(String billingAddressZip) billingAlignmentMode(BillingAlignmentMode billingAlignmentMode) billingCycles(Integer billingCycles) cardAdditionalInformation(org.json.JSONObject cardAdditionalInformation) cardBillingAddr1(String cardBillingAddr1) cardBillingAddr2(String cardBillingAddr2) cardBillingCity(String cardBillingCity) cardBillingCountry(String cardBillingCountry) cardBillingState(String cardBillingState) cardBillingStateCode(String cardBillingStateCode) cardBillingZip(String cardBillingZip) cardExpiryMonth(Integer cardExpiryMonth) cardExpiryYear(Integer cardExpiryYear) cardFirstName(String cardFirstName) cardGateway(Gateway cardGateway) Deprecated.cardGatewayAccountId(String cardGatewayAccountId) cardIpAddress(String cardIpAddress) Deprecated.cardLastName(String cardLastName) cardNumber(String cardNumber) cardPreferredScheme(Card.PreferredScheme cardPreferredScheme) cardTmpToken(String cardTmpToken) Deprecated.clientProfileId(String clientProfileId) contractTermActionAtTermEnd(Subscription.ContractTerm.ActionAtTermEnd contractTermActionAtTermEnd) contractTermBillingCycleOnRenewal(Integer contractTermBillingCycleOnRenewal) contractTermCancellationCutoffPeriod(Integer contractTermCancellationCutoffPeriod) Deprecated.couponApplyTill(int index, Timestamp couponApplyTill) Deprecated.couponCouponId(int index, String couponCouponId) Deprecated.createdFromIp(String createdFromIp) Deprecated.customerAllowDirectDebit(Boolean customerAllowDirectDebit) customerAutoCollection(AutoCollection customerAutoCollection) customerBusinessCustomerWithoutVatNumber(Boolean customerBusinessCustomerWithoutVatNumber) customerCompany(String customerCompany) customerConsolidatedInvoicing(Boolean customerConsolidatedInvoicing) customerCustomerType(CustomerType customerCustomerType) customerEinvoicingMethod(EinvoicingMethod customerEinvoicingMethod) customerEmail(String customerEmail) customerEntityCode(EntityCode customerEntityCode) customerEntityIdentifierScheme(String customerEntityIdentifierScheme) customerEntityIdentifierStandard(String customerEntityIdentifierStandard) customerExemptionDetails(org.json.JSONArray customerExemptionDetails) customerExemptNumber(String customerExemptNumber) customerFirstName(String customerFirstName) customerId(String customerId) customerIsEinvoiceEnabled(Boolean customerIsEinvoiceEnabled) customerLastName(String customerLastName) customerLocale(String customerLocale) customerNetTermDays(Integer customerNetTermDays) customerOfflinePaymentMethod(OfflinePaymentMethod customerOfflinePaymentMethod) customerPhone(String customerPhone) customerRegisteredForGst(Boolean customerRegisteredForGst) customerTaxability(Taxability customerTaxability) customerTaxjarExemptionCategory(TaxjarExemptionCategory customerTaxjarExemptionCategory) customerVatNumber(String customerVatNumber) customerVatNumberPrefix(String customerVatNumberPrefix) entityIdentifierId(int index, String entityIdentifierId) entityIdentifierScheme(int index, String entityIdentifierScheme) entityIdentifierStandard(int index, String entityIdentifierStandard) entityIdentifierValue(int index, String entityIdentifierValue) eventBasedAddonChargeOn(int index, ChargeOn eventBasedAddonChargeOn) eventBasedAddonChargeOnce(int index, Boolean eventBasedAddonChargeOnce) eventBasedAddonId(int index, String eventBasedAddonId) eventBasedAddonOnEvent(int index, OnEvent eventBasedAddonOnEvent) eventBasedAddonQuantity(int index, Integer eventBasedAddonQuantity) eventBasedAddonQuantityInDecimal(int index, String eventBasedAddonQuantityInDecimal) eventBasedAddonServicePeriodInDays(int index, Integer eventBasedAddonServicePeriodInDays) eventBasedAddonUnitPrice(int index, Long eventBasedAddonUnitPrice) eventBasedAddonUnitPriceInDecimal(int index, String eventBasedAddonUnitPriceInDecimal) freePeriod(Integer freePeriod) freePeriodUnit(FreePeriodUnit freePeriodUnit) invoiceDate(Timestamp invoiceDate) invoiceImmediately(Boolean invoiceImmediately) invoiceNotes(String invoiceNotes) mandatoryAddonsToRemove(String... mandatoryAddonsToRemove) mandatoryAddonsToRemove(List<String> mandatoryAddonsToRemove) metaData(org.json.JSONObject metaData) offlinePaymentMethod(OfflinePaymentMethod offlinePaymentMethod) params()paymentInitiator(PaymentInitiator paymentInitiator) paymentIntentAdditionalInformation(org.json.JSONObject paymentIntentAdditionalInformation) paymentIntentGatewayAccountId(String paymentIntentGatewayAccountId) paymentIntentGwPaymentMethodId(String paymentIntentGwPaymentMethodId) Deprecated.paymentIntentGwToken(String paymentIntentGwToken) paymentIntentId(String paymentIntentId) paymentIntentPaymentMethodType(PaymentIntent.PaymentMethodType paymentIntentPaymentMethodType) paymentIntentReferenceId(String paymentIntentReferenceId) paymentMethodAdditionalInformation(org.json.JSONObject paymentMethodAdditionalInformation) paymentMethodGateway(Gateway paymentMethodGateway) Deprecated.paymentMethodGatewayAccountId(String paymentMethodGatewayAccountId) paymentMethodIssuingCountry(String paymentMethodIssuingCountry) paymentMethodReferenceId(String paymentMethodReferenceId) paymentMethodTmpToken(String paymentMethodTmpToken) paymentMethodType(Type paymentMethodType) planQuantity(Integer planQuantity) planQuantityInDecimal(String planQuantityInDecimal) planUnitPrice(Long planUnitPrice) planUnitPriceInDecimal(String planUnitPriceInDecimal) shippingAddressCity(String shippingAddressCity) shippingAddressCompany(String shippingAddressCompany) shippingAddressCountry(String shippingAddressCountry) shippingAddressEmail(String shippingAddressEmail) shippingAddressFirstName(String shippingAddressFirstName) shippingAddressLastName(String shippingAddressLastName) shippingAddressLine1(String shippingAddressLine1) shippingAddressLine2(String shippingAddressLine2) shippingAddressLine3(String shippingAddressLine3) shippingAddressPhone(String shippingAddressPhone) shippingAddressState(String shippingAddressState) shippingAddressStateCode(String shippingAddressStateCode) shippingAddressValidationStatus(ValidationStatus shippingAddressValidationStatus) shippingAddressZip(String shippingAddressZip) statementDescriptorDescriptor(String statementDescriptorDescriptor) taxProvidersFieldFieldId(int index, String taxProvidersFieldFieldId) taxProvidersFieldFieldValue(int index, String taxProvidersFieldFieldValue) taxProvidersFieldProviderName(int index, String taxProvidersFieldProviderName) termsToCharge(Integer termsToCharge) trialEndAction(TrialEndAction trialEndAction) Methods inherited from class com.chargebee.internal.Request
httpMeth, param, pathParam, request, request, setIdempotencyMethods inherited from class com.chargebee.internal.RequestBase
header, headers, paramsV2, setIdempotencyKey, uri
-
Method Details
-
id
-
planId
-
planQuantity
-
planQuantityInDecimal
-
planUnitPrice
-
planUnitPriceInDecimal
-
setupFee
-
trialEnd
-
billingCycles
-
mandatoryAddonsToRemove
-
mandatoryAddonsToRemove
-
startDate
-
coupon
Deprecated. -
autoCollection
-
termsToCharge
-
billingAlignmentMode
-
offlinePaymentMethod
-
poNumber
-
couponIds
-
couponIds
-
tokenId
-
affiliateToken
-
createdFromIp
Deprecated. -
invoiceNotes
-
invoiceDate
-
metaData
-
invoiceImmediately
-
freePeriod
-
freePeriodUnit
-
contractTermBillingCycleOnRenewal
public Subscription.CreateRequest contractTermBillingCycleOnRenewal(Integer contractTermBillingCycleOnRenewal) -
trialEndAction
-
clientProfileId
-
paymentInitiator
-
customerId
-
customerEmail
-
customerFirstName
-
customerLastName
-
customerCompany
-
customerPhone
-
customerLocale
-
customerTaxability
-
customerEntityCode
-
customerExemptNumber
-
customerNetTermDays
-
customerTaxjarExemptionCategory
public Subscription.CreateRequest customerTaxjarExemptionCategory(TaxjarExemptionCategory customerTaxjarExemptionCategory) -
customerAutoCollection
-
customerOfflinePaymentMethod
public Subscription.CreateRequest customerOfflinePaymentMethod(OfflinePaymentMethod customerOfflinePaymentMethod) -
customerAllowDirectDebit
-
customerConsolidatedInvoicing
public Subscription.CreateRequest customerConsolidatedInvoicing(Boolean customerConsolidatedInvoicing) -
cardGateway
Deprecated. -
cardGatewayAccountId
-
cardTmpToken
Deprecated. -
bankAccountGatewayAccountId
-
bankAccountIban
-
bankAccountFirstName
-
bankAccountLastName
-
bankAccountCompany
-
bankAccountEmail
-
bankAccountPhone
-
bankAccountBankName
-
bankAccountAccountNumber
-
bankAccountRoutingNumber
-
bankAccountBankCode
-
bankAccountAccountType
-
bankAccountAccountHolderType
public Subscription.CreateRequest bankAccountAccountHolderType(AccountHolderType bankAccountAccountHolderType) -
bankAccountEcheckType
-
bankAccountIssuingCountry
-
bankAccountSwedishIdentityNumber
public Subscription.CreateRequest bankAccountSwedishIdentityNumber(String bankAccountSwedishIdentityNumber) -
bankAccountBillingAddress
public Subscription.CreateRequest bankAccountBillingAddress(org.json.JSONObject bankAccountBillingAddress) -
paymentMethodType
-
paymentMethodGateway
Deprecated. -
paymentMethodGatewayAccountId
public Subscription.CreateRequest paymentMethodGatewayAccountId(String paymentMethodGatewayAccountId) -
paymentMethodReferenceId
-
paymentMethodTmpToken
-
paymentMethodIssuingCountry
-
paymentMethodAdditionalInformation
public Subscription.CreateRequest paymentMethodAdditionalInformation(org.json.JSONObject paymentMethodAdditionalInformation) -
cardFirstName
-
cardLastName
-
cardNumber
-
cardExpiryMonth
-
cardExpiryYear
-
cardCvv
-
cardPreferredScheme
-
cardBillingAddr1
-
cardBillingAddr2
-
cardBillingCity
-
cardBillingStateCode
-
cardBillingState
-
cardBillingZip
-
cardBillingCountry
-
cardIpAddress
Deprecated. -
cardAdditionalInformation
public Subscription.CreateRequest cardAdditionalInformation(org.json.JSONObject cardAdditionalInformation) -
paymentIntentId
-
paymentIntentGatewayAccountId
public Subscription.CreateRequest paymentIntentGatewayAccountId(String paymentIntentGatewayAccountId) -
paymentIntentGwToken
-
paymentIntentPaymentMethodType
public Subscription.CreateRequest paymentIntentPaymentMethodType(PaymentIntent.PaymentMethodType paymentIntentPaymentMethodType) -
paymentIntentReferenceId
-
paymentIntentGwPaymentMethodId
@Deprecated public Subscription.CreateRequest paymentIntentGwPaymentMethodId(String paymentIntentGwPaymentMethodId) Deprecated. -
paymentIntentAdditionalInformation
public Subscription.CreateRequest paymentIntentAdditionalInformation(org.json.JSONObject paymentIntentAdditionalInformation) -
billingAddressFirstName
-
billingAddressLastName
-
billingAddressEmail
-
billingAddressCompany
-
billingAddressPhone
-
billingAddressLine1
-
billingAddressLine2
-
billingAddressLine3
-
billingAddressCity
-
billingAddressStateCode
-
billingAddressState
-
billingAddressZip
-
billingAddressCountry
-
billingAddressValidationStatus
public Subscription.CreateRequest billingAddressValidationStatus(ValidationStatus billingAddressValidationStatus) -
shippingAddressFirstName
-
shippingAddressLastName
-
shippingAddressEmail
-
shippingAddressCompany
-
shippingAddressPhone
-
shippingAddressLine1
-
shippingAddressLine2
-
shippingAddressLine3
-
shippingAddressCity
-
shippingAddressStateCode
-
shippingAddressState
-
shippingAddressZip
-
shippingAddressCountry
-
shippingAddressValidationStatus
public Subscription.CreateRequest shippingAddressValidationStatus(ValidationStatus shippingAddressValidationStatus) -
statementDescriptorDescriptor
public Subscription.CreateRequest statementDescriptorDescriptor(String statementDescriptorDescriptor) -
customerVatNumber
-
customerVatNumberPrefix
-
customerEntityIdentifierScheme
public Subscription.CreateRequest customerEntityIdentifierScheme(String customerEntityIdentifierScheme) -
customerEntityIdentifierStandard
public Subscription.CreateRequest customerEntityIdentifierStandard(String customerEntityIdentifierStandard) -
customerIsEinvoiceEnabled
-
customerEinvoicingMethod
public Subscription.CreateRequest customerEinvoicingMethod(EinvoicingMethod customerEinvoicingMethod) -
customerRegisteredForGst
-
customerBusinessCustomerWithoutVatNumber
public Subscription.CreateRequest customerBusinessCustomerWithoutVatNumber(Boolean customerBusinessCustomerWithoutVatNumber) -
contractTermActionAtTermEnd
public Subscription.CreateRequest contractTermActionAtTermEnd(Subscription.ContractTerm.ActionAtTermEnd contractTermActionAtTermEnd) -
contractTermCancellationCutoffPeriod
public Subscription.CreateRequest contractTermCancellationCutoffPeriod(Integer contractTermCancellationCutoffPeriod) -
customerExemptionDetails
public Subscription.CreateRequest customerExemptionDetails(org.json.JSONArray customerExemptionDetails) -
customerCustomerType
-
entityIdentifierId
-
entityIdentifierScheme
-
entityIdentifierValue
-
entityIdentifierStandard
public Subscription.CreateRequest entityIdentifierStandard(int index, String entityIdentifierStandard) -
taxProvidersFieldProviderName
public Subscription.CreateRequest taxProvidersFieldProviderName(int index, String taxProvidersFieldProviderName) -
taxProvidersFieldFieldId
public Subscription.CreateRequest taxProvidersFieldFieldId(int index, String taxProvidersFieldFieldId) -
taxProvidersFieldFieldValue
public Subscription.CreateRequest taxProvidersFieldFieldValue(int index, String taxProvidersFieldFieldValue) -
addonId
-
addonQuantity
-
addonQuantityInDecimal
-
addonUnitPrice
-
addonUnitPriceInDecimal
public Subscription.CreateRequest addonUnitPriceInDecimal(int index, String addonUnitPriceInDecimal) -
addonBillingCycles
-
eventBasedAddonId
-
eventBasedAddonQuantity
public Subscription.CreateRequest eventBasedAddonQuantity(int index, Integer eventBasedAddonQuantity) -
eventBasedAddonUnitPrice
public Subscription.CreateRequest eventBasedAddonUnitPrice(int index, Long eventBasedAddonUnitPrice) -
eventBasedAddonQuantityInDecimal
public Subscription.CreateRequest eventBasedAddonQuantityInDecimal(int index, String eventBasedAddonQuantityInDecimal) -
eventBasedAddonUnitPriceInDecimal
public Subscription.CreateRequest eventBasedAddonUnitPriceInDecimal(int index, String eventBasedAddonUnitPriceInDecimal) -
eventBasedAddonServicePeriodInDays
public Subscription.CreateRequest eventBasedAddonServicePeriodInDays(int index, Integer eventBasedAddonServicePeriodInDays) -
eventBasedAddonOnEvent
-
eventBasedAddonChargeOnce
public Subscription.CreateRequest eventBasedAddonChargeOnce(int index, Boolean eventBasedAddonChargeOnce) -
eventBasedAddonChargeOn
public Subscription.CreateRequest eventBasedAddonChargeOn(int index, ChargeOn eventBasedAddonChargeOn) -
addonTrialEnd
-
couponCouponId
Deprecated. -
couponApplyTill
Deprecated. -
params
- Overrides:
paramsin classRequest<Subscription.CreateRequest>
-