Class: Stripe::PaymentIntent::UpdateParams::AmountDetails::LineItem::PaymentMethodOptions::Paypal

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/resources/payment_intent.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(category: nil, description: nil, sold_by: nil) ⇒ Paypal

Returns a new instance of Paypal.



5865
5866
5867
5868
5869
# File 'lib/stripe/resources/payment_intent.rb', line 5865

def initialize(category: nil, description: nil, sold_by: nil)
  @category = category
  @description = description
  @sold_by = sold_by
end

Instance Attribute Details

#categoryObject

Type of the line item.



5859
5860
5861
# File 'lib/stripe/resources/payment_intent.rb', line 5859

def category
  @category
end

#descriptionObject

Description of the line item.



5861
5862
5863
# File 'lib/stripe/resources/payment_intent.rb', line 5861

def description
  @description
end

#sold_byObject

The Stripe account ID of the connected account that sells the item.



5863
5864
5865
# File 'lib/stripe/resources/payment_intent.rb', line 5863

def sold_by
  @sold_by
end