Stripe::SubscriptionDataParams
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
Constants
Constructors
Initializes the object @param [Hash] attributes Model attributes in the form of hash
Instance methods
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
A non-negative decimal between 0 and 100, with at most two decimal places. This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account. To use an application fee percent, the request must be made on behalf of another account, using the Stripe-Account header or an OAuth key. For more information, see the application fees documentation.
Custom attribute writer method checking allowed values (enum). @param [Object] application_fee_percent Object to be assigned
A future timestamp to anchor the subscription's billing cycle for new subscriptions.
Custom attribute writer method checking allowed values (enum). @param [Object] billing_cycle_anchor Object to be assigned
The tax rates that will apply to any subscription item that does not have tax_rates set. Invoices created will have their default_tax_rates populated from the subscription.
Custom attribute writer method checking allowed values (enum). @param [Object] default_tax_rates Object to be assigned
The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs.
Custom attribute writer method checking allowed values (enum). @param [Object] description Object to be assigned
Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code
Custom attribute writer method checking allowed values (enum). @param [Object] invoice_settings Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned
The account on behalf of which to charge, for each of the subscription's invoices.
Custom attribute writer method checking allowed values (enum). @param [Object] on_behalf_of Object to be assigned
Determines how to handle prorations resulting from the billing_cycle_anchor. If no value is passed, the default is create_prorations.
Custom attribute writer method checking allowed values (enum). @param [Object] proration_behavior Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] transfer_data Object to be assigned
Unix timestamp representing the end of the trial period the customer will get before being charged for the first time. Has to be at least 48 hours in the future.
Custom attribute writer method checking allowed values (enum). @param [Object] trial_end Object to be assigned
Integer representing the number of trial period days before the customer is charged for the first time. Has to be at least 1.
Custom attribute writer method checking allowed values (enum). @param [Object] trial_period_days Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] trial_settings Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid