Alokai
You are reading the documentation for v7.x and earlier, which is no longer the latest version. Switch to v8.x

getPaymentTypes

Get payment types available to the user's B2B organization

This method exchanges data with the https://api.c1jvi8hu9a-vsfspzooa1-d1-public.model-t.cc.commerce.ondemand.com/occ/v2/swagger-ui/index.html#/B2B%20Miscs/getPaymentTypes endpoint exposed by the SAP OCC API B2B Orders Controller.

Signature

export declare function getPaymentTypes(
	context: SapccIntegrationContext,
	props: GetPaymentTypesProps
): Promise<B2BPaymentTypeList>;

Parameters

NameRequiredTypeDescription
contextRequiredSapccIntegrationContext
propsRequiredGetPaymentTypesPropsParameter object which can be used with this method. Refer to its type definition to learn about possible properties.

Returns

Returns payment types available to the user's B2B organization

Referenced Types

Examples

const paymentTypes = await sdk.commerce.getPaymentTypes();

On this page