Class: SubscriptionTermsType
- Inherits:
-
Object
- Object
- SubscriptionTermsType
- Defined in:
- lib/paypal-business/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
-
#amount ⇒ Object
Returns the value of attribute amount.
Instance Method Summary collapse
-
#initialize(amount = nil) ⇒ SubscriptionTermsType
constructor
A new instance of SubscriptionTermsType.
- #xmlattr_period ⇒ Object
- #xmlattr_period=(value) ⇒ Object
Constructor Details
#initialize(amount = nil) ⇒ SubscriptionTermsType
Returns a new instance of SubscriptionTermsType.
3754 3755 3756 3757 |
# File 'lib/paypal-business/default.rb', line 3754 def initialize(amount = nil) @amount = amount @__xmlattr = {} end |
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount.
3744 3745 3746 |
# File 'lib/paypal-business/default.rb', line 3744 def amount @amount end |
Instance Method Details
#xmlattr_period ⇒ Object
3746 3747 3748 |
# File 'lib/paypal-business/default.rb', line 3746 def xmlattr_period (@__xmlattr ||= {})[XSD::QName.new(nil, "period")] end |
#xmlattr_period=(value) ⇒ Object
3750 3751 3752 |
# File 'lib/paypal-business/default.rb', line 3750 def xmlattr_period=(value) (@__xmlattr ||= {})[XSD::QName.new(nil, "period")] = value end |