Class: Stripe::PaymentIntent::IncrementAuthorizationParams::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.



14447
14448
14449
14450
14451
# File 'lib/stripe/resources/payment_intent.rb', line 14447

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.



14441
14442
14443
# File 'lib/stripe/resources/payment_intent.rb', line 14441

def category
  @category
end

#descriptionObject

Description of the line item.



14443
14444
14445
# File 'lib/stripe/resources/payment_intent.rb', line 14443

def description
  @description
end

#sold_byObject

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



14445
14446
14447
# File 'lib/stripe/resources/payment_intent.rb', line 14445

def sold_by
  @sold_by
end