Class: SubscriptionTermsType
- Inherits:
-
Object
- Object
- SubscriptionTermsType
- 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
-
#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.
3571 3572 3573 3574 |
# File 'lib/v_paypal/default.rb', line 3571 def initialize(amount = nil) @amount = amount @__xmlattr = {} end |
Instance Attribute Details
#amount ⇒ Object
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_period ⇒ Object
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 |