All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.braintreegateway.LocalPaymentDetails Maven / Gradle / Ivy

There is a newer version: 3.32.0_1
Show newest version
package com.braintreegateway;

import com.braintreegateway.util.NodeWrapper;

public class LocalPaymentDetails {
    private String captureId;
    private String customField;
    private String debugId;
    private String description;
    private String fundingSource;
    private String implicitlyVaultedPaymentMethodGlobalId;
    private String implicitlyVaultedPaymentMethodToken;
    private String payerId;
    private String paymentId;
    private String refundFromTransactionFeeAmount;
    private String refundFromTransactionFeeCurrencyIsoCode;
    private String refundId;
    private String transactionFeeAmount;
    private String transactionFeeCurrencyIsoCode;

    public LocalPaymentDetails(NodeWrapper node) {
        captureId = node.findString("capture-id");
        customField = node.findString("custom-field");
        debugId = node.findString("debug-id");
        description = node.findString("description");
        fundingSource = node.findString("funding-source");
        implicitlyVaultedPaymentMethodGlobalId = node.findString("implicitly-vaulted-payment-method-global-id");
        implicitlyVaultedPaymentMethodToken = node.findString("implicitly-vaulted-payment-method-token");
        payerId = node.findString("payer-id");
        paymentId = node.findString("payment-id");
        refundFromTransactionFeeAmount = node.findString("refund-from-transaction-fee-amount");
        refundFromTransactionFeeCurrencyIsoCode = node.findString("refund-from-transaction-fee-currency-iso-code");
        refundId = node.findString("refund-id");
        transactionFeeAmount = node.findString("transaction-fee-amount");
        transactionFeeCurrencyIsoCode = node.findString("transaction-fee-currency-iso-code");
    }

    public String getCaptureId() {
      return captureId;
    }

    public String getCustomField() {
      return customField;
    }

    public String getDebugId() {
      return debugId;
    }

    public String getDescription() {
      return description;
    }

    public String getFundingSource() {
      return fundingSource;
    }

    public String getImplicitlyVaultedPaymentMethodGlobalId() {
      return implicitlyVaultedPaymentMethodGlobalId;
    }

    public String getImplicitlyVaultedPaymentMethodToken() {
      return implicitlyVaultedPaymentMethodToken;
    }

    public String getPayerId() {
      return payerId;
    }

    public String getPaymentId() {
        return paymentId;
    }

    public String getRefundFromTransactionFeeAmount() {
      return refundFromTransactionFeeAmount;
    }

    public String getRefundFromTransactionFeeCurrencyIsoCode() {
      return refundFromTransactionFeeCurrencyIsoCode;
    }

    public String getRefundId() {
      return refundId;
    }

    public String getTransactionFeeAmount() {
      return transactionFeeAmount;
    }

    public String getTransactionFeeCurrencyIsoCode() {
      return transactionFeeCurrencyIsoCode;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy