Class: EBay::MaximumBuyerPolicyViolationsDetailsType

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

Overview

urn:ebay:apis:eBLBaseComponentsMaximumBuyerPolicyViolationsDetailsType

numberOfPolicyViolations - EBay::NumberOfPolicyViolationsDetailsType
policyViolationDuration - EBay::PolicyViolationDurationDetailsType

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(numberOfPolicyViolations = nil, policyViolationDuration = []) ⇒ MaximumBuyerPolicyViolationsDetailsType

Returns a new instance of MaximumBuyerPolicyViolationsDetailsType.



26801
26802
26803
26804
26805
# File 'lib/eBay.rb', line 26801

def initialize(numberOfPolicyViolations = nil, policyViolationDuration = [])
  @numberOfPolicyViolations = numberOfPolicyViolations
  @policyViolationDuration = policyViolationDuration
  @__xmlele_any = nil
end

Instance Attribute Details

#__xmlele_anyObject (readonly)

Returns the value of attribute __xmlele_any.



26795
26796
26797
# File 'lib/eBay.rb', line 26795

def __xmlele_any
  @__xmlele_any
end

#numberOfPolicyViolationsObject

Returns the value of attribute numberOfPolicyViolations.



26793
26794
26795
# File 'lib/eBay.rb', line 26793

def numberOfPolicyViolations
  @numberOfPolicyViolations
end

#policyViolationDurationObject

Returns the value of attribute policyViolationDuration.



26794
26795
26796
# File 'lib/eBay.rb', line 26794

def policyViolationDuration
  @policyViolationDuration
end

Instance Method Details

#set_any(elements) ⇒ Object



26797
26798
26799
# File 'lib/eBay.rb', line 26797

def set_any(elements)
  @__xmlele_any = elements
end