PPPurchaseUnit constructor
- @JsonSerializable(fieldRename: FieldRename.snake)
- String? referenceId,
- String? invoiceId,
- String? customId,
- String? softDescriptor,
- PPShipping? shipping,
- List<
PPItems> ? items, - PPPayee? payee,
- @JsonKey(name: 'amount') required PPOrderAmount orderAmount,
Implementation
@JsonSerializable(fieldRename: FieldRename.snake)
const factory PPPurchaseUnit({
String? referenceId,
String? invoiceId,
String? customId,
String? softDescriptor,
PPShipping? shipping,
List<PPItems>? items,
PPPayee? payee,
@JsonKey(name: 'amount') required PPOrderAmount orderAmount,
}) = _PPPurchaseUnit;