Stripe::PaymentLink
Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object
A payment link is a shareable URL that will take your customers to a hosted payment page. A payment link can be shared and used multiple times. When a customer opens a payment link it will open a new checkout session to render the payment page. You can use checkout session events to track payments through payment links. Related guide: Payment Links API
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
Whether the payment link's url is active. If false, customers visiting the URL will be shown a page saying that the link has been deactivated.
Custom attribute writer method checking allowed values (enum). @param [Object] active Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] after_completion Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] allow_promotion_codes Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] application Object to be assigned
The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account.
Custom attribute writer method checking allowed values (enum). @param [Object] application_fee_amount Object to be assigned
This represents the percentage of the subscription invoice total that will be transferred to the application owner's Stripe account.
Custom attribute writer method checking allowed values (enum). @param [Object] application_fee_percent Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] automatic_tax Object to be assigned
Configuration for collecting the customer's billing address. Defaults to auto.
Custom attribute writer method checking allowed values (enum). @param [Object] billing_address_collection Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] consent_collection Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] currency Object to be assigned
Collect additional information from your customer using custom fields. Up to 3 fields are supported.
Custom attribute writer method checking allowed values (enum). @param [Object] custom_fields Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] custom_text Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] customer_creation 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] id Object to be assigned
The custom message to be displayed to a customer when a payment link is no longer active.
Custom attribute writer method checking allowed values (enum). @param [Object] inactive_message Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] invoice_creation Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] line_items Object to be assigned
Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons
Has the value true if the object exists in live mode or the value false if the object exists in test mode.
Custom attribute writer method checking allowed values (enum). @param [Object] livemode Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] metadata Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] object Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] on_behalf_of Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] payment_intent_data Object to be assigned
Configuration for collecting a payment method during checkout. Defaults to always.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_collection Object to be assigned
The list of payment method types that customers can use. When null, Stripe will dynamically show relevant payment methods you've enabled in your payment method settings.
Custom attribute writer method checking allowed values (enum). @param [Object] payment_method_types Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] phone_number_collection Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] restrictions Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_address_collection Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] shipping_options Object to be assigned
Indicates the type of transaction being performed which customizes relevant text on the page, such as the submit button.
Custom attribute writer method checking allowed values (enum). @param [Object] submit_type Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] subscription_data Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] tax_id_collection Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] transfer_data Object to be assigned
Custom attribute writer method checking allowed values (enum). @param [Object] url Object to be assigned
Check to see if the all the properties in the model are valid @return true if the model is valid