compCheckoutWithTokenizedPaymentV2 top-level constant
String
const compCheckoutWithTokenizedPaymentV2
Mutation to complete a checkout with a credit card
Implementation
const String compCheckoutWithTokenizedPaymentV2 = r'''
mutation checkoutCompleteWithTokenizedPaymentV2($checkoutId: ID!, $payment: TokenizedPaymentInputV2!) {
checkoutCompleteWithTokenizedPaymentV2(
checkoutId: $checkoutId
payment: $payment
) {
checkout {
id
}
checkoutUserErrors {
code
field
message
}
payment {
id
}
}
}
''';