invoice_owner_account_id |
string |
Identifier of the account that owns the invoice associated with this subscription. If you specify this field, do not specify `invoice_owner_account_data`. |
[optional] |
invoice_owner_account_number |
string |
Identifier of the account that owns the invoice associated with this subscription. If you specify this field, do not specify `invoice_owner_account_data`. |
[optional] |
invoice_owner_account_data |
AccountCreateRequest |
The information of the new account that owns the invoice associated with this subscription. If you specify this field, do not specify `invoice_owner_account_id`. |
[optional] |
account_id |
string |
Identifier of the account that owns the subscription. Subscription owner account can be different from the invoice owner account. If you specify this field, do not specify `account_data`. |
[optional] |
account_number |
string |
Identifier of the account that owns the subscription. Subscription owner account can be different from the invoice owner account. If you specify this field, do not specify `account_data`. |
[optional] |
account_data |
SubscriptionPreviewAccountRequest |
|
[optional] |
auto_renew |
bool |
If true, the subscription automatically renews at the end of the current term. |
[optional] |
subscription_number |
string |
Human-readable identifier of the subscription; maybe user-supplied. |
[optional] |
initial_term |
Term |
Initial term information for the subscription. |
[optional] |
renewal_term |
Term |
Renewal term information for the subscription |
[optional] |
start_on |
StartOn |
|
[optional] |
description |
string |
Description of the subscription. Often useful for displaying to users. |
[optional] |
invoice_separately |
bool |
Separates a single subscription from other subscriptions and creates an invoice for this subscription. If the value is `true`, the subscription is billed separately from other subscriptions. If the value is `false`, the subscription is included with other subscriptions in the account invoice. |
[optional] |
processing_options |
ProcessingOptions |
|
[optional] |
custom_fields |
Dictionary<string, Object> |
Set of user-defined fields associated with this object. Useful for storing additional information about the object in a structured format. |
[optional] |
subscription_plans |
List<SubscriptionPlanCreateRequest> |
The plans associated with the new subscription. |
[optional] |
bill_to_id |
string |
ID of the bill-to contact. |
[optional] |
payment_terms |
string |
The name of payment term associated with the invoice. |
[optional] |
bill_to |
Contact |
The billing address for the customer. |
[optional] [readonly] |
billing_document_settings |
FlexibleBillingDocumentSettings |
The billing document settings for the customer. |
[optional] |
sold_to_id |
string |
ID of the sold-to contact. |
[optional] |
sold_to |
Contact |
The selling address for the customer. |
[optional] [readonly] |
number_of_periods |
int |
Specifies how many billing periods you want to preview. |
[optional] |
term_end |
bool |
Indicates whether to preview the subscription till the end of the current term. |
[optional] |
metrics |
List<string> |
Specifies the metrics you want to preview. You can preivew metrics of billing documents, the order delta metrics, or both. |
[optional] |
end_date |
DateTime |
End date of the period for which you want to preview the subscription |
[optional] |