Skip to content

Latest commit

 

History

History
50 lines (29 loc) · 1.03 KB

CdvPurchase.PaymentRequestItem.md

File metadata and controls

50 lines (29 loc) · 1.03 KB

Interface: PaymentRequestItem

CdvPurchase.PaymentRequestItem

Item being purchased with requestPayment

The format is such as it's compatible with Product. This way, normal products can be added to the payment request.

Table of contents

Properties

Properties

id

id: string

Identifier


pricing

Optional pricing: Object

Item pricing information.

It can be undefined if a single product is purchased. If that case, it's assumed the price is equal to the total amount requested.

Type declaration

Name Type Description
currency? string Currency, for verification, if set it should be equal to the PaymentRequest currency
priceMicros number Price in micro units (i.e. price * 1,000,000)

title

title: string

Label for the item