Class: Stripe::TestHelpers::Treasury::OutboundPaymentService::ReturnOutboundPaymentParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb

Defined Under Namespace

Classes: ReturnedDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, returned_details: nil) ⇒ ReturnOutboundPaymentParams

Returns a new instance of ReturnOutboundPaymentParams.



95
96
97
98
# File 'lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb', line 95

def initialize(expand: nil, returned_details: nil)
  @expand = expand
  @returned_details = returned_details
end

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



90
91
92
# File 'lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb', line 90

def expand
  @expand
end

#returned_detailsObject

Optional hash to set the return code.



93
94
95
# File 'lib/stripe/services/test_helpers/treasury/outbound_payment_service.rb', line 93

def returned_details
  @returned_details
end