convertToPigeon static method

  1. @visibleForTesting
SKPriceLocaleMessage convertToPigeon(
  1. SKPriceLocaleWrapper msg
)

Convert from SKPriceLocaleWrapper to SKPriceLocaleMessage

Implementation

@visibleForTesting
static SKPriceLocaleMessage convertToPigeon(SKPriceLocaleWrapper msg) {
  return SKPriceLocaleMessage(
      currencySymbol: msg.currencySymbol,
      currencyCode: msg.currencyCode,
      countryCode: msg.countryCode);
}