github.com/stripe/stripe-go/v76@v76.25.0/testhelpersissuing_card.go (about) 1 // 2 // 3 // File generated from our OpenAPI spec 4 // 5 // 6 7 package stripe 8 9 // Updates the shipping status of the specified Issuing Card object to delivered. 10 type TestHelpersIssuingCardDeliverCardParams struct { 11 Params `form:"*"` 12 // Specifies which fields in the response should be expanded. 13 Expand []*string `form:"expand"` 14 } 15 16 // AddExpand appends a new field to expand. 17 func (p *TestHelpersIssuingCardDeliverCardParams) AddExpand(f string) { 18 p.Expand = append(p.Expand, &f) 19 } 20 21 // Updates the shipping status of the specified Issuing Card object to failure. 22 type TestHelpersIssuingCardFailCardParams struct { 23 Params `form:"*"` 24 // Specifies which fields in the response should be expanded. 25 Expand []*string `form:"expand"` 26 } 27 28 // AddExpand appends a new field to expand. 29 func (p *TestHelpersIssuingCardFailCardParams) AddExpand(f string) { 30 p.Expand = append(p.Expand, &f) 31 } 32 33 // Updates the shipping status of the specified Issuing Card object to returned. 34 type TestHelpersIssuingCardReturnCardParams struct { 35 Params `form:"*"` 36 // Specifies which fields in the response should be expanded. 37 Expand []*string `form:"expand"` 38 } 39 40 // AddExpand appends a new field to expand. 41 func (p *TestHelpersIssuingCardReturnCardParams) AddExpand(f string) { 42 p.Expand = append(p.Expand, &f) 43 } 44 45 // Updates the shipping status of the specified Issuing Card object to shipped. 46 type TestHelpersIssuingCardShipCardParams struct { 47 Params `form:"*"` 48 // Specifies which fields in the response should be expanded. 49 Expand []*string `form:"expand"` 50 } 51 52 // AddExpand appends a new field to expand. 53 func (p *TestHelpersIssuingCardShipCardParams) AddExpand(f string) { 54 p.Expand = append(p.Expand, &f) 55 }