Class: Stripe::TestHelpers::Treasury::InboundTransferService::FailParams

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

Defined Under Namespace

Classes: FailureDetails

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

#initialize(expand: nil, failure_details: nil) ⇒ FailParams

Returns a new instance of FailParams.



22
23
24
25
# File 'lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb', line 22

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

Instance Attribute Details

#expandObject

Specifies which fields in the response should be expanded.



18
19
20
# File 'lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb', line 18

def expand
  @expand
end

#failure_detailsObject

Details about a failed InboundTransfer.



20
21
22
# File 'lib/stripe/services/test_helpers/treasury/inbound_transfer_service.rb', line 20

def failure_details
  @failure_details
end