github.com/stripe/stripe-go/v76@v76.25.0/testhelpers_refund.go (about)

     1  //
     2  //
     3  // File generated from our OpenAPI spec
     4  //
     5  //
     6  
     7  package stripe
     8  
     9  // Expire a refund with a status of requires_action.
    10  type TestHelpersRefundExpireParams 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 *TestHelpersRefundExpireParams) AddExpand(f string) {
    18  	p.Expand = append(p.Expand, &f)
    19  }