protected internal PaymentMethodNonceDetails(NodeWrapper node) { Bin = node.GetString("bin"); CardType = node.GetString("card-type"); LastTwo = node.GetString("last-two"); LastFour = node.GetString("last-four"); Username = node.GetString("username"); VenmoUserId = node.GetString("venmo-user-id"); var payerInfoNode = node.GetNode("payer-info"); if (payerInfoNode != null) { PayerInfo = new PaymentMethodNonceDetailsPayerInfo(payerInfoNode); } }
protected internal PaymentMethodNonceDetails(dynamic details) { Bin = details.bin; CardType = details.cardType; LastTwo = details.lastTwo; LastFour = details.lastFour; Username = details.username; VenmoUserId = details.venmoUserId; var payerInfo = details.payerInfo; if (payerInfo != null) { PayerInfo = new PaymentMethodNonceDetailsPayerInfo(payerInfo); } }
protected internal PaymentMethodNonceDetails(dynamic details) { IsNetworkTokenized = details.isNetworkTokenized; Bin = details.bin; CardType = details.cardType; ExpirationMonth = details.expirationMonth; ExpirationYear = details.expirationYear; LastFour = details.lastFour; LastTwo = details.lastTwo; Username = details.username; VenmoUserId = details.venmoUserId; var payerInfo = details.payerInfo; if (payerInfo != null) { PayerInfo = new PaymentMethodNonceDetailsPayerInfo(payerInfo); } }
protected internal PaymentMethodNonceDetails(NodeWrapper node) { IsNetworkTokenized = node.GetBoolean("is-network-tokenized"); Bin = node.GetString("bin"); CardType = node.GetString("card-type"); ExpirationMonth = node.GetString("expiration-month"); ExpirationYear = node.GetString("expiration-year"); LastFour = node.GetString("last-four"); LastTwo = node.GetString("last-two"); Username = node.GetString("username"); VenmoUserId = node.GetString("venmo-user-id"); var payerInfoNode = node.GetNode("payer-info"); if (payerInfoNode != null) { PayerInfo = new PaymentMethodNonceDetailsPayerInfo(payerInfoNode); } }