convertFromPigeon static method
Converts SKPaymentMessage
into the dart equivalent
Implementation
static SKPaymentWrapper convertFromPigeon(SKPaymentMessage msg) {
return SKPaymentWrapper(
productIdentifier: msg.productIdentifier,
applicationUsername: msg.applicationUsername,
quantity: msg.quantity,
simulatesAskToBuyInSandbox: msg.simulatesAskToBuyInSandbox,
requestData: msg.requestData,
paymentDiscount:
SKPaymentDiscountWrapper.convertFromPigeon(msg.paymentDiscount));
}