Class: Stripe::PaymentIntentUpdateParams::AmountDetails::LineItem::PaymentMethodOptions::Klarna

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/payment_intent_update_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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_urlObject

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_urlObject

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

#referenceObject

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_referenceObject

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