Sha256: cbd341bcaa4cc410a3d6d855ec7cc9f212843c0607fbb17472d8a2639fc7c4db

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

Stored size: 398 Bytes

Contents

module PayPal::Invoice
  class PaymentDetails < PayPal::Invoice::Base

    attr_accessor :via_paypal
    attr_accessor :paypal_payment
    attr_accessor :other_payment

    def set_paypal_payment(value)
      self.paypal_payment = build_value(PaypalPaymentDetails, value)
    end

    def set_other_payment(value)
      self.other_payment = build_value(OtherPaymentDetails, value)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paypal-payment-0.1.2 lib/paypal/invoice/payment_details.rb