import type * as Square from "../index"; /** * Represents a business that sells with Square. */ export interface Merchant { /** The Square-issued ID of the merchant. */ id?: string; /** The name of the merchant's overall business. */ businessName?: string | null; /** * The country code associated with the merchant, in the two-letter format of ISO 3166. For example, `US` or `JP`. * See [Country](#type-country) for possible values */ country: Square.Country; /** The code indicating the [language preferences](https://developer.squareup.com/docs/build-basics/general-considerations/language-preferences) of the merchant, in [BCP 47 format](https://tools.ietf.org/html/bcp47#appendix-A). For example, `en-US` or `fr-CA`. */ languageCode?: string | null; /** * The currency associated with the merchant, in ISO 4217 format. For example, the currency code for US dollars is `USD`. * See [Currency](#type-currency) for possible values */ currency?: Square.Currency; /** * The merchant's status. * See [MerchantStatus](#type-merchantstatus) for possible values */ status?: Square.MerchantStatus; /** The ID of the [main `Location`](https://developer.squareup.com/docs/locations-api#about-the-main-location) for this merchant. */ mainLocationId?: string | null; /** * The time when the merchant was created, in RFC 3339 format. * For more information, see [Working with Dates](https://developer.squareup.com/docs/build-basics/working-with-dates). */ createdAt?: string; }