OrderRequest constructor

const OrderRequest({
  1. required OrderRequestIntent intent,
  2. Payer? payer,
  3. required List<PurchaseUnitRequest> purchaseUnits,
  4. ApplicationContext? applicationContext,
})

Implementation

const OrderRequest(
    {required this.intent,
    this.payer,
    required this.purchaseUnits,
    this.applicationContext});