Class: PayPal::SDK::ButtonManager::DataTypes::MerchantPullPaymentType

Inherits:
DataType
  • Object
show all
Defined in:
lib/paypal-sdk/button_manager/data_types.rb

Overview

MerchantPullPayment Parameters to make initiate a pull payment

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ MerchantPullPaymentType

Returns a new instance of MerchantPullPaymentType.



1583
1584
1585
1586
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1583

def initialize(options={})
  super
  self.ButtonSource ||= "PayPal_SDK"
end

Class Method Details

.load_membersObject



1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
# File 'lib/paypal-sdk/button_manager/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