CreateTokenParams.pii constructor

  1. @JsonSerializable(explicitToJson: true)
const CreateTokenParams.pii({
  1. required PIITokenParams params,
})

Creates a single-use token that represents the details of personally identifiable information (PII).

See https://stripe.com/docs/api/tokens/create_pii

Implementation

@JsonSerializable(explicitToJson: true)
const factory CreateTokenParams.pii({
  required PIITokenParams params,
}) = _CreateTokenParamsPII;