Class: PayPal::SDK::Merchant::DataTypes::MerchantPullPaymentType
- Inherits:
-
DataType
- Object
- Core::API::DataTypes::Base
- DataType
- PayPal::SDK::Merchant::DataTypes::MerchantPullPaymentType
- Defined in:
- lib/paypal-sdk/merchant/data_types.rb
Overview
MerchantPullPayment Parameters to make initiate a pull payment
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ MerchantPullPaymentType
constructor
A new instance of MerchantPullPaymentType.
Constructor Details
#initialize(options = {}) ⇒ MerchantPullPaymentType
Returns a new instance of MerchantPullPaymentType.
1622 1623 1624 1625 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 1622 def initialize(={}) super self.ButtonSource ||= "PayPal_SDK" end |
Class Method Details
.load_members ⇒ Object
1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 |
# File 'lib/paypal-sdk/merchant/data_types.rb', line 1627 def self.load_members # The amount to charge to the customer. Required Only numeric characters and a decimal separator are allowed. Limit: 10 single-byte characters, including two for decimals You must set the currencyID attribute to one of the three-character currency code for any of the supported PayPal currencies. object_of :Amount, BasicAmountType, :namespace => :ebl # Preapproved Payments billing agreement identification number between the PayPal customer and you. Required Character limit: 19 single-byte alphanumeric characters. The format of a billing agreement identification number is the single-character prefix B, followed by a hyphen and an alphanumeric character string: B-unique_alphanumeric_string object_of :MpID, String, :namespace => :ebl # Specifies type of PayPal payment you require Optional object_of :PaymentType, MerchantPullPaymentCodeType, :namespace => :ebl # Text entered by the customer in the Note field during enrollment Optional object_of :Memo, String, :namespace => :ebl # Subject line of confirmation email sent to recipient Optional object_of :EmailSubject, String, :namespace => :ebl # The tax charged on the transaction Optional object_of :Tax, BasicAmountType, :namespace => :ebl # Per-transaction shipping charge Optional object_of :Shipping, BasicAmountType, :namespace => :ebl # Per-transaction handling charge Optional object_of :Handling, BasicAmountType, :namespace => :ebl # Name of purchased item Optional object_of :ItemName, String, :namespace => :ebl # Reference number of purchased item Optional object_of :ItemNumber, String, :namespace => :ebl # Your invoice number Optional object_of :Invoice, String, :namespace => :ebl # Custom annotation field for tracking or other use Optional object_of :Custom, String, :namespace => :ebl # An identification code for use by third-party applications to identify transactions. Optional Character length and limitations: 32 single-byte alphanumeric characters object_of :ButtonSource, String, :namespace => :ebl # Passed in soft descriptor string to be appended. Optional Character length and limitations: single-byte alphanumeric characters object_of :SoftDescriptor, String, :namespace => :ebl end |