github.com/Ingenico-ePayments/connect-sdk-go@v0.0.0-20240318153750-1f8cd329b9c9/domain/product/PaymentProductFieldDataRestrictions.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  // PaymentProductFieldDataRestrictions represents class PaymentProductFieldDataRestrictions
     7  type PaymentProductFieldDataRestrictions struct {
     8  	IsRequired *bool                          `json:"isRequired,omitempty"`
     9  	Validators *PaymentProductFieldValidators `json:"validators,omitempty"`
    10  }
    11  
    12  // NewPaymentProductFieldDataRestrictions constructs a new PaymentProductFieldDataRestrictions
    13  func NewPaymentProductFieldDataRestrictions() *PaymentProductFieldDataRestrictions {
    14  	return &PaymentProductFieldDataRestrictions{}
    15  }