PPOrder constructor
- @JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
- required PPOrderIntent intent,
- PPProcessingInstruction? processingInstruction,
- @JsonKey(name: 'application_context') PPOrderAppContext? appContext,
- @JsonKey(name: 'purchase_units') required List<
PPPurchaseUnit> purchaseUnitList,
Implementation
@JsonSerializable(fieldRename: FieldRename.snake, explicitToJson: true)
const factory PPOrder({
required PPOrderIntent intent,
PPProcessingInstruction? processingInstruction,
@JsonKey(name: 'application_context') PPOrderAppContext? appContext,
@JsonKey(name: 'purchase_units')
required List<PPPurchaseUnit> purchaseUnitList,
}) = _PPOrder;