Skip to content

Latest commit

 

History

History
313 lines (166 loc) · 10.5 KB

File metadata and controls

313 lines (166 loc) · 10.5 KB

AddedDeductedPointsNotification

Properties

Name Type Description Notes
ProfileIntegrationID Pointer to string The integration ID of the customer profile to whom points were added or deducted.
LoyaltyProgramID Pointer to int64 The ID of the loyalty program.
SubledgerID Pointer to string The ID of the subledger within the loyalty program where these points were added.
Amount Pointer to float32 The amount of added or deducted loyalty points.
Reason Pointer to string The reason for the points addition or deduction.
TypeOfChange Pointer to string The notification source, that is, it indicates whether the points were added or deducted via one of the following routes: - The Campaign Manager - Management API - Rule Engine
EmployeeName Pointer to string The name of the employee who added or deducted points.
UserID Pointer to int64 The ID of the employee who added or deducted points.
Operation Pointer to string The action (addition or deduction) made with loyalty points.
StartDate Pointer to time.Time The start date for loyalty points. [optional]
ExpiryDate Pointer to time.Time The expiration date for loyalty points. [optional]
SessionIntegrationID Pointer to string The integration ID of the session through which the points were earned or lost.
NotificationType Pointer to string The type of notification.

Methods

NewAddedDeductedPointsNotification

func NewAddedDeductedPointsNotification(profileIntegrationID string, loyaltyProgramID int64, subledgerID string, amount float32, reason string, typeOfChange string, employeeName string, userID int64, operation string, sessionIntegrationID string, notificationType string, ) *AddedDeductedPointsNotification

NewAddedDeductedPointsNotification instantiates a new AddedDeductedPointsNotification 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

NewAddedDeductedPointsNotificationWithDefaults

func NewAddedDeductedPointsNotificationWithDefaults() *AddedDeductedPointsNotification

NewAddedDeductedPointsNotificationWithDefaults instantiates a new AddedDeductedPointsNotification 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

GetProfileIntegrationID

func (o *AddedDeductedPointsNotification) GetProfileIntegrationID() string

GetProfileIntegrationID returns the ProfileIntegrationID field if non-nil, zero value otherwise.

GetProfileIntegrationIDOk

func (o *AddedDeductedPointsNotification) GetProfileIntegrationIDOk() (*string, bool)

GetProfileIntegrationIDOk returns a tuple with the ProfileIntegrationID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetProfileIntegrationID

func (o *AddedDeductedPointsNotification) SetProfileIntegrationID(v string)

SetProfileIntegrationID sets ProfileIntegrationID field to given value.

GetLoyaltyProgramID

func (o *AddedDeductedPointsNotification) GetLoyaltyProgramID() int64

GetLoyaltyProgramID returns the LoyaltyProgramID field if non-nil, zero value otherwise.

GetLoyaltyProgramIDOk

func (o *AddedDeductedPointsNotification) GetLoyaltyProgramIDOk() (*int64, bool)

GetLoyaltyProgramIDOk returns a tuple with the LoyaltyProgramID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetLoyaltyProgramID

func (o *AddedDeductedPointsNotification) SetLoyaltyProgramID(v int64)

SetLoyaltyProgramID sets LoyaltyProgramID field to given value.

GetSubledgerID

func (o *AddedDeductedPointsNotification) GetSubledgerID() string

GetSubledgerID returns the SubledgerID field if non-nil, zero value otherwise.

GetSubledgerIDOk

func (o *AddedDeductedPointsNotification) 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.

SetSubledgerID

func (o *AddedDeductedPointsNotification) SetSubledgerID(v string)

SetSubledgerID sets SubledgerID field to given value.

GetAmount

func (o *AddedDeductedPointsNotification) GetAmount() float32

GetAmount returns the Amount field if non-nil, zero value otherwise.

GetAmountOk

func (o *AddedDeductedPointsNotification) GetAmountOk() (*float32, bool)

GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAmount

func (o *AddedDeductedPointsNotification) SetAmount(v float32)

SetAmount sets Amount field to given value.

GetReason

func (o *AddedDeductedPointsNotification) GetReason() string

GetReason returns the Reason field if non-nil, zero value otherwise.

GetReasonOk

func (o *AddedDeductedPointsNotification) GetReasonOk() (*string, bool)

GetReasonOk returns a tuple with the Reason field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetReason

func (o *AddedDeductedPointsNotification) SetReason(v string)

