SubscribeOptions
The SubscribeOptions object contains subscription parameters for the SubscribeRequest structure and is used with subscribe() call. This SOAP API reference describes the fields associated with this complex type.
Fields
Name | Required? | Description | ||||||
---|---|---|---|---|---|---|---|---|
ApplyCreditBalance |
optional |
Determines whether any credit balance on a customer's account is automatically applied to invoices. If no value is specified then this field defaults to false. Type: boolean Version notes: WSDL 54.0+ Allowable values: |
||||||
ElectronicPaymentOptions |
optional |
Represents the electronic payment method that the subscription uses to pay the invoice. Type: complex Version notes: WSDL 70+ Contains the following field:
|
||||||
ExternalPaymentOptions | optional |
Represent the external payment method that the customer uses to pay the invoice on this subscription. The external payment types are cash, check, wire transfer, or other. Type: complex |
||||||
GenerateInvoice |
required |
Specifies whether an invoice is to be generated when the subscription is created. Defaults to true, which generates and posts an invoice. Type: boolean Possible values: |
||||||
ProcessPayments |
required |
Use this when you are using electronic payment types. If GenerateInvoice is true, specifies whether payment should be applied when the subscription is created. If the account's AutoPay flag is true and GenerateInvoice is true and ProcessPayments is true, then the payment is created for the invoice balance and charged. The default value is true. Type: boolean Possible values: true, false |
||||||
SubscribeInvoiceProcessingOptions |
optional |
If GenerateInvoice is Type: complex The three fields must be specified in the alphabetical order shown below:
This example requests an invoice for the new subscription only, with a target date and invoice date of December 31, 2013: <ns1:SubscribeInvoiceProcessingOptions> <ns1:InvoiceDate>2013-12-31 </ns1:InvoiceDate> <ns1:InvoiceProcessingScope>Subscription </ns1:InvoiceProcessingScope> <ns1:InvoiceTargetDate>2013-12-31 </ns1:InvoiceTargetDate> </ns1:SubscribeInvoiceProcessingOptions> |
WSDL 10 and Earlier
This complex type also provides information for SubscribeWithExistingAccountRequest, part of the deprecated subscribeWithExistingAccount() call.