Shopify SDK for Unity
Public Member Functions | Static Public Attributes | Properties | List of all members
Shopify.Unity.MailingAddressInput Class Reference

Specifies the fields accepted to create or update a mailing address. More...

Inheritance diagram for Shopify.Unity.MailingAddressInput:
Shopify.Unity.SDK.InputBase

Public Member Functions

 MailingAddressInput (string address1=null, string address2=null, string city=null, string company=null, string country=null, string firstName=null, string lastName=null, string phone=null, string province=null, string zip=null)
 
 MailingAddressInput (Dictionary< string, object > dataJSON)
 
- Public Member Functions inherited from Shopify.Unity.SDK.InputBase
override string ToString ()
 Returns a string representing a GraphQL input object. More...
 

Static Public Attributes

const string address1FieldKey = "address1"
 
const string address2FieldKey = "address2"
 
const string cityFieldKey = "city"
 
const string companyFieldKey = "company"
 
const string countryFieldKey = "country"
 
const string firstNameFieldKey = "firstName"
 
const string lastNameFieldKey = "lastName"
 
const string phoneFieldKey = "phone"
 
const string provinceFieldKey = "province"
 
const string zipFieldKey = "zip"
 

Properties

string address1 [get, set]
 The first line of the address. Typically the street address or PO Box number. More...
 
string address2 [get, set]
 The second line of the address. Typically the number of the apartment, suite, or unit. More...
 
string city [get, set]
 The name of the city, district, village, or town. More...
 
string company [get, set]
 The name of the customer's company or organization. More...
 
string country [get, set]
 The name of the country. More...
 
string firstName [get, set]
 The first name of the customer. More...
 
string lastName [get, set]
 The last name of the customer. More...
 
string phone [get, set]
 A unique phone number for the customer. More...
 
string province [get, set]
 The region of the address, such as the province, state, or district. More...
 
string zip [get, set]
 The zip or postal code of the address. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Shopify.Unity.SDK.InputBase
void Set (string key, object value)
 
object Get (string key)
 

Detailed Description

Specifies the fields accepted to create or update a mailing address.

Constructor & Destructor Documentation

◆ MailingAddressInput() [1/2]

Shopify.Unity.MailingAddressInput.MailingAddressInput ( string  address1 = null,
string  address2 = null,
string  city = null,
string  company = null,
string  country = null,
string  firstName = null,
string  lastName = null,
string  phone = null,
string  province = null,
string  zip = null 
)
inline
Parameters
address1The first line of the address. Typically the street address or PO Box number.
address2The second line of the address. Typically the number of the apartment, suite, or unit.
cityThe name of the city, district, village, or town.
companyThe name of the customer's company or organization.
countryThe name of the country.
firstNameThe first name of the customer.
lastNameThe last name of the customer.
phoneA unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111.

Parameters
provinceThe region of the address, such as the province, state, or district.
zipThe zip or postal code of the address.

◆ MailingAddressInput() [2/2]

Shopify.Unity.MailingAddressInput.MailingAddressInput ( Dictionary< string, object >  dataJSON)
inline
Parameters
address1The first line of the address. Typically the street address or PO Box number.
address2The second line of the address. Typically the number of the apartment, suite, or unit.
cityThe name of the city, district, village, or town.
companyThe name of the customer's company or organization.
countryThe name of the country.
firstNameThe first name of the customer.
lastNameThe last name of the customer.
phoneA unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111.

Parameters
provinceThe region of the address, such as the province, state, or district.
zipThe zip or postal code of the address.

Property Documentation

◆ address1

string Shopify.Unity.MailingAddressInput.address1
getset

The first line of the address. Typically the street address or PO Box number.

◆ address2

string Shopify.Unity.MailingAddressInput.address2
getset

The second line of the address. Typically the number of the apartment, suite, or unit.

◆ city

string Shopify.Unity.MailingAddressInput.city
getset

The name of the city, district, village, or town.

◆ company

string Shopify.Unity.MailingAddressInput.company
getset

The name of the customer's company or organization.

◆ country

string Shopify.Unity.MailingAddressInput.country
getset

The name of the country.

◆ firstName

string Shopify.Unity.MailingAddressInput.firstName
getset

The first name of the customer.

◆ lastName

string Shopify.Unity.MailingAddressInput.lastName
getset

The last name of the customer.

◆ phone

string Shopify.Unity.MailingAddressInput.phone
getset

A unique phone number for the customer.

Formatted using E.164 standard. For example, +16135551111.

◆ province

string Shopify.Unity.MailingAddressInput.province
getset

The region of the address, such as the province, state, or district.

◆ zip

string Shopify.Unity.MailingAddressInput.zip
getset

The zip or postal code of the address.


The documentation for this class was generated from the following file: