Sha256: a98f4b338922d69c7ab0d2255b457a0f329975c39f1ff79b77be802c6e899237

Contents?: true

Size: 700 Bytes

Versions: 6

Compression:

Stored size: 700 Bytes

Contents

module Braintree
  class SepaDirectDebitAccountNonceDetails# :nodoc:
    include BaseModule

    attr_reader :bank_reference_token
    attr_reader :last_4
    attr_reader :mandate_type
    attr_reader :merchant_or_partner_customer_id

    def initialize(attributes)
      set_instance_variables_from_hash attributes unless attributes.nil?
    end

    def inspect
      attr_order = [
        :bank_reference_token,
        :last_4,
        :mandate_type,
        :merchant_or_partner_customer_id,
      ]

      formatted_attrs = attr_order.map do |attr|
        "#{attr}: #{send(attr).inspect}"
      end
      "#<SepaDirectDebitAccountNonceDetails#{formatted_attrs.join(", ")}>"
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
braintree-4.15.0 lib/braintree/sepa_direct_debit_account_nonce_details.rb
braintree-4.14.0 lib/braintree/sepa_direct_debit_account_nonce_details.rb
braintree-4.13.0 lib/braintree/sepa_direct_debit_account_nonce_details.rb
braintree-4.12.0 lib/braintree/sepa_direct_debit_account_nonce_details.rb
braintree-4.11.0 lib/braintree/sepa_direct_debit_account_nonce_details.rb
braintree-4.10.0 lib/braintree/sepa_direct_debit_account_nonce_details.rb