class PayPal::SDK::Merchant::DataTypes::SubscriptionInfoType

SubscriptionInfoType Information about a PayPal Subscription.

Public Class Methods

load_members() click to toggle source
# 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