Class: SubscriptionTermsType

Inherits:
Object
  • Object
show all
Defined in:
lib/v_paypal/default.rb

Overview

urn:ebay:apis:eBLBaseComponentsSubscriptionTermsType

Constant Summary collapse

@@schema_type =
"SubscriptionTermsType"
@@schema_ns =
"urn:ebay:apis:eBLBaseComponents"
@@schema_attribute =
{
  XSD::QName.new(nil, "period") => "SOAP::SOAPString"
}
@@schema_element =
[
  ["amount", ["BasicAmountType", XSD::QName.new("urn:ebay:apis:eBLBaseComponents", "Amount")]]
]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(amount = nil) ⇒ SubscriptionTermsType

Returns a new instance of SubscriptionTermsType.



3571
3572
3573
3574
# File 'lib/v_paypal/default.rb', line 3571

def initialize(amount = nil)
  @amount = amount
  @__xmlattr = {}
end

Instance Attribute Details

#amountObject

Returns the value of attribute amount.



3561
3562
3563
# File 'lib/v_paypal/default.rb', line 3561

def amount
  @amount
end

Instance Method Details

#xmlattr_periodObject



3563
3564
3565
# File 'lib/v_paypal/default.rb', line 3563

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

#xmlattr_period=(value) ⇒ Object



3567
3568
3569
# File 'lib/v_paypal/default.rb', line 3567

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