class PayPal::SDK::ButtonManagerRails::DataTypes::MerchantPullPaymentType

MerchantPullPayment Parameters to make initiate a pull payment

Public Class Methods

load_members() click to toggle source
# File lib/paypal-sdk/button_manager_rails/data_types.rb, line 1588
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
new(options={}) click to toggle source
Calls superclass method
# File lib/paypal-sdk/button_manager_rails/data_types.rb, line 1583
def initialize(options={})
  super
  self.ButtonSource ||= "PayPal_SDK"
end