lib/braintree/transaction.rb in braintree-4.13.0 vs lib/braintree/transaction.rb in braintree-4.14.0

- old
+ new

@@ -134,10 +134,11 @@ attr_reader :network_token_details attr_reader :network_transaction_id attr_reader :order_id attr_reader :partial_settlement_transaction_ids attr_reader :payment_instrument_type + attr_reader :payment_receipt attr_reader :paypal_details attr_reader :paypal_here_details attr_reader :plan_id attr_reader :processor_authorization_code # Authorization code from the processor. attr_reader :processor_response_code # Response code from the processor. @@ -310,9 +311,10 @@ @descriptor = Descriptor.new(@descriptor) @disbursement_details = DisbursementDetails.new(@disbursement_details) @google_pay_details = GooglePayDetails.new(@google_pay_card) @local_payment_details = LocalPaymentDetails.new(@local_payment) @payment_instrument_type = attributes[:payment_instrument_type] + @payment_receipt = PaymentReceipt.new(attributes[:payment_receipt]) if attributes[:payment_receipt] @paypal_details = PayPalDetails.new(@paypal) @paypal_here_details = PayPalHereDetails.new(@paypal_here) @samsung_pay_card_details = SamsungPayCardDetails.new(attributes[:samsung_pay_card]) @sca_exemption_requested = attributes[:sca_exemption_requested] @sepa_direct_debit_account_details = SepaDirectDebitAccountDetails.new(@sepa_debit_account_detail)