/** * NOTE: This class is auto generated by DANA Indonesia. * Do not edit the class manually. */ import type { ValidationErrorContext } from '../../../runtime'; import type { UserName } from './UserName'; import type { MerchantContactEmail } from './MerchantContactEmail'; import type { MerchantContactMobileNo } from './MerchantContactMobileNo'; import type { MerchantContactAddress } from './MerchantContactAddress'; import type { MerchantAccountInfo } from './MerchantAccountInfo'; import type { MerchantCorporateCertificate } from './MerchantCorporateCertificate'; import type { MerchantCertificateInfo } from './MerchantCertificateInfo'; /** * Merchant profile detail (`merchantInformation` in response body) * @export * @interface MerchantInformation */ export interface MerchantInformation { /** * Phone number * @type {string} * @memberof MerchantInformation */ phoneNumber?: string; /** * Merchant identifier * @type {string} * @memberof MerchantInformation */ merchantId?: string; /** * Merchant type * @type {string} * @memberof MerchantInformation */ merchantType?: MerchantInformationMerchantTypeEnum; /** * Merchant sub type * @type {string} * @memberof MerchantInformation */ merchantSubType?: MerchantInformationMerchantSubTypeEnum; /** * Merchant category codes (MCC) * @type {Array} * @memberof MerchantInformation */ mccCodes?: Array; /** * Logo URL * @type {string} * @memberof MerchantInformation */ logoUrl?: string; /** * Logo map. Keys may be `LOGO`, `PC_LOGO`, `MOBILE_LOGO`. * Values are base64-encoded PNG image data. * * @type {{ [key: string]: string; }} * @memberof MerchantInformation */ logoUrlMap?: { [key: string]: string; }; /** * Merchant short name code * @type {string} * @memberof MerchantInformation */ shortNameCode?: string; /** * Merchant official name * @type {string} * @memberof MerchantInformation */ officialName?: string; /** * Merchant English name * @type {string} * @memberof MerchantInformation */ englishName?: string; /** * Merchant local (Indonesian) name * @type {string} * @memberof MerchantInformation */ localName?: string; /** * * @type {MerchantCertificateInfo} * @memberof MerchantInformation */ certificate?: MerchantCertificateInfo; /** * * @type {MerchantContactAddress} * @memberof MerchantInformation */ registeredAddress?: MerchantContactAddress; /** * * @type {MerchantContactAddress} * @memberof MerchantInformation */ businessAddress?: MerchantContactAddress; /** * Merchant official telephone number * @type {string} * @memberof MerchantInformation */ officeTelephone?: string; /** * Merchant official fax telephone number * @type {string} * @memberof MerchantInformation */ faxTelephone?: string; /** * * @type {UserName} * @memberof MerchantInformation */ corporateOfficialName?: UserName; /** * * @type {MerchantCorporateCertificate} * @memberof MerchantInformation */ corporateCertificate?: MerchantCorporateCertificate; /** * * @type {UserName} * @memberof MerchantInformation */ contactOfficialName?: UserName; /** * * @type {MerchantContactMobileNo} * @memberof MerchantInformation */ contactMobileNo?: MerchantContactMobileNo; /** * Contact telephone number * @type {string} * @memberof MerchantInformation */ contactTelephone?: string; /** * * @type {MerchantContactEmail} * @memberof MerchantInformation */ contactEmail?: MerchantContactEmail; /** * Merchant creation time, YYYY-MM-DDTHH:mm:ss+07:00 (GMT+7) * @type {string} * @memberof MerchantInformation */ createdTime?: string; /** * Merchant last modified time, YYYY-MM-DDTHH:mm:ss+07:00 (GMT+7) * @type {string} * @memberof MerchantInformation */ modifiedTime?: string; /** * Merchant status * @type {string} * @memberof MerchantInformation */ merchantStatus?: MerchantInformationMerchantStatusEnum; /** * Registered source platform * @type {string} * @memberof MerchantInformation */ registerSource?: string; /** * Size type * @type {string} * @memberof MerchantInformation */ sizeType?: MerchantInformationSizeTypeEnum; /** * Merchant platform identifier * @type {string} * @memberof MerchantInformation */ platformMid?: string; /** * Tax number (NPWP), 15 digits * @type {string} * @memberof MerchantInformation */ taxNo?: string; /** * Merchant account list (present when `isQueryAccount` is true in request) * @type {Array} * @memberof MerchantInformation */ accounts?: Array; /** * Brand name on legal name or tax name * @type {string} * @memberof MerchantInformation */ brandName?: string; /** * * @type {MerchantContactAddress} * @memberof MerchantInformation */ taxAddress?: MerchantContactAddress; } /** * @export */ export declare const MerchantInformationMerchantTypeEnum: { readonly Individual: "INDIVIDUAL"; readonly Corporation: "CORPORATION"; readonly FinancialInst: "FINANCIAL_INST"; }; export type MerchantInformationMerchantTypeEnum = typeof MerchantInformationMerchantTypeEnum[keyof typeof MerchantInformationMerchantTypeEnum] | ''; /** * @export */ export declare const MerchantInformationMerchantSubTypeEnum: { readonly CompanyType22: "COMPANY_TYPE_22"; readonly CompanyType31: "COMPANY_TYPE_31"; readonly CompanyType41: "COMPANY_TYPE_41"; }; export type MerchantInformationMerchantSubTypeEnum = typeof MerchantInformationMerchantSubTypeEnum[keyof typeof MerchantInformationMerchantSubTypeEnum] | ''; /** * @export */ export declare const MerchantInformationMerchantStatusEnum: { readonly Pending: "PENDING"; readonly Active: "ACTIVE"; readonly Frozen: "FROZEN"; }; export type MerchantInformationMerchantStatusEnum = typeof MerchantInformationMerchantStatusEnum[keyof typeof MerchantInformationMerchantStatusEnum] | ''; /** * @export */ export declare const MerchantInformationSizeTypeEnum: { readonly Umi: "UMI"; readonly Uke: "UKE"; readonly Ume: "UME"; readonly Ube: "UBE"; readonly Ure: "URE"; }; export type MerchantInformationSizeTypeEnum = typeof MerchantInformationSizeTypeEnum[keyof typeof MerchantInformationSizeTypeEnum] | ''; /** * Check if a given object implements the MerchantInformation interface. */ export declare function instanceOfMerchantInformation(value: object): value is MerchantInformation; export declare function MerchantInformationFromJSON(json: any): MerchantInformation; export declare function MerchantInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MerchantInformation; export declare function MerchantInformationToJSON(json: any): MerchantInformation; export declare function MerchantInformationToJSONTyped(value?: MerchantInformation | null, ignoreDiscriminator?: boolean): any; export declare function validateMerchantInformation(value: MerchantInformation): ValidationErrorContext[];