Class: SubscriptionInfoType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/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.



3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
# File 'lib/v_paypal/default.rb', line 3621

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.



3598
3599
3600
# File 'lib/v_paypal/default.rb', line 3598

def effectiveDate
  @effectiveDate
end

#passwordObject

Returns the value of attribute password.



3601
3602
3603
# File 'lib/v_paypal/default.rb', line 3601

def password
  @password
end

#recurrencesObject

Returns the value of attribute recurrences.



3602
3603
3604
# File 'lib/v_paypal/default.rb', line 3602

def recurrences
  @recurrences
end

#retryTimeObject

Returns the value of attribute retryTime.



3599
3600
3601
# File 'lib/v_paypal/default.rb', line 3599

def retryTime
  @retryTime
end

#subscriptionDateObject

Returns the value of attribute subscriptionDate.



3597
3598
3599
# File 'lib/v_paypal/default.rb', line 3597

def subscriptionDate
  @subscriptionDate
end

#subscriptionIDObject

Returns the value of attribute subscriptionID.



3596
3597
3598
# File 'lib/v_paypal/default.rb', line 3596

def subscriptionID
  @subscriptionID
end

#termsObject

Returns the value of attribute terms.



3603
3604
3605
# File 'lib/v_paypal/default.rb', line 3603

def terms
  @terms
end

#usernameObject

Returns the value of attribute username.



3600
3601
3602
# File 'lib/v_paypal/default.rb', line 3600

def username
  @username
end

Instance Method Details

#xmlattr_reattemptObject



3605
3606
3607
# File 'lib/v_paypal/default.rb', line 3605

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

#xmlattr_reattempt=(value) ⇒ Object



3609
3610
3611
# File 'lib/v_paypal/default.rb', line 3609

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

#xmlattr_recurringObject



3613
3614
3615
# File 'lib/v_paypal/default.rb', line 3613

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

#xmlattr_recurring=(value) ⇒ Object



3617
3618
3619
# File 'lib/v_paypal/default.rb', line 3617

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