Class: PayPal::SDK::Merchant::DataTypes::SubscriptionInfoType

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

Overview

SubscriptionInfoType Information about a PayPal Subscription.

Class Method Summary collapse

Class Method Details

.load_membersObject



1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
# File 'lib/paypal-sdk/merchant/data_types.rb', line 1886

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