Inttegro TypeScript SDK - v12.0.0
    Preparing search index...

    Type Alias CatalogPriceDefinitionParams

    CatalogPriceDefinitionParams:
        | {
            customerSelectedAmount?: never;
            fixedAmount: AmountParams;
            type: "fixed_amount";
        }
        | {
            customerSelectedAmount: CustomerSelectedAmountParams;
            fixedAmount?: never;
            productId: string;
            type: "customer_selected_amount";
        }

    Type Declaration

    • {
          customerSelectedAmount?: never;
          fixedAmount: AmountParams;
          type: "fixed_amount";
      }
    • {
          customerSelectedAmount: CustomerSelectedAmountParams;
          fixedAmount?: never;
          productId: string;
          type: "customer_selected_amount";
      }
      • customerSelectedAmount: CustomerSelectedAmountParams
      • OptionalfixedAmount?: never
      • productId: string

        Customer-selected prices must belong to a catalog product.

      • type: "customer_selected_amount"