PlatformPayOrderDetails.applePay constructor

  1. @JsonSerializable(explicitToJson: true)
const PlatformPayOrderDetails.applePay({
  1. required String orderTypeIdentifier,
  2. required String orderIdentifier,
  3. required String webServiceUrl,
  4. required String authenticationToken,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory PlatformPayOrderDetails.applePay({
  /// eg: "com.myapp.order"
  required String orderTypeIdentifier,

  /// eg: "ABC123-AAAA-1111"
  required String orderIdentifier,

  /// eg: "https://my-backend.example.com/apple-order-tracking-backend"
  required String webServiceUrl,

  /// eg: "abc123"
  required String authenticationToken,
}) = _PlatformPayOrderDetails;