SetReason sets Reason field to given value.

GetTypeOfChange

func (o *AddedDeductedPointsNotification) GetTypeOfChange() string

GetTypeOfChange returns the TypeOfChange field if non-nil, zero value otherwise.

GetTypeOfChangeOk

func (o *AddedDeductedPointsNotification) GetTypeOfChangeOk() (*string, bool)

GetTypeOfChangeOk returns a tuple with the TypeOfChange field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTypeOfChange

func (o *AddedDeductedPointsNotification) SetTypeOfChange(v string)

SetTypeOfChange sets TypeOfChange field to given value.

GetEmployeeName

func (o *AddedDeductedPointsNotification) GetEmployeeName() string

GetEmployeeName returns the EmployeeName field if non-nil, zero value otherwise.

GetEmployeeNameOk

func (o *AddedDeductedPointsNotification) GetEmployeeNameOk() (*string, bool)

GetEmployeeNameOk returns a tuple with the EmployeeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEmployeeName

func (o *AddedDeductedPointsNotification) SetEmployeeName(v string)

SetEmployeeName sets EmployeeName field to given value.

GetUserID

func (o *AddedDeductedPointsNotification) GetUserID() int64

GetUserID returns the UserID field if non-nil, zero value otherwise.

GetUserIDOk

func (o *AddedDeductedPointsNotification) GetUserIDOk() (*int64, bool)

GetUserIDOk returns a tuple with the UserID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUserID

func (o *AddedDeductedPointsNotification) SetUserID(v int64)

SetUserID sets UserID field to given value.

GetOperation

func (o *AddedDeductedPointsNotification) GetOperation() string

GetOperation returns the Operation field if non-nil, zero value otherwise.

GetOperationOk

func (o *AddedDeductedPointsNotification) GetOperationOk() (*string, bool)

GetOperationOk returns a tuple with the Operation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOperation

func (o *AddedDeductedPointsNotification) SetOperation(v string)

SetOperation sets Operation field to given value.

GetStartDate

func (o *AddedDeductedPointsNotification) GetStartDate() time.Time

GetStartDate returns the StartDate field if non-nil, zero value otherwise.

GetStartDateOk

func (o *AddedDeductedPointsNotification) GetStartDateOk() (*time.Time, bool)

GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetStartDate

func (o *AddedDeductedPointsNotification) SetStartDate(v time.Time)

SetStartDate sets StartDate field to given value.

HasStartDate

func (o *AddedDeductedPointsNotification) HasStartDate() bool

HasStartDate returns a boolean if a field has been set.

GetExpiryDate

func (o *AddedDeductedPointsNotification) GetExpiryDate() time.Time

GetExpiryDate returns the ExpiryDate field if non-nil, zero value otherwise.

GetExpiryDateOk

func (o *AddedDeductedPointsNotification) GetExpiryDateOk() (*time.Time, bool)

GetExpiryDateOk returns a tuple with the ExpiryDate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetExpiryDate

func (o *AddedDeductedPointsNotification) SetExpiryDate(v time.Time)

SetExpiryDate sets ExpiryDate field to given value.

HasExpiryDate

func (o *AddedDeductedPointsNotification) HasExpiryDate() bool

HasExpiryDate returns a boolean if a field has been set.

GetSessionIntegrationID

func (o *AddedDeductedPointsNotification) GetSessionIntegrationID() string

GetSessionIntegrationID returns the SessionIntegrationID field if non-nil, zero value otherwise.

GetSessionIntegrationIDOk

func (o *AddedDeductedPointsNotification) GetSessionIntegrationIDOk() (*string, bool)

GetSessionIntegrationIDOk returns a tuple with the SessionIntegrationID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetSessionIntegrationID

func (o *AddedDeductedPointsNotification) SetSessionIntegrationID(v string)

SetSessionIntegrationID sets SessionIntegrationID field to given value.

GetNotificationType

func (o *AddedDeductedPointsNotification) GetNotificationType() string

GetNotificationType returns the NotificationType field if non-nil, zero value otherwise.

GetNotificationTypeOk

func (o *AddedDeductedPointsNotification) GetNotificationTypeOk() (*string, bool)

GetNotificationTypeOk returns a tuple with the NotificationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNotificationType

func (o *AddedDeductedPointsNotification) SetNotificationType(v string)

SetNotificationType sets NotificationType field to given value.

[Back to Model list] [Back to API list] [Back to README]