Over The Counter Channel Properties
| Name | Type | Required | Description | Examples |
|---|---|---|---|---|
| PaymentCode | Pointer to string | The payment code that you want to assign, e.g 12345. If you do not send one, one will be picked at random. | ||
| CustomerName | string | ☑️ | Name of customer. | |
| ExpiresAt | Pointer to time.Time | The time when the payment code will be expired. The minimum is 2 hours and the maximum is 9 days for 7ELEVEN. Default expired date will be 2 days from payment code generated. |
func NewOverTheCounterChannelProperties(customerName string, ) *OverTheCounterChannelProperties
NewOverTheCounterChannelProperties instantiates a new OverTheCounterChannelProperties object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewOverTheCounterChannelPropertiesWithDefaults() *OverTheCounterChannelProperties
NewOverTheCounterChannelPropertiesWithDefaults instantiates a new OverTheCounterChannelProperties object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *OverTheCounterChannelProperties) GetPaymentCode() string
GetPaymentCode returns the PaymentCode field if non-nil, zero value otherwise.
func (o *OverTheCounterChannelProperties) GetPaymentCodeOk() (*string, bool)
GetPaymentCodeOk returns a tuple with the PaymentCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OverTheCounterChannelProperties) SetPaymentCode(v string)
SetPaymentCode sets PaymentCode field to given value.
func (o *OverTheCounterChannelProperties) HasPaymentCode() bool
HasPaymentCode returns a boolean if a field has been set.
func (o *OverTheCounterChannelProperties) GetCustomerName() string
GetCustomerName returns the CustomerName field if non-nil, zero value otherwise.
func (o *OverTheCounterChannelProperties) GetCustomerNameOk() (*string, bool)
GetCustomerNameOk returns a tuple with the CustomerName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OverTheCounterChannelProperties) SetCustomerName(v string)
SetCustomerName sets CustomerName field to given value.
func (o *OverTheCounterChannelProperties) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *OverTheCounterChannelProperties) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OverTheCounterChannelProperties) SetExpiresAt(v time.Time)
SetExpiresAt sets ExpiresAt field to given value.
func (o *OverTheCounterChannelProperties) HasExpiresAt() bool
HasExpiresAt returns a boolean if a field has been set.