Skip to content

Commit

Permalink
feat(apple-pay-transformer): add return type to applePayPaymentToMobi…
Browse files Browse the repository at this point in the history
…lePaymentMethodSpecificInput
  • Loading branch information
lrosenfeldt committed Aug 9, 2024
1 parent 26fa674 commit de8674f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/transformer/applepay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ function versionFromString(value: string): ApplePaymentTokenVersion {
}
}

export function applePayPaymentToMobilePaymentMethodSpecificInput(payment: ApplePayPayment) {
export function applePayPaymentToMobilePaymentMethodSpecificInput(
payment: ApplePayPayment,
): MobilePaymentMethodSpecificInput {
return {
paymentProductId: 302,
publicKeyHash: payment.token?.paymentData?.header?.publicKeyHash,
Expand Down

0 comments on commit de8674f

Please sign in to comment.