Skip to content

Latest commit

 

History

History
181 lines (98 loc) · 4.55 KB

MailingAddress.md

File metadata and controls

181 lines (98 loc) · 4.55 KB

MailingAddress

Properties

Name Type Description Notes
Country string
Address1 Pointer to string [optional]
Address2 Pointer to string [optional]
City Pointer to string [optional]
Province Pointer to string [optional]
ZipCode Pointer to string [optional]

Methods

NewMailingAddress

func NewMailingAddress(country string, ) *MailingAddress

NewMailingAddress instantiates a new MailingAddress 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

NewMailingAddressWithDefaults

func NewMailingAddressWithDefaults() *MailingAddress

NewMailingAddressWithDefaults instantiates a new MailingAddress 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

GetCountry

func (o *MailingAddress) GetCountry() string

GetCountry returns the Country field if non-nil, zero value otherwise.

GetCountryOk

func (o *MailingAddress) GetCountryOk() (*string, bool)

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

SetCountry

func (o *MailingAddress) SetCountry(v string)

SetCountry sets Country field to given value.

GetAddress1

func (o *MailingAddress) GetAddress1() string

GetAddress1 returns the Address1 field if non-nil, zero value otherwise.

GetAddress1Ok

func (o *MailingAddress) GetAddress1Ok() (*string, bool)

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

SetAddress1

func (o *MailingAddress) SetAddress1(v string)

SetAddress1 sets Address1 field to given value.

HasAddress1

func (o *MailingAddress) HasAddress1() bool

HasAddress1 returns a boolean if a field has been set.

GetAddress2

func (o *MailingAddress) GetAddress2() string

GetAddress2 returns the Address2 field if non-nil, zero value otherwise.

GetAddress2Ok

func (o *MailingAddress) GetAddress2Ok() (*string, bool)

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

SetAddress2

func (o *MailingAddress) SetAddress2(v string)

SetAddress2 sets Address2 field to given value.

HasAddress2

func (o *MailingAddress) HasAddress2() bool

HasAddress2 returns a boolean if a field has been set.

GetCity

func (o *MailingAddress) GetCity() string

GetCity returns the City field if non-nil, zero value otherwise.

GetCityOk

func (o *MailingAddress) GetCityOk() (*string, bool)

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

SetCity

func (o *MailingAddress) SetCity(v string)

SetCity sets City field to given value.

HasCity

func (o *MailingAddress) HasCity() bool

HasCity returns a boolean if a field has been set.

GetProvince

func (o *MailingAddress) GetProvince() string

GetProvince returns the Province field if non-nil, zero value otherwise.

GetProvinceOk

func (o *MailingAddress) GetProvinceOk() (*string, bool)

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

SetProvince

func (o *MailingAddress) SetProvince(v string)

SetProvince sets Province field to given value.

HasProvince

func (o *MailingAddress) HasProvince() bool

HasProvince returns a boolean if a field has been set.

GetZipCode

func (o *MailingAddress) GetZipCode() string

GetZipCode returns the ZipCode field if non-nil, zero value otherwise.

GetZipCodeOk

func (o *MailingAddress) GetZipCodeOk() (*string, bool)

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

SetZipCode

func (o *MailingAddress) SetZipCode(v string)

SetZipCode sets ZipCode field to given value.

HasZipCode

func (o *MailingAddress) HasZipCode() bool

HasZipCode returns a boolean if a field has been set.

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