V1Merchant

November 20, 2019 ยท View on GitHub

Description

Defines the fields that are included in the response body of a request to the RetrieveBusiness endpoint. Note: This model is deprecated.

Properties

NameGetterSetterTypeDescriptionNotes
idgetId()setId($value)stringThe merchant account's unique identifier.[optional]
namegetName()setName($value)stringThe name associated with the merchant account.[optional]
emailgetEmail()setEmail($value)stringThe email address associated with the merchant account.[optional]
account_typegetAccountType()setAccountType($value)stringIndicates whether the merchant account corresponds to a single-location account (LOCATION) or a business account (BUSINESS). This value is almost always LOCATION. See V1MerchantAccountType for possible values[optional]
account_capabilitiesgetAccountCapabilities()setAccountCapabilities($value)string[]Capabilities that are enabled for the merchant's Square account. Capabilities that are not listed in this array are not enabled for the account.[optional]
country_codegetCountryCode()setCountryCode($value)stringThe country associated with the merchant account, in ISO 3166-1-alpha-2 format.[optional]
language_codegetLanguageCode()setLanguageCode($value)stringThe language associated with the merchant account, in BCP 47 format.[optional]
currency_codegetCurrencyCode()setCurrencyCode($value)stringThe currency associated with the merchant account, in ISO 4217 format. For example, the currency code for US dollars is USD.[optional]
business_namegetBusinessName()setBusinessName($value)stringThe name of the merchant's business.[optional]
business_addressgetBusinessAddress()setBusinessAddress($value)\SquareConnect\Model\AddressThe address of the merchant's business.[optional]
business_phonegetBusinessPhone()setBusinessPhone($value)\SquareConnect\Model\V1PhoneNumberThe phone number of the merchant's business.[optional]
business_typegetBusinessType()setBusinessType($value)stringThe type of business operated by the merchant. See V1MerchantBusinessType for possible values[optional]
shipping_addressgetShippingAddress()setShippingAddress($value)\SquareConnect\Model\AddressThe merchant's shipping address.[optional]
location_detailsgetLocationDetails()setLocationDetails($value)\SquareConnect\Model\V1MerchantLocationDetailsAdditional information for a single-location account specified by its associated business account, if it has one.[optional]
market_urlgetMarketUrl()setMarketUrl($value)stringThe URL of the merchant's online store.[optional]

Note: All properties are protected and only accessed via getters and setters.

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