Class: PayPal::SDK::ButtonManagerRails::DataTypes::SubscriptionInfoType

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

Overview

SubscriptionInfoType Information about a PayPal Subscription.

Class Method Summary collapse

Class Method Details

.load_membersObject



1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
# File 'lib/paypal-sdk/button_manager_rails/data_types.rb', line 1830

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