Interface PartnerConfig<PartnerLabel>

interface PartnerConfig<PartnerLabel> {
    clientId: string;
    defaultCurrency: Currency;
    partnerId: string;
    partnerLabels?: PartnerLabel[];
    secret: string;
}

Type Parameters

  • PartnerLabel extends string

Properties

clientId: string

The clientId you want to connect to.

defaultCurrency: Currency

The default currency to be used for this partner.

partnerId: string

The ID of the project you want to connect to.

partnerLabels?: PartnerLabel[]

Partner labels can be used to map purchase items to different partners when more than one partner is configured.

secret: string

The secret belonging to the clientId.