Class: SubscriptionInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/paypal-business/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsSubscriptionInfoType

Constant Summary collapse

@@schema_type =
"SubscriptionInfoType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "reattempt") => "SOAP::SOAPString",
  XSD::QName.new(nil, "recurring") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["subscriptionID", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SubscriptionID")]],
  ["subscriptionDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "SubscriptionDate")]],
  ["effectiveDate", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "EffectiveDate")]],
  ["retryTime", ["SOAP::SOAPDateTime", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "RetryTime")]],
  ["username", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Username")]],
  ["password", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Password")]],
  ["recurrences", ["SOAP::SOAPString", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Recurrences")]],
  ["terms", ["SubscriptionTermsType[]", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Terms")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(subscriptionID = nil, subscriptionDate = nil, effectiveDate = nil, retryTime = nil, username = nil, password = nil, recurrences = nil, terms = []) ⇒ SubscriptionInfoType

Returns a new instance of SubscriptionInfoType.



3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
# File 'lib/paypal-business/default.rb', line 3804

def initialize(subscriptionID = nil, subscriptionDate = nil, effectiveDate = nil, retryTime = nil, username = nil, password = nil, recurrences = nil, terms = [])
  @subscriptionID = subscriptionID
  @subscriptionDate = subscriptionDate
  @effectiveDate = effectiveDate
  @retryTime = retryTime
  @username = username
  @password = password
  @recurrences = recurrences
  @terms = terms
  @__xmlattr = {}
end

Instance Attribute Details

#effectiveDateObject

Returns the value of attribute effectiveDate.



3781
3782
3783
# File 'lib/paypal-business/default.rb', line 3781

def effectiveDate
  @effectiveDate
end

#passwordObject

Returns the value of attribute password.



3784
3785
3786
# File 'lib/paypal-business/default.rb', line 3784

def password
  @password
end

#recurrencesObject

Returns the value of attribute recurrences.



3785
3786
3787
# File 'lib/paypal-business/default.rb', line 3785

def recurrences
  @recurrences
end

#retryTimeObject

Returns the value of attribute retryTime.



3782
3783
3784
# File 'lib/paypal-business/default.rb', line 3782

def retryTime
  @retryTime
end

#subscriptionDateObject

Returns the value of attribute subscriptionDate.



3780
3781
3782
# File 'lib/paypal-business/default.rb', line 3780

def subscriptionDate
  @subscriptionDate
end

#subscriptionIDObject

Returns the value of attribute subscriptionID.



3779
3780
3781
# File 'lib/paypal-business/default.rb', line 3779

def subscriptionID
  @subscriptionID
end

#termsObject

Returns the value of attribute terms.



3786
3787
3788
# File 'lib/paypal-business/default.rb', line 3786

def terms
  @terms
end

#usernameObject

Returns the value of attribute username.



3783
3784
3785
# File 'lib/paypal-business/default.rb', line 3783

def username
  @username
end

Instance Method Details

#xmlattr_reattemptObject



3788
3789
3790
# File 'lib/paypal-business/default.rb', line 3788

def xmlattr_reattempt
  (@__xmlattr ||= {})[XSD::QName.new(nil, "reattempt")]
end

#xmlattr_reattempt=(value) ⇒ Object



3792
3793
3794
# File 'lib/paypal-business/default.rb', line 3792

def xmlattr_reattempt=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "reattempt")] = value
end

#xmlattr_recurringObject



3796
3797
3798
# File 'lib/paypal-business/default.rb', line 3796

def xmlattr_recurring
  (@__xmlattr ||= {})[XSD::QName.new(nil, "recurring")]
end

#xmlattr_recurring=(value) ⇒ Object



3800
3801
3802
# File 'lib/paypal-business/default.rb', line 3800

def xmlattr_recurring=(value)
  (@__xmlattr ||= {})[XSD::QName.new(nil, "recurring")] = value
end