Class: AdCenterWrapper::ICustomerBillingService

Inherits:
SOAP::RPC::Driver
  • Object
show all
Defined in:
lib/CustomerBillingServiceDriver.rb

Constant Summary collapse

DefaultEndpointUrl =
"https://sharedservices.adcenterapi.microsoft.com/Api/Billing/v8/CustomerBillingService.svc"
Methods =
[
  [ "GetInvoicesInfo",
    "getInvoicesInfo",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesInfoRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesInfoResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiBatchFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiBatchFaultFault"}} }
  ],
  [ "GetInvoices",
    "getInvoices",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInvoicesResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiBatchFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiBatchFaultFault"}} }
  ],
  [ "GetDisplayInvoices",
    "getDisplayInvoices",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetDisplayInvoicesRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetDisplayInvoicesResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiBatchFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiBatchFaultFault"}} }
  ],
  [ "AddInsertionOrder",
    "addInsertionOrder",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "AddInsertionOrderRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "AddInsertionOrderResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
  ],
  [ "UpdateInsertionOrder",
    "updateInsertionOrder",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "UpdateInsertionOrderRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "UpdateInsertionOrderResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
  ],
  [ "GetInsertionOrdersByAccount",
    "getInsertionOrdersByAccount",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInsertionOrdersByAccountRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetInsertionOrdersByAccountResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
  ],
  [ "GetKOHIOInvoices",
    "getKOHIOInvoices",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetKOHIOInvoicesRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetKOHIOInvoicesResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}, "AdCenterWrapper::ApiBatchFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiBatchFaultFault"}} }
  ],
  [ "GetAccountMonthlySpend",
    "getAccountMonthlySpend",
    [ ["in", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetAccountMonthlySpendRequest"]],
      ["out", "parameters", ["::SOAP::SOAPElement", "https://adcenter.microsoft.com/api/customerbilling", "GetAccountMonthlySpendResponse"]] ],
    { :request_style =>  :document, :request_use =>  :literal,
      :response_style => :document, :response_use => :literal,
      :faults => {"AdCenterWrapper::ApiFaultFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"ApiFaultFault"}, "AdCenterWrapper::AdApiFaultDetailFault"=>{:encodingstyle=>"document", :use=>"literal", :ns=>"https://adcenter.microsoft.com/api/customerbilling", :namespace=>nil, :name=>"AdApiFaultDetailFault"}} }
  ]
]

Instance Method Summary collapse

Constructor Details

#initialize(endpoint_url = nil) ⇒ ICustomerBillingService

Returns a new instance of ICustomerBillingService.



77
78
79
80
81
82
83
# File 'lib/CustomerBillingServiceDriver.rb', line 77

def initialize(endpoint_url = nil)
  endpoint_url ||= DefaultEndpointUrl
  super(endpoint_url, nil)
  self.mapping_registry = CustomerBillingServiceMappingRegistry::EncodedRegistry
  self.literal_mapping_registry = CustomerBillingServiceMappingRegistry::LiteralRegistry
  init_methods
end