Files
sdk/docs/AffiliateOrgEarningView.md

2.9 KiB

AffiliateOrgEarningView

Properties

Name Type Description Notes
CommissionCents Pointer to int64 CommissionCents is what the caller earned from that org across ALL periods, in cents. Deliberately the caller's own share and nothing else: that org's spend and the margin on it are not restated here. [optional]
ReferredOrg Pointer to string ReferredOrg is the org slug this contribution came from — one the caller referred, directly or up to three levels down. [optional]

Methods

NewAffiliateOrgEarningView

func NewAffiliateOrgEarningView() *AffiliateOrgEarningView

NewAffiliateOrgEarningView instantiates a new AffiliateOrgEarningView 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

NewAffiliateOrgEarningViewWithDefaults

func NewAffiliateOrgEarningViewWithDefaults() *AffiliateOrgEarningView

NewAffiliateOrgEarningViewWithDefaults instantiates a new AffiliateOrgEarningView 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

GetCommissionCents

func (o *AffiliateOrgEarningView) GetCommissionCents() int64

GetCommissionCents returns the CommissionCents field if non-nil, zero value otherwise.

GetCommissionCentsOk

func (o *AffiliateOrgEarningView) GetCommissionCentsOk() (*int64, bool)

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

SetCommissionCents

func (o *AffiliateOrgEarningView) SetCommissionCents(v int64)

SetCommissionCents sets CommissionCents field to given value.

HasCommissionCents

func (o *AffiliateOrgEarningView) HasCommissionCents() bool

HasCommissionCents returns a boolean if a field has been set.

GetReferredOrg

func (o *AffiliateOrgEarningView) GetReferredOrg() string

GetReferredOrg returns the ReferredOrg field if non-nil, zero value otherwise.

GetReferredOrgOk

func (o *AffiliateOrgEarningView) GetReferredOrgOk() (*string, bool)

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

SetReferredOrg

func (o *AffiliateOrgEarningView) SetReferredOrg(v string)

SetReferredOrg sets ReferredOrg field to given value.

HasReferredOrg

func (o *AffiliateOrgEarningView) HasReferredOrg() bool

HasReferredOrg returns a boolean if a field has been set.

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