Class: Stripe::TestHelpers::Treasury::InboundTransferFailParams

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.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) ⇒ InboundTransferFailParams



21
22
23
24
# File 'lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb', line 21

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.



17
18
19
# File 'lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb', line 17

def expand
  @expand
end

#failure_detailsObject

Details about a failed InboundTransfer.



19
20
21
# File 'lib/stripe/params/test_helpers/treasury/inbound_transfer_fail_params.rb', line 19

def failure_details
  @failure_details
end