Skip to content

Latest commit

 

History

History
218 lines (117 loc) · 6.1 KB

File metadata and controls

218 lines (117 loc) · 6.1 KB

RetailerProgramDataAddress

Properties

Name Type Description Notes
Address1 string First line of the address
Address2 Pointer to string Second line of the address [optional]
City string The city
CompanyName Pointer to string Name of the company receiving the shipment [optional]
Country string The country (Must be ISO Alpha-2 for estimates)
State Pointer to string The state or province [optional]
Type string Specifies the type of address: ShipFrom MarkFor
ZipCode Pointer to string The zip code or postal code [optional]

Methods

NewRetailerProgramDataAddress

func NewRetailerProgramDataAddress(address1 string, city string, country string, type_ string, ) *RetailerProgramDataAddress

NewRetailerProgramDataAddress instantiates a new RetailerProgramDataAddress 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

NewRetailerProgramDataAddressWithDefaults

func NewRetailerProgramDataAddressWithDefaults() *RetailerProgramDataAddress

NewRetailerProgramDataAddressWithDefaults instantiates a new RetailerProgramDataAddress 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

GetAddress1

func (o *RetailerProgramDataAddress) GetAddress1() string

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

GetAddress1Ok

func (o *RetailerProgramDataAddress) 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 *RetailerProgramDataAddress) SetAddress1(v string)

SetAddress1 sets Address1 field to given value.

GetAddress2

func (o *RetailerProgramDataAddress) GetAddress2() string

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

GetAddress2Ok

func (o *RetailerProgramDataAddress) 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 *RetailerProgramDataAddress) SetAddress2(v string)

SetAddress2 sets Address2 field to given value.

HasAddress2

func (o *RetailerProgramDataAddress) HasAddress2() bool

HasAddress2 returns a boolean if a field has been set.

GetCity

func (o *RetailerProgramDataAddress) GetCity() string

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

GetCityOk

func (o *RetailerProgramDataAddress) 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 *RetailerProgramDataAddress) SetCity(v string)

SetCity sets City field to given value.

GetCompanyName

func (o *RetailerProgramDataAddress) GetCompanyName() string

GetCompanyName returns the CompanyName field if non-nil, zero value otherwise.

GetCompanyNameOk

func (o *RetailerProgramDataAddress) GetCompanyNameOk() (*string, bool)

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

SetCompanyName

func (o *RetailerProgramDataAddress) SetCompanyName(v string)

SetCompanyName sets CompanyName field to given value.

HasCompanyName

func (o *RetailerProgramDataAddress) HasCompanyName() bool

HasCompanyName returns a boolean if a field has been set.

GetCountry

func (o *RetailerProgramDataAddress) GetCountry() string

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

GetCountryOk

func (o *RetailerProgramDataAddress) 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 *RetailerProgramDataAddress) SetCountry(v string)

SetCountry sets Country field to given value.

GetState

func (o *RetailerProgramDataAddress) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *RetailerProgramDataAddress) GetStateOk() (*string, bool)

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

SetState

func (o *RetailerProgramDataAddress) SetState(v string)

SetState sets State field to given value.

HasState

func (o *RetailerProgramDataAddress) HasState() bool

HasState returns a boolean if a field has been set.

GetType

func (o *RetailerProgramDataAddress) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *RetailerProgramDataAddress) GetTypeOk() (*string, bool)

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

SetType

func (o *RetailerProgramDataAddress) SetType(v string)

SetType sets Type field to given value.

GetZipCode

func (o *RetailerProgramDataAddress) GetZipCode() string

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

GetZipCodeOk

func (o *RetailerProgramDataAddress) 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 *RetailerProgramDataAddress) SetZipCode(v string)

SetZipCode sets ZipCode field to given value.

HasZipCode

func (o *RetailerProgramDataAddress) HasZipCode() bool

HasZipCode returns a boolean if a field has been set.

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