Package com.chargebee.models
Class Estimate.CreateSubscriptionRequest
java.lang.Object
com.chargebee.internal.RequestBase<U>
com.chargebee.internal.Request<Estimate.CreateSubscriptionRequest>
com.chargebee.models.Estimate.CreateSubscriptionRequest
- Enclosing class:
- Estimate
public static class Estimate.CreateSubscriptionRequest
extends Request<Estimate.CreateSubscriptionRequest>
-
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) billingAddressCity(String billingAddressCity) billingAddressCountry(String billingAddressCountry) billingAddressLine1(String billingAddressLine1) billingAddressLine2(String billingAddressLine2) billingAddressLine3(String billingAddressLine3) billingAddressStateCode(String billingAddressStateCode) billingAddressValidationStatus(ValidationStatus billingAddressValidationStatus) billingAddressZip(String billingAddressZip) billingAlignmentMode(BillingAlignmentMode billingAlignmentMode) billingCycles(Integer billingCycles) clientProfileId(String clientProfileId) contractTermActionAtTermEnd(ContractTerm.ActionAtTermEnd contractTermActionAtTermEnd) contractTermCancellationCutoffPeriod(Integer contractTermCancellationCutoffPeriod) customerCustomerType(CustomerType customerCustomerType) customerEntityCode(EntityCode customerEntityCode) customerExemptionDetails(org.json.JSONArray customerExemptionDetails) customerExemptNumber(String customerExemptNumber) customerRegisteredForGst(Boolean customerRegisteredForGst) customerTaxability(Taxability customerTaxability) customerVatNumber(String customerVatNumber) customerVatNumberPrefix(String customerVatNumberPrefix) 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) invoiceDate(Timestamp invoiceDate) invoiceImmediately(Boolean invoiceImmediately) mandatoryAddonsToRemove(String... mandatoryAddonsToRemove) mandatoryAddonsToRemove(List<String> mandatoryAddonsToRemove) params()shippingAddressCity(String shippingAddressCity) shippingAddressCountry(String shippingAddressCountry) shippingAddressLine1(String shippingAddressLine1) shippingAddressLine2(String shippingAddressLine2) shippingAddressLine3(String shippingAddressLine3) shippingAddressStateCode(String shippingAddressStateCode) shippingAddressValidationStatus(ValidationStatus shippingAddressValidationStatus) shippingAddressZip(String shippingAddressZip) subscriptionContractTermBillingCycleOnRenewal(Integer subscriptionContractTermBillingCycleOnRenewal) subscriptionCoupon(String subscriptionCoupon) Deprecated.subscriptionFreePeriod(Integer subscriptionFreePeriod) subscriptionFreePeriodUnit(FreePeriodUnit subscriptionFreePeriodUnit) subscriptionId(String subscriptionId) subscriptionOfflinePaymentMethod(OfflinePaymentMethod subscriptionOfflinePaymentMethod) subscriptionPlanId(String subscriptionPlanId) subscriptionPlanQuantity(Integer subscriptionPlanQuantity) subscriptionPlanQuantityInDecimal(String subscriptionPlanQuantityInDecimal) subscriptionPlanUnitPrice(Long subscriptionPlanUnitPrice) subscriptionPlanUnitPriceInDecimal(String subscriptionPlanUnitPriceInDecimal) subscriptionSetupFee(Long subscriptionSetupFee) subscriptionStartDate(Timestamp subscriptionStartDate) subscriptionTrialEnd(Timestamp subscriptionTrialEnd) subscriptionTrialEndAction(TrialEndAction subscriptionTrialEndAction) taxProvidersFieldFieldId(int index, String taxProvidersFieldFieldId) taxProvidersFieldFieldValue(int index, String taxProvidersFieldFieldValue) taxProvidersFieldProviderName(int index, String taxProvidersFieldProviderName) termsToCharge(Integer termsToCharge) 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
-
billingCycles
-
mandatoryAddonsToRemove
public Estimate.CreateSubscriptionRequest mandatoryAddonsToRemove(List<String> mandatoryAddonsToRemove) -
mandatoryAddonsToRemove
public Estimate.CreateSubscriptionRequest mandatoryAddonsToRemove(String... mandatoryAddonsToRemove) -
termsToCharge
-
billingAlignmentMode
public Estimate.CreateSubscriptionRequest billingAlignmentMode(BillingAlignmentMode billingAlignmentMode) -
couponIds
-
couponIds
-
invoiceImmediately
-
invoiceDate
-
clientProfileId
-
subscriptionId
-
subscriptionPlanId
-
subscriptionPlanQuantity
public Estimate.CreateSubscriptionRequest subscriptionPlanQuantity(Integer subscriptionPlanQuantity) -
subscriptionPlanQuantityInDecimal
public Estimate.CreateSubscriptionRequest subscriptionPlanQuantityInDecimal(String subscriptionPlanQuantityInDecimal) -
subscriptionPlanUnitPrice
-
subscriptionPlanUnitPriceInDecimal
public Estimate.CreateSubscriptionRequest subscriptionPlanUnitPriceInDecimal(String subscriptionPlanUnitPriceInDecimal) -
subscriptionSetupFee
-
subscriptionTrialEnd
-
subscriptionStartDate
-
subscriptionCoupon
Deprecated. -
subscriptionOfflinePaymentMethod
public Estimate.CreateSubscriptionRequest subscriptionOfflinePaymentMethod(OfflinePaymentMethod subscriptionOfflinePaymentMethod) -
billingAddressLine1
-
billingAddressLine2
-
billingAddressLine3
-
billingAddressCity
-
billingAddressStateCode
-
billingAddressZip
-
billingAddressCountry
-
billingAddressValidationStatus
public Estimate.CreateSubscriptionRequest billingAddressValidationStatus(ValidationStatus billingAddressValidationStatus) -
shippingAddressLine1
-
shippingAddressLine2
-
shippingAddressLine3
-
shippingAddressCity
-
shippingAddressStateCode
-
shippingAddressZip
-
shippingAddressCountry
-
shippingAddressValidationStatus
public Estimate.CreateSubscriptionRequest shippingAddressValidationStatus(ValidationStatus shippingAddressValidationStatus) -
customerVatNumber
-
customerVatNumberPrefix
-
customerRegisteredForGst
public Estimate.CreateSubscriptionRequest customerRegisteredForGst(Boolean customerRegisteredForGst) -
customerTaxability
-
customerEntityCode
-
customerExemptNumber
-
subscriptionFreePeriod
-
subscriptionFreePeriodUnit
public Estimate.CreateSubscriptionRequest subscriptionFreePeriodUnit(FreePeriodUnit subscriptionFreePeriodUnit) -
contractTermActionAtTermEnd
public Estimate.CreateSubscriptionRequest contractTermActionAtTermEnd(ContractTerm.ActionAtTermEnd contractTermActionAtTermEnd) -
contractTermCancellationCutoffPeriod
public Estimate.CreateSubscriptionRequest contractTermCancellationCutoffPeriod(Integer contractTermCancellationCutoffPeriod) -
subscriptionContractTermBillingCycleOnRenewal
public Estimate.CreateSubscriptionRequest subscriptionContractTermBillingCycleOnRenewal(Integer subscriptionContractTermBillingCycleOnRenewal) -
subscriptionTrialEndAction
public Estimate.CreateSubscriptionRequest subscriptionTrialEndAction(TrialEndAction subscriptionTrialEndAction) -
customerExemptionDetails
public Estimate.CreateSubscriptionRequest customerExemptionDetails(org.json.JSONArray customerExemptionDetails) -
customerCustomerType
-
addonId
-
addonQuantity
-
addonQuantityInDecimal
public Estimate.CreateSubscriptionRequest addonQuantityInDecimal(int index, String addonQuantityInDecimal) -
addonUnitPrice
-
addonUnitPriceInDecimal
public Estimate.CreateSubscriptionRequest addonUnitPriceInDecimal(int index, String addonUnitPriceInDecimal) -
addonBillingCycles
-
eventBasedAddonId
-
eventBasedAddonQuantity
public Estimate.CreateSubscriptionRequest eventBasedAddonQuantity(int index, Integer eventBasedAddonQuantity) -
eventBasedAddonUnitPrice
public Estimate.CreateSubscriptionRequest eventBasedAddonUnitPrice(int index, Long eventBasedAddonUnitPrice) -
eventBasedAddonQuantityInDecimal
public Estimate.CreateSubscriptionRequest eventBasedAddonQuantityInDecimal(int index, String eventBasedAddonQuantityInDecimal) -
eventBasedAddonUnitPriceInDecimal
public Estimate.CreateSubscriptionRequest eventBasedAddonUnitPriceInDecimal(int index, String eventBasedAddonUnitPriceInDecimal) -
eventBasedAddonServicePeriodInDays
public Estimate.CreateSubscriptionRequest eventBasedAddonServicePeriodInDays(int index, Integer eventBasedAddonServicePeriodInDays) -
eventBasedAddonOnEvent
public Estimate.CreateSubscriptionRequest eventBasedAddonOnEvent(int index, OnEvent eventBasedAddonOnEvent) -
eventBasedAddonChargeOnce
public Estimate.CreateSubscriptionRequest eventBasedAddonChargeOnce(int index, Boolean eventBasedAddonChargeOnce) -
eventBasedAddonChargeOn
public Estimate.CreateSubscriptionRequest eventBasedAddonChargeOn(int index, ChargeOn eventBasedAddonChargeOn) -
addonTrialEnd
-
taxProvidersFieldProviderName
public Estimate.CreateSubscriptionRequest taxProvidersFieldProviderName(int index, String taxProvidersFieldProviderName) -
taxProvidersFieldFieldId
public Estimate.CreateSubscriptionRequest taxProvidersFieldFieldId(int index, String taxProvidersFieldFieldId) -
taxProvidersFieldFieldValue
public Estimate.CreateSubscriptionRequest taxProvidersFieldFieldValue(int index, String taxProvidersFieldFieldValue) -
params
- Overrides:
paramsin classRequest<Estimate.CreateSubscriptionRequest>
-