Home > @vsf-enterprise/sap-commerce-webservices-sdk > PaymentModesApi > getPaymentModes

PaymentModesApi.getPaymentModes() method

Gets all payment modes defined for the base store. Gets all available payment modes.

Signature:

getPaymentModes(baseSiteId: string, fields?: string, options?: any): Promise<import("axios").AxiosResponse<PaymentModeList>>;

Parameters

Parameter Type Description
baseSiteId string Base site identifier
fields string Response configuration. This is the list of fields that should be returned in the response body. Examples: BASIC, DEFAULT, FULL
options any Override http request option.

Returns:

Promise<import("axios").AxiosResponse<PaymentModeList>>

Exceptions

{RequiredError} PaymentModesApi