GooglePayCardToken constructor

  1. @JsonSerializable(explicitToJson: true)
const GooglePayCardToken({
  1. required String id,
  2. required String fpanLastFour,
  3. required String dpanLastFour,
  4. required int network,
  5. required int serviceProvider,
  6. required String issuer,
  7. required GooglePayCardTokenStatus status,
  8. required String cardLastFour,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory GooglePayCardToken({
  /// The token reference ID.,
  required String id,

  /// Last four digits of the FPAN,
  required String fpanLastFour,

  /// Last four digits of the DPAN,
  required String dpanLastFour,

  /// The network of the card.
  required int network,

  /// The service provider of the card.
  required int serviceProvider,

  /// The name of the issuer.,
  required String issuer,

  /// The GooglePayCardTokenStatus.,
  required GooglePayCardTokenStatus status,

  /// Deprecated. Use fpanLastFour or dpanLastFour.,
  required String cardLastFour,
}) = _GooglePayCardToken;