Class: OrderStruct

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

Overview

Constant Summary collapse

@@schema_type =
"orderStruct"
@@schema_ns =
"http://soapi.ovh.com/manager"
@@schema_element =
[["orderId", ["SOAP::SOAPInt", XSD::QName.new(nil, "orderId")]], ["orderPassword", ["SOAP::SOAPString", XSD::QName.new(nil, "orderPassword")]], ["orderUrl", ["SOAP::SOAPString", XSD::QName.new(nil, "orderUrl")]], ["isPaid", ["SOAP::SOAPBoolean", XSD::QName.new(nil, "isPaid")]], ["paymentStatus", ["SOAP::SOAPString", XSD::QName.new(nil, "paymentStatus")]]]

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orderId = nil, orderPassword = nil, orderUrl = nil, isPaid = nil, paymentStatus = nil) ⇒ OrderStruct

Returns a new instance of OrderStruct.



1912
1913
1914
1915
1916
1917
1918
# File 'lib/ovhrb/manager/manager.rb', line 1912

def initialize(orderId = nil, orderPassword = nil, orderUrl = nil, isPaid = nil, paymentStatus = nil)
  @orderId = orderId
  @orderPassword = orderPassword
  @orderUrl = orderUrl
  @isPaid = isPaid
  @paymentStatus = paymentStatus
end

Instance Attribute Details

#isPaidObject

Returns the value of attribute isPaid.



1909
1910
1911
# File 'lib/ovhrb/manager/manager.rb', line 1909

def isPaid
  @isPaid
end

#orderIdObject

Returns the value of attribute orderId.



1906
1907
1908
# File 'lib/ovhrb/manager/manager.rb', line 1906

def orderId
  @orderId
end

#orderPasswordObject

Returns the value of attribute orderPassword.



1907
1908
1909
# File 'lib/ovhrb/manager/manager.rb', line 1907

def orderPassword
  @orderPassword
end

#orderUrlObject

Returns the value of attribute orderUrl.



1908
1909
1910
# File 'lib/ovhrb/manager/manager.rb', line 1908

def orderUrl
  @orderUrl
end

#paymentStatusObject

Returns the value of attribute paymentStatus.



1910
1911
1912
# File 'lib/ovhrb/manager/manager.rb', line 1910

def paymentStatus
  @paymentStatus
end