Class: PayPal::SDK::ButtonManagerRails::DataTypes::MassPayRequestType
- Inherits:
-
AbstractRequestType
- Object
- Core::API::DataTypes::Base
- DataType
- AbstractRequestType
- PayPal::SDK::ButtonManagerRails::DataTypes::MassPayRequestType
- Defined in:
- lib/paypal-sdk/button_manager_rails/data_types.rb
Overview
Subject line of the email sent to all recipients. This subject is not contained in the input file; you must create it with your application. Optional Character length and limitations: 255 single-byte alphanumeric characters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ MassPayRequestType
constructor
A new instance of MassPayRequestType.
Constructor Details
#initialize(options = {}) ⇒ MassPayRequestType
Returns a new instance of MassPayRequestType.
3928 3929 3930 3931 |
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3928 def initialize(={}) super self.ButtonSource ||= "PayPal_SDK" end |
Class Method Details
.load_members ⇒ Object
3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 |
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 3933 def self.load_members # Subject line of the email sent to all recipients. This subject is not contained in the input file; you must create it with your application. Optional Character length and limitations: 255 single-byte alphanumeric characters object_of :EmailSubject, String, :namespace => :ns # Indicates how you identify the recipients of payments in all MassPayItems: either by EmailAddress (ReceiverEmail in MassPayItem), PhoneNumber (ReceiverPhone in MassPayItem), or by UserID (ReceiverID in MassPayItem). Required. You must specify one or the other of EmailAddress or UserID. object_of :ReceiverType, ReceiverInfoCodeType, :namespace => :ns # Known as BN code, to track the partner referred merchant transactions. OptionalCharacter length and limitations: 32 single-byte alphanumeric characters object_of :ButtonSource, String, :namespace => :ns # Details of each payment. A single MassPayRequest can include up to 250 MassPayItems. Required array_of :MassPayItem, MassPayRequestItemType, :namespace => :ns, :required => true end |