Class: PayPal::SDK::ButtonManager::DataTypes::SubscriptionInfoType

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

Overview

SubscriptionInfoType Information about a PayPal Subscription.

Class Method Summary collapse

Class Method Details

.load_membersObject



1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
# File 'lib/paypal-sdk/button_manager/data_types.rb', line 1802

def self.load_members
  # ID generated by PayPal for the subscriber. Character length and limitations: no limit
  object_of :SubscriptionID, String, :namespace => :ebl
  # Subscription start date 
  object_of :SubscriptionDate, DateTime, :namespace => :ebl
  # Date when the subscription modification will be effective 
  object_of :EffectiveDate, DateTime, :namespace => :ebl
  # Date PayPal will retry a failed subscription payment 
  object_of :RetryTime, DateTime, :namespace => :ebl
  # Username generated by PayPal and given to subscriber to access the subscription. Character length and limitations: 64 alphanumeric single-byte characters
  object_of :Username, String, :namespace => :ebl
  # Password generated by PayPal and given to subscriber to access the subscription. For security, the value of the password is hashed. Character length and limitations: 128 alphanumeric single-byte characters
  object_of :Password, String, :namespace => :ebl
  # The number of payment installments that will occur at the regular rate. Character length and limitations: no limit
  object_of :Recurrences, String, :namespace => :ebl
  # Subscription duration and charges
  array_of :Terms, SubscriptionTermsType, :namespace => :ebl
  add_attribute :reattempt, :namespace => :ebl, :required => true
  add_attribute :recurring, :namespace => :ebl, :required => true
end