| Name | Type | Description | Notes |
|---|---|---|---|
| Points | Pointer to float32 | Amount of loyalty points. | |
| Name | Pointer to string | Name / reason for the point addition. | [optional] |
| ValidityDuration | Pointer to string | The time format is either: - `unlimited` or, - an integer followed by one letter indicating the time unit. Examples: `unlimited`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. If passed, `validUntil` should be omitted. | [optional] |
| ValidUntil | Pointer to time.Time | Date and time when points should expire. The value should be provided in RFC 3339 format. If passed, `validityDuration` should be omitted. | [optional] |
| PendingDuration | Pointer to string | The amount of time before the points are considered valid. The time format is either: - `immediate` or, - `on_action` or, - an integer followed by one letter indicating the time unit. Examples: `immediate`, `30s`, `40m`, `1h`, `5D`, `7W`, `10M`, `15Y`, `on_action`. Available units: - `s`: seconds - `m`: minutes - `h`: hours - `D`: days - `W`: weeks - `M`: months - `Y`: years You can round certain units up or down: - `_D` for rounding down days only. Signifies the start of the day. - `_U` for rounding up days, weeks, months and years. Signifies the end of the day, week, month or year. | [optional] |
| PendingUntil | Pointer to time.Time | Date and time after the points are considered valid. The value should be provided in RFC 3339 format. If passed, `pendingDuration` should be omitted. | [optional] |
| SubledgerId | Pointer to string | ID of the subledger the points are added to. If there is no existing subledger with this ID, the subledger is created automatically. | [optional] |
| ApplicationId | Pointer to int64 | ID of the Application that is connected to the loyalty program. It is displayed in your Talon.One deployment URL. | [optional] |
func NewAddLoyaltyPoints(points float32, ) *AddLoyaltyPoints
NewAddLoyaltyPoints instantiates a new AddLoyaltyPoints 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 NewAddLoyaltyPointsWithDefaults() *AddLoyaltyPoints
NewAddLoyaltyPointsWithDefaults instantiates a new AddLoyaltyPoints 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 *AddLoyaltyPoints) GetPoints() float32
GetPoints returns the Points field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetPointsOk() (*float32, bool)
GetPointsOk returns a tuple with the Points field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetPoints(v float32)
SetPoints sets Points field to given value.
func (o *AddLoyaltyPoints) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetName(v string)
SetName sets Name field to given value.
func (o *AddLoyaltyPoints) HasName() bool
HasName returns a boolean if a field has been set.
func (o *AddLoyaltyPoints) GetValidityDuration() string
GetValidityDuration returns the ValidityDuration field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetValidityDurationOk() (*string, bool)
GetValidityDurationOk returns a tuple with the ValidityDuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetValidityDuration(v string)
SetValidityDuration sets ValidityDuration field to given value.
func (o *AddLoyaltyPoints) HasValidityDuration() bool
HasValidityDuration returns a boolean if a field has been set.
func (o *AddLoyaltyPoints) GetValidUntil() time.Time
GetValidUntil returns the ValidUntil field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetValidUntilOk() (*time.Time, bool)
GetValidUntilOk returns a tuple with the ValidUntil field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetValidUntil(v time.Time)
SetValidUntil sets ValidUntil field to given value.
func (o *AddLoyaltyPoints) HasValidUntil() bool
HasValidUntil returns a boolean if a field has been set.
func (o *AddLoyaltyPoints) GetPendingDuration() string
GetPendingDuration returns the PendingDuration field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetPendingDurationOk() (*string, bool)
GetPendingDurationOk returns a tuple with the PendingDuration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetPendingDuration(v string)
SetPendingDuration sets PendingDuration field to given value.
func (o *AddLoyaltyPoints) HasPendingDuration() bool
HasPendingDuration returns a boolean if a field has been set.
func (o *AddLoyaltyPoints) GetPendingUntil() time.Time
GetPendingUntil returns the PendingUntil field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetPendingUntilOk() (*time.Time, bool)
GetPendingUntilOk returns a tuple with the PendingUntil field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetPendingUntil(v time.Time)
SetPendingUntil sets PendingUntil field to given value.
func (o *AddLoyaltyPoints) HasPendingUntil() bool
HasPendingUntil returns a boolean if a field has been set.
func (o *AddLoyaltyPoints) GetSubledgerId() string
GetSubledgerId returns the SubledgerId field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetSubledgerIdOk() (*string, bool)
GetSubledgerIdOk returns a tuple with the SubledgerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetSubledgerId(v string)
SetSubledgerId sets SubledgerId field to given value.
func (o *AddLoyaltyPoints) HasSubledgerId() bool
HasSubledgerId returns a boolean if a field has been set.
func (o *AddLoyaltyPoints) GetApplicationId() int64
GetApplicationId returns the ApplicationId field if non-nil, zero value otherwise.
func (o *AddLoyaltyPoints) GetApplicationIdOk() (*int64, bool)
GetApplicationIdOk returns a tuple with the ApplicationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *AddLoyaltyPoints) SetApplicationId(v int64)
SetApplicationId sets ApplicationId field to given value.
func (o *AddLoyaltyPoints) HasApplicationId() bool
HasApplicationId returns a boolean if a field has been set.