github.com/stripe/stripe-go/v76@v76.25.0/testhelpersissuing_personalizationdesign.go (about) 1 // 2 // 3 // File generated from our OpenAPI spec 4 // 5 // 6 7 package stripe 8 9 // Updates the status of the specified testmode personalization design object to active. 10 type TestHelpersIssuingPersonalizationDesignActivateParams 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 *TestHelpersIssuingPersonalizationDesignActivateParams) AddExpand(f string) { 18 p.Expand = append(p.Expand, &f) 19 } 20 21 // Updates the status of the specified testmode personalization design object to inactive. 22 type TestHelpersIssuingPersonalizationDesignDeactivateParams 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 *TestHelpersIssuingPersonalizationDesignDeactivateParams) AddExpand(f string) { 30 p.Expand = append(p.Expand, &f) 31 } 32 33 // The reason(s) the personalization design was rejected. 34 type TestHelpersIssuingPersonalizationDesignRejectRejectionReasonsParams struct { 35 // The reason(s) the card logo was rejected. 36 CardLogo []*string `form:"card_logo"` 37 // The reason(s) the carrier text was rejected. 38 CarrierText []*string `form:"carrier_text"` 39 } 40 41 // Updates the status of the specified testmode personalization design object to rejected. 42 type TestHelpersIssuingPersonalizationDesignRejectParams struct { 43 Params `form:"*"` 44 // Specifies which fields in the response should be expanded. 45 Expand []*string `form:"expand"` 46 // The reason(s) the personalization design was rejected. 47 RejectionReasons *TestHelpersIssuingPersonalizationDesignRejectRejectionReasonsParams `form:"rejection_reasons"` 48 } 49 50 // AddExpand appends a new field to expand. 51 func (p *TestHelpersIssuingPersonalizationDesignRejectParams) AddExpand(f string) { 52 p.Expand = append(p.Expand, &f) 53 }