/*
 * The version of the OpenAPI document: v6
 * Contact: developer-experience@adyen.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit this class manually.
 */

import { ViasAddress } from './viasAddress';
import { ViasPhoneNumber } from './viasPhoneNumber';

export class StoreDetail {
    'address': ViasAddress;
    /**
    * The phone number of the store provided as a single string.  It will be handled as a landline phone.  Examples: \"0031 6 11 22 33 44\", \"+316/1122-3344\", \"(0031) 611223344\"
    */
    'fullPhoneNumber'?: string;
    /**
    * Store logo for payment method setup.
    */
    'logo'?: string;
    /**
    * The merchant account to which the store belongs.
    */
    'merchantAccount': string;
    /**
    * The merchant category code (MCC) that classifies the business of the account holder.
    */
    'merchantCategoryCode': string;
    /**
    * Merchant house number for payment method setup.
    */
    'merchantHouseNumber'?: string;
    'phoneNumber'?: ViasPhoneNumber;
    /**
    * The sales channel. Possible values: **Ecommerce**, **POS**.
    */
    'shopperInteraction'?: StoreDetail.ShopperInteractionEnum;
    /**
    * The unique reference for the split configuration, returned when you configure splits in your Customer Area. When this is provided, the `virtualAccount` is also required. Adyen uses the configuration and the `virtualAccount` to split funds between accounts in your platform.
    */
    'splitConfigurationUUID'?: string;
    /**
    * The status of the store. Possible values: **Pending**, **Active**, **Inactive**, **InactiveWithModifications**, **Closed**.
    */
    'status'?: StoreDetail.StatusEnum;
    /**
    * Adyen-generated unique alphanumeric identifier (UUID) for the store, returned in the response when you create a store. Required when updating an existing store in an `/updateAccountHolder` request.
    */
    'store'?: string;
    /**
    * The name of the account holder\'s store. This value is shown in shopper statements.  * Length: Between 3 to 22 characters   * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**
    */
    'storeName'?: string;
    /**
    * Your unique identifier for the store. The Customer Area also uses this value for the store description.   * Length: Between 3 to 128 characters  * The following characters are *not* supported: **:;}{$#@!|<>%^*+=\\\\**
    */
    'storeReference': string;
    /**
    * The account holder\'s `accountCode` where the split amount will be sent. Required when you provide the `splitConfigurationUUID`.
    */
    'virtualAccount'?: string;
    /**
    * URL of the ecommerce store.
    */
    'webAddress'?: string;

    static discriminator: string | undefined = undefined;

    static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
        {
            "name": "address",
            "baseName": "address",
            "type": "ViasAddress"
        },
        {
            "name": "fullPhoneNumber",
            "baseName": "fullPhoneNumber",
            "type": "string"
        },
        {
            "name": "logo",
            "baseName": "logo",
            "type": "string"
        },
        {
            "name": "merchantAccount",
            "baseName": "merchantAccount",
            "type": "string"
        },
        {
            "name": "merchantCategoryCode",
            "baseName": "merchantCategoryCode",
            "type": "string"
        },
        {
            "name": "merchantHouseNumber",
            "baseName": "merchantHouseNumber",
            "type": "string"
        },
        {
            "name": "phoneNumber",
            "baseName": "phoneNumber",
            "type": "ViasPhoneNumber"
        },
        {
            "name": "shopperInteraction",
            "baseName": "shopperInteraction",
            "type": "StoreDetail.ShopperInteractionEnum"
        },
        {
            "name": "splitConfigurationUUID",
            "baseName": "splitConfigurationUUID",
            "type": "string"
        },
        {
            "name": "status",
            "baseName": "status",
            "type": "StoreDetail.StatusEnum"
        },
        {
            "name": "store",
            "baseName": "store",
            "type": "string"
        },
        {
            "name": "storeName",
            "baseName": "storeName",
            "type": "string"
        },
        {
            "name": "storeReference",
            "baseName": "storeReference",
            "type": "string"
        },
        {
            "name": "virtualAccount",
            "baseName": "virtualAccount",
            "type": "string"
        },
        {
            "name": "webAddress",
            "baseName": "webAddress",
            "type": "string"
        }    ];

    static getAttributeTypeMap() {
        return StoreDetail.attributeTypeMap;
    }
}

export namespace StoreDetail {
    export enum ShopperInteractionEnum {
        Ecommerce = <any> 'Ecommerce',
        Pos = <any> 'POS'
    }
    export enum StatusEnum {
        Active = <any> 'Active',
        Closed = <any> 'Closed',
        Inactive = <any> 'Inactive',
        InactiveWithModifications = <any> 'InactiveWithModifications',
        Pending = <any> 'Pending'
    }
}
