Class: Stripe::V2::PaymentService

Inherits:
StripeService show all
Defined in:
lib/stripe/services/v2/payment_service.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from StripeService

#request, #request_stream

Constructor Details

#initialize(requestor) ⇒ PaymentService

Returns a new instance of PaymentService.



9
10
11
12
# File 'lib/stripe/services/v2/payment_service.rb', line 9

def initialize(requestor)
  super
  @off_session_payments = Stripe::V2::Payments::OffSessionPaymentService.new(@requestor)
end

Instance Attribute Details

#off_session_paymentsObject (readonly)

Returns the value of attribute off_session_payments.



7
8
9
# File 'lib/stripe/services/v2/payment_service.rb', line 7

def off_session_payments
  @off_session_payments
end