Class: Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::PaymentMethodOptions::Klarna
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::PaymentMethodOptions::Klarna
- Defined in:
- lib/stripe/params/payment_intent_update_params.rb
Instance Attribute Summary collapse
-
#image_url ⇒ Object
URL to an image for the product.
-
#product_url ⇒ Object
URL to the product page.
-
#reference ⇒ Object
Unique reference for this line item to correlate it with your system’s internal records.
-
#subscription_reference ⇒ Object
Reference for the subscription this line item is for.
Instance Method Summary collapse
-
#initialize(image_url: nil, product_url: nil, reference: nil, subscription_reference: nil) ⇒ Klarna
constructor
A new instance of Klarna.
Methods inherited from RequestParams
Constructor Details
#initialize(image_url: nil, product_url: nil, reference: nil, subscription_reference: nil) ⇒ Klarna
Returns a new instance of Klarna.
37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 37 def initialize( image_url: nil, product_url: nil, reference: nil, subscription_reference: nil ) @image_url = image_url @product_url = product_url @reference = reference @subscription_reference = subscription_reference end |
Instance Attribute Details
#image_url ⇒ Object
URL to an image for the product. Max length, 4096 characters.
29 30 31 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 29 def image_url @image_url end |
#product_url ⇒ Object
URL to the product page. Max length, 4096 characters.
31 32 33 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 31 def product_url @product_url end |
#reference ⇒ Object
Unique reference for this line item to correlate it with your system’s internal records. The field is displayed in the Klarna Consumer App if passed.
33 34 35 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 33 def reference @reference end |
#subscription_reference ⇒ Object
Reference for the subscription this line item is for.
35 36 37 |
# File 'lib/stripe/params/payment_intent_update_params.rb', line 35 def subscription_reference @subscription_reference end |