-
Notifications
You must be signed in to change notification settings - Fork 448
/
testhelperstreasury_inboundtransfer.go
51 lines (43 loc) · 1.83 KB
/
testhelperstreasury_inboundtransfer.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
//
// File generated from our OpenAPI spec
//
//
package stripe
// Details about a failed InboundTransfer.
type TestHelpersTreasuryInboundTransferFailFailureDetailsParams struct {
// Reason for the failure.
Code *string `form:"code"`
}
// Transitions a test mode created InboundTransfer to the failed status. The InboundTransfer must already be in the processing state.
type TestHelpersTreasuryInboundTransferFailParams struct {
Params `form:"*"`
// Specifies which fields in the response should be expanded.
Expand []*string `form:"expand"`
// Details about a failed InboundTransfer.
FailureDetails *TestHelpersTreasuryInboundTransferFailFailureDetailsParams `form:"failure_details"`
}
// AddExpand appends a new field to expand.
func (p *TestHelpersTreasuryInboundTransferFailParams) AddExpand(f string) {
p.Expand = append(p.Expand, &f)
}
// Marks the test mode InboundTransfer object as returned and links the InboundTransfer to a ReceivedDebit. The InboundTransfer must already be in the succeeded state.
type TestHelpersTreasuryInboundTransferReturnInboundTransferParams struct {
Params `form:"*"`
// Specifies which fields in the response should be expanded.
Expand []*string `form:"expand"`
}
// AddExpand appends a new field to expand.
func (p *TestHelpersTreasuryInboundTransferReturnInboundTransferParams) AddExpand(f string) {
p.Expand = append(p.Expand, &f)
}
// Transitions a test mode created InboundTransfer to the succeeded status. The InboundTransfer must already be in the processing state.
type TestHelpersTreasuryInboundTransferSucceedParams struct {
Params `form:"*"`
// Specifies which fields in the response should be expanded.
Expand []*string `form:"expand"`
}
// AddExpand appends a new field to expand.
func (p *TestHelpersTreasuryInboundTransferSucceedParams) AddExpand(f string) {
p.Expand = append(p.Expand, &f)
}