github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/product/RangeValidator.go (about)

     1  // This class was auto-generated from the API references found at
     2  // https://epayments-api.developer-ingenico.com/
     3  
     4  package product
     5  
     6  // RangeValidator represents class RangeValidator
     7  type RangeValidator struct {
     8  	MaxValue *int32 `json:"maxValue,omitempty"`
     9  	MinValue *int32 `json:"minValue,omitempty"`
    10  }
    11  
    12  // NewRangeValidator constructs a new RangeValidator
    13  func NewRangeValidator() *RangeValidator {
    14  	return &RangeValidator{}
    15  }