github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/product/LengthValidator.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 // LengthValidator represents class LengthValidator 7 type LengthValidator struct { 8 MaxLength *int32 `json:"maxLength,omitempty"` 9 MinLength *int32 `json:"minLength,omitempty"` 10 } 11 12 // NewLengthValidator constructs a new LengthValidator 13 func NewLengthValidator() *LengthValidator { 14 return &LengthValidator{} 15 }