ysm4r 0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Authors.txt +2 -0
- data/ChangeLog.txt +1 -0
- data/License.txt +13 -0
- data/Rakefile +209 -0
- data/Readme.txt +4 -0
- data/clean.sh +3 -0
- data/lib/soapex/driver.rb +13 -0
- data/lib/soapex/error.rb +49 -0
- data/lib/soapex/mapping.rb +31 -0
- data/lib/soapex/wsdl2ruby.rb +166 -0
- data/lib/ysm4r.rb +4 -0
- data/lib/ysm4r/client.rb +120 -0
- data/lib/ysm4r/service.rb +68 -0
- data/lib/ysm4r/v1/AccountService.rb +370 -0
- data/lib/ysm4r/v1/AccountServiceDriver.rb +162 -0
- data/lib/ysm4r/v1/AccountServiceMappingRegistry.rb +509 -0
- data/lib/ysm4r/v1/AdGroupService.rb +649 -0
- data/lib/ysm4r/v1/AdGroupServiceDriver.rb +226 -0
- data/lib/ysm4r/v1/AdGroupServiceMappingRegistry.rb +864 -0
- data/lib/ysm4r/v1/AdService.rb +533 -0
- data/lib/ysm4r/v1/AdServiceDriver.rb +178 -0
- data/lib/ysm4r/v1/AdServiceMappingRegistry.rb +753 -0
- data/lib/ysm4r/v1/BasicReportService.rb +259 -0
- data/lib/ysm4r/v1/BasicReportServiceDriver.rb +98 -0
- data/lib/ysm4r/v1/BasicReportServiceMappingRegistry.rb +389 -0
- data/lib/ysm4r/v1/BidInformationService.rb +69 -0
- data/lib/ysm4r/v1/BidInformationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/BidInformationServiceMappingRegistry.rb +135 -0
- data/lib/ysm4r/v1/BudgetingService.rb +161 -0
- data/lib/ysm4r/v1/BudgetingServiceDriver.rb +98 -0
- data/lib/ysm4r/v1/BudgetingServiceMappingRegistry.rb +230 -0
- data/lib/ysm4r/v1/CampaignService.rb +644 -0
- data/lib/ysm4r/v1/CampaignServiceDriver.rb +210 -0
- data/lib/ysm4r/v1/CampaignServiceMappingRegistry.rb +909 -0
- data/lib/ysm4r/v1/ExcludedWordsService.rb +294 -0
- data/lib/ysm4r/v1/ExcludedWordsServiceDriver.rb +122 -0
- data/lib/ysm4r/v1/ExcludedWordsServiceMappingRegistry.rb +469 -0
- data/lib/ysm4r/v1/ForecastService.rb +200 -0
- data/lib/ysm4r/v1/ForecastServiceDriver.rb +66 -0
- data/lib/ysm4r/v1/ForecastServiceMappingRegistry.rb +359 -0
- data/lib/ysm4r/v1/KeywordResearchService.rb +290 -0
- data/lib/ysm4r/v1/KeywordResearchServiceDriver.rb +66 -0
- data/lib/ysm4r/v1/KeywordResearchServiceMappingRegistry.rb +548 -0
- data/lib/ysm4r/v1/KeywordService.rb +671 -0
- data/lib/ysm4r/v1/KeywordServiceDriver.rb +218 -0
- data/lib/ysm4r/v1/KeywordServiceMappingRegistry.rb +913 -0
- data/lib/ysm4r/v1/LocationService.rb +53 -0
- data/lib/ysm4r/v1/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v1/MasterAccountService.rb +289 -0
- data/lib/ysm4r/v1/MasterAccountServiceDriver.rb +74 -0
- data/lib/ysm4r/v1/MasterAccountServiceMappingRegistry.rb +414 -0
- data/lib/ysm4r/v1/UpgradeService.rb +72 -0
- data/lib/ysm4r/v1/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v1/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v1/UserManagementService.rb +766 -0
- data/lib/ysm4r/v1/UserManagementServiceDriver.rb +290 -0
- data/lib/ysm4r/v1/UserManagementServiceMappingRegistry.rb +1057 -0
- data/lib/ysm4r/v1/sandbox/LocationService.rb +53 -0
- data/lib/ysm4r/v1/sandbox/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v1/sandbox/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v1/sandbox/UpgradeService.rb +72 -0
- data/lib/ysm4r/v1/sandbox/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v1/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v2/AccountService.rb +372 -0
- data/lib/ysm4r/v2/AccountServiceDriver.rb +162 -0
- data/lib/ysm4r/v2/AccountServiceMappingRegistry.rb +510 -0
- data/lib/ysm4r/v2/AdGroupService.rb +649 -0
- data/lib/ysm4r/v2/AdGroupServiceDriver.rb +226 -0
- data/lib/ysm4r/v2/AdGroupServiceMappingRegistry.rb +864 -0
- data/lib/ysm4r/v2/AdService.rb +553 -0
- data/lib/ysm4r/v2/AdServiceDriver.rb +186 -0
- data/lib/ysm4r/v2/AdServiceMappingRegistry.rb +774 -0
- data/lib/ysm4r/v2/BasicReportService.rb +272 -0
- data/lib/ysm4r/v2/BasicReportServiceDriver.rb +98 -0
- data/lib/ysm4r/v2/BasicReportServiceMappingRegistry.rb +389 -0
- data/lib/ysm4r/v2/BidInformationService.rb +109 -0
- data/lib/ysm4r/v2/BidInformationServiceDriver.rb +66 -0
- data/lib/ysm4r/v2/BidInformationServiceMappingRegistry.rb +177 -0
- data/lib/ysm4r/v2/BudgetingService.rb +161 -0
- data/lib/ysm4r/v2/BudgetingServiceDriver.rb +98 -0
- data/lib/ysm4r/v2/BudgetingServiceMappingRegistry.rb +230 -0
- data/lib/ysm4r/v2/CampaignService.rb +644 -0
- data/lib/ysm4r/v2/CampaignServiceDriver.rb +210 -0
- data/lib/ysm4r/v2/CampaignServiceMappingRegistry.rb +909 -0
- data/lib/ysm4r/v2/CompanyService.rb +68 -0
- data/lib/ysm4r/v2/CompanyServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/CompanyServiceMappingRegistry.rb +136 -0
- data/lib/ysm4r/v2/ExcludedWordsService.rb +294 -0
- data/lib/ysm4r/v2/ExcludedWordsServiceDriver.rb +122 -0
- data/lib/ysm4r/v2/ExcludedWordsServiceMappingRegistry.rb +469 -0
- data/lib/ysm4r/v2/ForecastService.rb +200 -0
- data/lib/ysm4r/v2/ForecastServiceDriver.rb +66 -0
- data/lib/ysm4r/v2/ForecastServiceMappingRegistry.rb +359 -0
- data/lib/ysm4r/v2/KeywordResearchService.rb +369 -0
- data/lib/ysm4r/v2/KeywordResearchServiceDriver.rb +82 -0
- data/lib/ysm4r/v2/KeywordResearchServiceMappingRegistry.rb +673 -0
- data/lib/ysm4r/v2/KeywordService.rb +691 -0
- data/lib/ysm4r/v2/KeywordServiceDriver.rb +226 -0
- data/lib/ysm4r/v2/KeywordServiceMappingRegistry.rb +934 -0
- data/lib/ysm4r/v2/LocationService.rb +53 -0
- data/lib/ysm4r/v2/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v2/MasterAccountService.rb +332 -0
- data/lib/ysm4r/v2/MasterAccountServiceDriver.rb +82 -0
- data/lib/ysm4r/v2/MasterAccountServiceMappingRegistry.rb +480 -0
- data/lib/ysm4r/v2/UpgradeService.rb +72 -0
- data/lib/ysm4r/v2/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v2/UpgradeServiceMappingRegistry.rb +145 -0
- data/lib/ysm4r/v2/UserManagementService.rb +766 -0
- data/lib/ysm4r/v2/UserManagementServiceDriver.rb +290 -0
- data/lib/ysm4r/v2/UserManagementServiceMappingRegistry.rb +1057 -0
- data/lib/ysm4r/v2/sandbox/LocationService.rb +53 -0
- data/lib/ysm4r/v2/sandbox/LocationServiceDriver.rb +50 -0
- data/lib/ysm4r/v2/sandbox/LocationServiceMappingRegistry.rb +111 -0
- data/lib/ysm4r/v2/sandbox/UpgradeService.rb +72 -0
- data/lib/ysm4r/v2/sandbox/UpgradeServiceDriver.rb +58 -0
- data/lib/ysm4r/v2/sandbox/UpgradeServiceMappingRegistry.rb +145 -0
- data/setup.rb +1585 -0
- data/test/test_campaign_service.rb +12 -0
- data/test/test_keyword_research_service.rb +15 -0
- data/test/test_master_account_service.rb +18 -0
- data/ysm.properties +6 -0
- metadata +171 -0
@@ -0,0 +1,72 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module YSM::UpgradeService
|
4
|
+
|
5
|
+
|
6
|
+
# {http://marketing.ews.yahooapis.com/V2}ApiFault
|
7
|
+
class ApiFault < ::StandardError
|
8
|
+
attr_accessor :code
|
9
|
+
attr_accessor :message
|
10
|
+
|
11
|
+
def initialize(code = nil, message = nil)
|
12
|
+
@code = code
|
13
|
+
@message = message
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfString
|
18
|
+
class ArrayOfString < ::Array
|
19
|
+
end
|
20
|
+
|
21
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}Security
|
22
|
+
class Security
|
23
|
+
attr_accessor :usernameToken
|
24
|
+
|
25
|
+
def initialize(usernameToken = nil)
|
26
|
+
@usernameToken = usernameToken
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}UsernameToken
|
31
|
+
class UsernameToken
|
32
|
+
attr_accessor :username
|
33
|
+
attr_accessor :password
|
34
|
+
|
35
|
+
def initialize(username = nil, password = nil)
|
36
|
+
@username = username
|
37
|
+
@password = password
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
# {http://marketing.ews.yahooapis.com/V2}getMasterAccountLocationForUpgradePreview
|
42
|
+
class GetMasterAccountLocationForUpgradePreview
|
43
|
+
def initialize
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# {http://marketing.ews.yahooapis.com/V2}getMasterAccountLocationForUpgradePreviewResponse
|
48
|
+
class GetMasterAccountLocationForUpgradePreviewResponse
|
49
|
+
attr_accessor :out
|
50
|
+
|
51
|
+
def initialize(out = nil)
|
52
|
+
@out = out
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# {http://marketing.ews.yahooapis.com/V2}getAccountsForUpgradePreview
|
57
|
+
class GetAccountsForUpgradePreview
|
58
|
+
def initialize
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
# {http://marketing.ews.yahooapis.com/V2}getAccountsForUpgradePreviewResponse
|
63
|
+
class GetAccountsForUpgradePreviewResponse
|
64
|
+
attr_accessor :out
|
65
|
+
|
66
|
+
def initialize(out = nil)
|
67
|
+
@out = out
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
end
|
@@ -0,0 +1,58 @@
|
|
1
|
+
require 'ysm4r/v2/UpgradeServiceMappingRegistry'
|
2
|
+
|
3
|
+
|
4
|
+
module YSM::UpgradeService
|
5
|
+
require 'soap/rpc/driver'
|
6
|
+
|
7
|
+
class UpgradeService < ::SOAP::RPC::Driver
|
8
|
+
DefaultEndpointUrl = "https://global.marketing.ews.yahooapis.com/services/V2/UpgradeService"
|
9
|
+
|
10
|
+
Methods = [
|
11
|
+
[ "",
|
12
|
+
"getMasterAccountLocationForUpgradePreview",
|
13
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getMasterAccountLocationForUpgradePreview"]],
|
14
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getMasterAccountLocationForUpgradePreviewResponse"]] ],
|
15
|
+
{ :request_style => :document, :request_use => :literal,
|
16
|
+
:response_style => :document, :response_use => :literal,
|
17
|
+
:faults => {"YSM::UpgradeService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
|
18
|
+
],
|
19
|
+
[ "",
|
20
|
+
"getAccountsForUpgradePreview",
|
21
|
+
[ ["in", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getAccountsForUpgradePreview"]],
|
22
|
+
["out", "parameters", ["::SOAP::SOAPElement", "http://marketing.ews.yahooapis.com/V2", "getAccountsForUpgradePreviewResponse"]] ],
|
23
|
+
{ :request_style => :document, :request_use => :literal,
|
24
|
+
:response_style => :document, :response_use => :literal,
|
25
|
+
:faults => {"YSM::UpgradeService::ApiFault"=>{:name=>"ApiFault", :encodingstyle=>"document", :namespace=>nil, :ns=>"http://marketing.ews.yahooapis.com/V2", :use=>"literal"}} }
|
26
|
+
]
|
27
|
+
]
|
28
|
+
|
29
|
+
def initialize(endpoint_url = nil)
|
30
|
+
endpoint_url ||= DefaultEndpointUrl
|
31
|
+
super(endpoint_url, nil)
|
32
|
+
self.mapping_registry = DefaultMappingRegistry::EncodedRegistry
|
33
|
+
self.literal_mapping_registry = DefaultMappingRegistry::LiteralRegistry
|
34
|
+
init_methods
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def init_methods
|
40
|
+
Methods.each do |definitions|
|
41
|
+
opt = definitions.last
|
42
|
+
if opt[:request_style] == :document
|
43
|
+
add_document_operation(*definitions)
|
44
|
+
else
|
45
|
+
add_rpc_operation(*definitions)
|
46
|
+
qname = definitions[0]
|
47
|
+
name = definitions[2]
|
48
|
+
if qname.name != name and qname.name.capitalize == name.capitalize
|
49
|
+
::SOAP::Mapping.define_singleton_method(self, qname.name) do |*arg|
|
50
|
+
__send__(name, *arg)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
@@ -0,0 +1,145 @@
|
|
1
|
+
require 'ysm4r/v2/UpgradeService'
|
2
|
+
require 'soap/mapping'
|
3
|
+
|
4
|
+
module YSM; module UpgradeService
|
5
|
+
|
6
|
+
module DefaultMappingRegistry
|
7
|
+
EncodedRegistry = ::SOAP::Mapping::EncodedRegistry.new
|
8
|
+
LiteralRegistry = ::SOAP::Mapping::LiteralRegistry.new
|
9
|
+
|
10
|
+
EncodedRegistry.register(
|
11
|
+
:class => YSM::UpgradeService::ApiFault,
|
12
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
13
|
+
:schema_type => "ApiFault",
|
14
|
+
:schema_element => [
|
15
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
16
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
17
|
+
]
|
18
|
+
)
|
19
|
+
|
20
|
+
EncodedRegistry.set(
|
21
|
+
YSM::UpgradeService::ArrayOfString,
|
22
|
+
::SOAP::SOAPArray,
|
23
|
+
::SOAP::Mapping::EncodedRegistry::TypedArrayFactory,
|
24
|
+
{ :type => XSD::QName.new("http://www.w3.org/2001/XMLSchema", "string") }
|
25
|
+
)
|
26
|
+
|
27
|
+
EncodedRegistry.register(
|
28
|
+
:class => YSM::UpgradeService::Security,
|
29
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
30
|
+
:schema_type => "Security",
|
31
|
+
:schema_element => [
|
32
|
+
["usernameToken", ["YSM::UpgradeService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]]
|
33
|
+
]
|
34
|
+
)
|
35
|
+
|
36
|
+
EncodedRegistry.register(
|
37
|
+
:class => YSM::UpgradeService::UsernameToken,
|
38
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
39
|
+
:schema_type => "UsernameToken",
|
40
|
+
:schema_element => [
|
41
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(nil, "Username")]],
|
42
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(nil, "Password")]]
|
43
|
+
]
|
44
|
+
)
|
45
|
+
|
46
|
+
LiteralRegistry.register(
|
47
|
+
:class => YSM::UpgradeService::ApiFault,
|
48
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
49
|
+
:schema_type => "ApiFault",
|
50
|
+
:schema_qualified => false,
|
51
|
+
:schema_element => [
|
52
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
53
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
54
|
+
]
|
55
|
+
)
|
56
|
+
|
57
|
+
LiteralRegistry.register(
|
58
|
+
:class => YSM::UpgradeService::ArrayOfString,
|
59
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
60
|
+
:schema_type => "ArrayOfString",
|
61
|
+
:schema_element => [
|
62
|
+
["string", ["SOAP::SOAPString[]", XSD::QName.new("http://marketing.ews.yahooapis.com/V2", "string")], [0, nil]]
|
63
|
+
]
|
64
|
+
)
|
65
|
+
|
66
|
+
LiteralRegistry.register(
|
67
|
+
:class => YSM::UpgradeService::Security,
|
68
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
69
|
+
:schema_type => "Security",
|
70
|
+
:schema_qualified => false,
|
71
|
+
:schema_element => [
|
72
|
+
["usernameToken", ["YSM::UpgradeService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]]
|
73
|
+
]
|
74
|
+
)
|
75
|
+
|
76
|
+
LiteralRegistry.register(
|
77
|
+
:class => YSM::UpgradeService::UsernameToken,
|
78
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
79
|
+
:schema_type => "UsernameToken",
|
80
|
+
:schema_qualified => false,
|
81
|
+
:schema_element => [
|
82
|
+
["username", ["SOAP::SOAPString", XSD::QName.new(nil, "Username")]],
|
83
|
+
["password", ["SOAP::SOAPString", XSD::QName.new(nil, "Password")]]
|
84
|
+
]
|
85
|
+
)
|
86
|
+
|
87
|
+
LiteralRegistry.register(
|
88
|
+
:class => YSM::UpgradeService::GetMasterAccountLocationForUpgradePreview,
|
89
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
90
|
+
:schema_name => "getMasterAccountLocationForUpgradePreview",
|
91
|
+
:schema_qualified => true,
|
92
|
+
:schema_element => []
|
93
|
+
)
|
94
|
+
|
95
|
+
LiteralRegistry.register(
|
96
|
+
:class => YSM::UpgradeService::GetMasterAccountLocationForUpgradePreviewResponse,
|
97
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
98
|
+
:schema_name => "getMasterAccountLocationForUpgradePreviewResponse",
|
99
|
+
:schema_qualified => true,
|
100
|
+
:schema_element => [
|
101
|
+
["out", "SOAP::SOAPString"]
|
102
|
+
]
|
103
|
+
)
|
104
|
+
|
105
|
+
LiteralRegistry.register(
|
106
|
+
:class => YSM::UpgradeService::ApiFault,
|
107
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
108
|
+
:schema_name => "ApiFault",
|
109
|
+
:schema_qualified => true,
|
110
|
+
:schema_element => [
|
111
|
+
["code", "SOAP::SOAPString", [0, 1]],
|
112
|
+
["message", "SOAP::SOAPString", [0, 1]]
|
113
|
+
]
|
114
|
+
)
|
115
|
+
|
116
|
+
LiteralRegistry.register(
|
117
|
+
:class => YSM::UpgradeService::GetAccountsForUpgradePreview,
|
118
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
119
|
+
:schema_name => "getAccountsForUpgradePreview",
|
120
|
+
:schema_qualified => true,
|
121
|
+
:schema_element => []
|
122
|
+
)
|
123
|
+
|
124
|
+
LiteralRegistry.register(
|
125
|
+
:class => YSM::UpgradeService::GetAccountsForUpgradePreviewResponse,
|
126
|
+
:schema_ns => "http://marketing.ews.yahooapis.com/V2",
|
127
|
+
:schema_name => "getAccountsForUpgradePreviewResponse",
|
128
|
+
:schema_qualified => true,
|
129
|
+
:schema_element => [
|
130
|
+
["out", "YSM::UpgradeService::ArrayOfString"]
|
131
|
+
]
|
132
|
+
)
|
133
|
+
|
134
|
+
LiteralRegistry.register(
|
135
|
+
:class => YSM::UpgradeService::Security,
|
136
|
+
:schema_ns => "http://schemas.xmlsoap.org/ws/2002/07/secext",
|
137
|
+
:schema_name => "Security",
|
138
|
+
:schema_qualified => true,
|
139
|
+
:schema_element => [
|
140
|
+
["usernameToken", ["YSM::UpgradeService::UsernameToken", XSD::QName.new(nil, "UsernameToken")]]
|
141
|
+
]
|
142
|
+
)
|
143
|
+
end
|
144
|
+
|
145
|
+
end; end
|
@@ -0,0 +1,766 @@
|
|
1
|
+
require 'xsd/qname'
|
2
|
+
|
3
|
+
module YSM::UserManagementService
|
4
|
+
|
5
|
+
|
6
|
+
# {http://marketing.ews.yahooapis.com/V2}ApiFault
|
7
|
+
class ApiFault < ::StandardError
|
8
|
+
attr_accessor :code
|
9
|
+
attr_accessor :message
|
10
|
+
|
11
|
+
def initialize(code = nil, message = nil)
|
12
|
+
@code = code
|
13
|
+
@message = message
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
# {http://marketing.ews.yahooapis.com/V2}User
|
18
|
+
class User
|
19
|
+
attr_accessor :email
|
20
|
+
attr_accessor :fax
|
21
|
+
attr_accessor :firstName
|
22
|
+
attr_accessor :firstNameFurigana
|
23
|
+
attr_accessor :lastName
|
24
|
+
attr_accessor :lastNameFurigana
|
25
|
+
attr_accessor :locale
|
26
|
+
attr_accessor :middleInitial
|
27
|
+
attr_accessor :mobilePhone
|
28
|
+
attr_accessor :timezone
|
29
|
+
attr_accessor :title
|
30
|
+
attr_accessor :workPhone
|
31
|
+
|
32
|
+
def initialize(email = nil, fax = nil, firstName = nil, firstNameFurigana = nil, lastName = nil, lastNameFurigana = nil, locale = nil, middleInitial = nil, mobilePhone = nil, timezone = nil, title = nil, workPhone = nil)
|
33
|
+
@email = email
|
34
|
+
@fax = fax
|
35
|
+
@firstName = firstName
|
36
|
+
@firstNameFurigana = firstNameFurigana
|
37
|
+
@lastName = lastName
|
38
|
+
@lastNameFurigana = lastNameFurigana
|
39
|
+
@locale = locale
|
40
|
+
@middleInitial = middleInitial
|
41
|
+
@mobilePhone = mobilePhone
|
42
|
+
@timezone = timezone
|
43
|
+
@title = title
|
44
|
+
@workPhone = workPhone
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
# {http://marketing.ews.yahooapis.com/V2}Address
|
49
|
+
class Address
|
50
|
+
attr_accessor :address1
|
51
|
+
attr_accessor :address2
|
52
|
+
attr_accessor :address3
|
53
|
+
attr_accessor :city
|
54
|
+
attr_accessor :country
|
55
|
+
attr_accessor :county
|
56
|
+
attr_accessor :postalCode
|
57
|
+
attr_accessor :province
|
58
|
+
attr_accessor :state
|
59
|
+
attr_accessor :todofuken
|
60
|
+
|
61
|
+
def initialize(address1 = nil, address2 = nil, address3 = nil, city = nil, country = nil, county = nil, postalCode = nil, province = nil, state = nil, todofuken = nil)
|
62
|
+
@address1 = address1
|
63
|
+
@address2 = address2
|
64
|
+
@address3 = address3
|
65
|
+
@city = city
|
66
|
+
@country = country
|
67
|
+
@county = county
|
68
|
+
@postalCode = postalCode
|
69
|
+
@province = province
|
70
|
+
@state = state
|
71
|
+
@todofuken = todofuken
|
72
|
+
end
|
73
|
+
end
|
74
|
+
|
75
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfPaymentMethodInfo
|
76
|
+
class ArrayOfPaymentMethodInfo < ::Array
|
77
|
+
end
|
78
|
+
|
79
|
+
# {http://marketing.ews.yahooapis.com/V2}PaymentMethodInfo
|
80
|
+
class PaymentMethodInfo
|
81
|
+
attr_accessor :iD
|
82
|
+
attr_accessor :billingAddress
|
83
|
+
attr_accessor :billingUser
|
84
|
+
attr_accessor :displayNumber
|
85
|
+
attr_accessor :expirationDate
|
86
|
+
|
87
|
+
def initialize(iD = nil, billingAddress = nil, billingUser = nil, displayNumber = nil, expirationDate = nil)
|
88
|
+
@iD = iD
|
89
|
+
@billingAddress = billingAddress
|
90
|
+
@billingUser = billingUser
|
91
|
+
@displayNumber = displayNumber
|
92
|
+
@expirationDate = expirationDate
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# {http://marketing.ews.yahooapis.com/V2}BillingUser
|
97
|
+
class BillingUser
|
98
|
+
attr_accessor :email
|
99
|
+
attr_accessor :firstName
|
100
|
+
attr_accessor :lastName
|
101
|
+
attr_accessor :middleInitial
|
102
|
+
attr_accessor :phone
|
103
|
+
|
104
|
+
def initialize(email = nil, firstName = nil, lastName = nil, middleInitial = nil, phone = nil)
|
105
|
+
@email = email
|
106
|
+
@firstName = firstName
|
107
|
+
@lastName = lastName
|
108
|
+
@middleInitial = middleInitial
|
109
|
+
@phone = phone
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfAuthorization
|
114
|
+
class ArrayOfAuthorization < ::Array
|
115
|
+
end
|
116
|
+
|
117
|
+
# {http://marketing.ews.yahooapis.com/V2}Authorization
|
118
|
+
class Authorization
|
119
|
+
attr_accessor :accountID
|
120
|
+
attr_accessor :accountType
|
121
|
+
attr_accessor :role
|
122
|
+
|
123
|
+
def initialize(accountID = nil, accountType = nil, role = nil)
|
124
|
+
@accountID = accountID
|
125
|
+
@accountType = accountType
|
126
|
+
@role = role
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
# {http://marketing.ews.yahooapis.com/V2}Role
|
131
|
+
class Role
|
132
|
+
attr_accessor :name
|
133
|
+
|
134
|
+
def initialize(name = nil)
|
135
|
+
@name = name
|
136
|
+
end
|
137
|
+
end
|
138
|
+
|
139
|
+
# {http://marketing.ews.yahooapis.com/V2}CreditCardInfo
|
140
|
+
class CreditCardInfo
|
141
|
+
attr_accessor :cardNumber
|
142
|
+
attr_accessor :cardType
|
143
|
+
attr_accessor :expMonth
|
144
|
+
attr_accessor :expYear
|
145
|
+
attr_accessor :securityCode
|
146
|
+
|
147
|
+
def initialize(cardNumber = nil, cardType = nil, expMonth = nil, expYear = nil, securityCode = nil)
|
148
|
+
@cardNumber = cardNumber
|
149
|
+
@cardType = cardType
|
150
|
+
@expMonth = expMonth
|
151
|
+
@expYear = expYear
|
152
|
+
@securityCode = securityCode
|
153
|
+
end
|
154
|
+
end
|
155
|
+
|
156
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfString
|
157
|
+
class ArrayOfString < ::Array
|
158
|
+
end
|
159
|
+
|
160
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfUserAuthorization
|
161
|
+
class ArrayOfUserAuthorization < ::Array
|
162
|
+
end
|
163
|
+
|
164
|
+
# {http://marketing.ews.yahooapis.com/V2}UserAuthorization
|
165
|
+
class UserAuthorization
|
166
|
+
attr_accessor :accountID
|
167
|
+
attr_accessor :role
|
168
|
+
attr_accessor :username
|
169
|
+
|
170
|
+
def initialize(accountID = nil, role = nil, username = nil)
|
171
|
+
@accountID = accountID
|
172
|
+
@role = role
|
173
|
+
@username = username
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
177
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfCapability
|
178
|
+
class ArrayOfCapability < ::Array
|
179
|
+
end
|
180
|
+
|
181
|
+
# {http://marketing.ews.yahooapis.com/V2}Capability
|
182
|
+
class Capability
|
183
|
+
attr_accessor :description
|
184
|
+
attr_accessor :name
|
185
|
+
|
186
|
+
def initialize(description = nil, name = nil)
|
187
|
+
@description = description
|
188
|
+
@name = name
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# {http://marketing.ews.yahooapis.com/V2}ArrayOfRole
|
193
|
+
class ArrayOfRole < ::Array
|
194
|
+
end
|
195
|
+
|
196
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}Security
|
197
|
+
class Security
|
198
|
+
attr_accessor :usernameToken
|
199
|
+
|
200
|
+
def initialize(usernameToken = nil)
|
201
|
+
@usernameToken = usernameToken
|
202
|
+
end
|
203
|
+
end
|
204
|
+
|
205
|
+
# {http://schemas.xmlsoap.org/ws/2002/07/secext}UsernameToken
|
206
|
+
class UsernameToken
|
207
|
+
attr_accessor :username
|
208
|
+
attr_accessor :password
|
209
|
+
|
210
|
+
def initialize(username = nil, password = nil)
|
211
|
+
@username = username
|
212
|
+
@password = password
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
# {http://marketing.ews.yahooapis.com/V2}UserStatus
|
217
|
+
class UserStatus < ::String
|
218
|
+
Active = UserStatus.new("Active")
|
219
|
+
Disabled = UserStatus.new("Disabled")
|
220
|
+
Staged = UserStatus.new("Staged")
|
221
|
+
end
|
222
|
+
|
223
|
+
# {http://marketing.ews.yahooapis.com/V2}AccountType
|
224
|
+
class AccountType < ::String
|
225
|
+
Account = AccountType.new("Account")
|
226
|
+
MasterAccount = AccountType.new("MasterAccount")
|
227
|
+
end
|
228
|
+
|
229
|
+
# {http://marketing.ews.yahooapis.com/V2}resetUserPassword
|
230
|
+
class ResetUserPassword
|
231
|
+
attr_accessor :username
|
232
|
+
|
233
|
+
def initialize(username = nil)
|
234
|
+
@username = username
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
# {http://marketing.ews.yahooapis.com/V2}resetUserPasswordResponse
|
239
|
+
class ResetUserPasswordResponse
|
240
|
+
def initialize
|
241
|
+
end
|
242
|
+
end
|
243
|
+
|
244
|
+
# {http://marketing.ews.yahooapis.com/V2}addUser
|
245
|
+
class AddUser
|
246
|
+
attr_accessor :username
|
247
|
+
attr_accessor :userInfo
|
248
|
+
attr_accessor :address
|
249
|
+
|
250
|
+
def initialize(username = nil, userInfo = nil, address = nil)
|
251
|
+
@username = username
|
252
|
+
@userInfo = userInfo
|
253
|
+
@address = address
|
254
|
+
end
|
255
|
+
end
|
256
|
+
|
257
|
+
# {http://marketing.ews.yahooapis.com/V2}addUserResponse
|
258
|
+
class AddUserResponse
|
259
|
+
def initialize
|
260
|
+
end
|
261
|
+
end
|
262
|
+
|
263
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserStatus
|
264
|
+
class GetUserStatus
|
265
|
+
attr_accessor :username
|
266
|
+
|
267
|
+
def initialize(username = nil)
|
268
|
+
@username = username
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserStatusResponse
|
273
|
+
class GetUserStatusResponse
|
274
|
+
attr_accessor :out
|
275
|
+
|
276
|
+
def initialize(out = nil)
|
277
|
+
@out = out
|
278
|
+
end
|
279
|
+
end
|
280
|
+
|
281
|
+
# {http://marketing.ews.yahooapis.com/V2}getPaymentMethods
|
282
|
+
class GetPaymentMethods
|
283
|
+
def initialize
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
# {http://marketing.ews.yahooapis.com/V2}getPaymentMethodsResponse
|
288
|
+
class GetPaymentMethodsResponse
|
289
|
+
attr_accessor :out
|
290
|
+
|
291
|
+
def initialize(out = nil)
|
292
|
+
@out = out
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# {http://marketing.ews.yahooapis.com/V2}addAuthorizationsForUser
|
297
|
+
class AddAuthorizationsForUser
|
298
|
+
attr_accessor :username
|
299
|
+
attr_accessor :authorizations
|
300
|
+
|
301
|
+
def initialize(username = nil, authorizations = nil)
|
302
|
+
@username = username
|
303
|
+
@authorizations = authorizations
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
# {http://marketing.ews.yahooapis.com/V2}addAuthorizationsForUserResponse
|
308
|
+
class AddAuthorizationsForUserResponse
|
309
|
+
def initialize
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# {http://marketing.ews.yahooapis.com/V2}updateCreditCard
|
314
|
+
class UpdateCreditCard
|
315
|
+
attr_accessor :paymentMethodID
|
316
|
+
attr_accessor :billingUserInfo
|
317
|
+
attr_accessor :billingAddress
|
318
|
+
attr_accessor :cc
|
319
|
+
attr_accessor :updateAll
|
320
|
+
|
321
|
+
def initialize(paymentMethodID = nil, billingUserInfo = nil, billingAddress = nil, cc = nil, updateAll = nil)
|
322
|
+
@paymentMethodID = paymentMethodID
|
323
|
+
@billingUserInfo = billingUserInfo
|
324
|
+
@billingAddress = billingAddress
|
325
|
+
@cc = cc
|
326
|
+
@updateAll = updateAll
|
327
|
+
end
|
328
|
+
end
|
329
|
+
|
330
|
+
# {http://marketing.ews.yahooapis.com/V2}updateCreditCardResponse
|
331
|
+
class UpdateCreditCardResponse
|
332
|
+
attr_accessor :out
|
333
|
+
|
334
|
+
def initialize(out = nil)
|
335
|
+
@out = out
|
336
|
+
end
|
337
|
+
end
|
338
|
+
|
339
|
+
# {http://marketing.ews.yahooapis.com/V2}enableUser
|
340
|
+
class EnableUser
|
341
|
+
attr_accessor :username
|
342
|
+
|
343
|
+
def initialize(username = nil)
|
344
|
+
@username = username
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
348
|
+
# {http://marketing.ews.yahooapis.com/V2}enableUserResponse
|
349
|
+
class EnableUserResponse
|
350
|
+
def initialize
|
351
|
+
end
|
352
|
+
end
|
353
|
+
|
354
|
+
# {http://marketing.ews.yahooapis.com/V2}getUsersInCompany
|
355
|
+
class GetUsersInCompany
|
356
|
+
def initialize
|
357
|
+
end
|
358
|
+
end
|
359
|
+
|
360
|
+
# {http://marketing.ews.yahooapis.com/V2}getUsersInCompanyResponse
|
361
|
+
class GetUsersInCompanyResponse
|
362
|
+
attr_accessor :out
|
363
|
+
|
364
|
+
def initialize(out = nil)
|
365
|
+
@out = out
|
366
|
+
end
|
367
|
+
end
|
368
|
+
|
369
|
+
# {http://marketing.ews.yahooapis.com/V2}updateUserAddress
|
370
|
+
class UpdateUserAddress
|
371
|
+
attr_accessor :username
|
372
|
+
attr_accessor :address
|
373
|
+
attr_accessor :updateAll
|
374
|
+
|
375
|
+
def initialize(username = nil, address = nil, updateAll = nil)
|
376
|
+
@username = username
|
377
|
+
@address = address
|
378
|
+
@updateAll = updateAll
|
379
|
+
end
|
380
|
+
end
|
381
|
+
|
382
|
+
# {http://marketing.ews.yahooapis.com/V2}updateUserAddressResponse
|
383
|
+
class UpdateUserAddressResponse
|
384
|
+
def initialize
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
# {http://marketing.ews.yahooapis.com/V2}updateUserInfo
|
389
|
+
class UpdateUserInfo
|
390
|
+
attr_accessor :username
|
391
|
+
attr_accessor :userInfo
|
392
|
+
attr_accessor :updateAll
|
393
|
+
|
394
|
+
def initialize(username = nil, userInfo = nil, updateAll = nil)
|
395
|
+
@username = username
|
396
|
+
@userInfo = userInfo
|
397
|
+
@updateAll = updateAll
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# {http://marketing.ews.yahooapis.com/V2}updateUserInfoResponse
|
402
|
+
class UpdateUserInfoResponse
|
403
|
+
def initialize
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
407
|
+
# {http://marketing.ews.yahooapis.com/V2}getAuthorizedUsersByMasterAccountID
|
408
|
+
class GetAuthorizedUsersByMasterAccountID
|
409
|
+
def initialize
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
# {http://marketing.ews.yahooapis.com/V2}getAuthorizedUsersByMasterAccountIDResponse
|
414
|
+
class GetAuthorizedUsersByMasterAccountIDResponse
|
415
|
+
attr_accessor :out
|
416
|
+
|
417
|
+
def initialize(out = nil)
|
418
|
+
@out = out
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserAddress
|
423
|
+
class GetUserAddress
|
424
|
+
attr_accessor :username
|
425
|
+
|
426
|
+
def initialize(username = nil)
|
427
|
+
@username = username
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserAddressResponse
|
432
|
+
class GetUserAddressResponse
|
433
|
+
attr_accessor :out
|
434
|
+
|
435
|
+
def initialize(out = nil)
|
436
|
+
@out = out
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserEmail
|
441
|
+
class GetUserEmail
|
442
|
+
attr_accessor :username
|
443
|
+
|
444
|
+
def initialize(username = nil)
|
445
|
+
@username = username
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserEmailResponse
|
450
|
+
class GetUserEmailResponse
|
451
|
+
attr_accessor :out
|
452
|
+
|
453
|
+
def initialize(out = nil)
|
454
|
+
@out = out
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
# {http://marketing.ews.yahooapis.com/V2}addAuthorizationForUser
|
459
|
+
class AddAuthorizationForUser
|
460
|
+
attr_accessor :username
|
461
|
+
attr_accessor :authorization
|
462
|
+
|
463
|
+
def initialize(username = nil, authorization = nil)
|
464
|
+
@username = username
|
465
|
+
@authorization = authorization
|
466
|
+
end
|
467
|
+
end
|
468
|
+
|
469
|
+
# {http://marketing.ews.yahooapis.com/V2}addAuthorizationForUserResponse
|
470
|
+
class AddAuthorizationForUserResponse
|
471
|
+
def initialize
|
472
|
+
end
|
473
|
+
end
|
474
|
+
|
475
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyUserInfo
|
476
|
+
class UpdateMyUserInfo
|
477
|
+
attr_accessor :userInfo
|
478
|
+
attr_accessor :updateAll
|
479
|
+
|
480
|
+
def initialize(userInfo = nil, updateAll = nil)
|
481
|
+
@userInfo = userInfo
|
482
|
+
@updateAll = updateAll
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyUserInfoResponse
|
487
|
+
class UpdateMyUserInfoResponse
|
488
|
+
def initialize
|
489
|
+
end
|
490
|
+
end
|
491
|
+
|
492
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAuthorizationForUser
|
493
|
+
class DeleteAuthorizationForUser
|
494
|
+
attr_accessor :username
|
495
|
+
attr_accessor :authorization
|
496
|
+
|
497
|
+
def initialize(username = nil, authorization = nil)
|
498
|
+
@username = username
|
499
|
+
@authorization = authorization
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAuthorizationForUserResponse
|
504
|
+
class DeleteAuthorizationForUserResponse
|
505
|
+
def initialize
|
506
|
+
end
|
507
|
+
end
|
508
|
+
|
509
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyPassword
|
510
|
+
class UpdateMyPassword
|
511
|
+
attr_accessor :newPassword
|
512
|
+
|
513
|
+
def initialize(newPassword = nil)
|
514
|
+
@newPassword = newPassword
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyPasswordResponse
|
519
|
+
class UpdateMyPasswordResponse
|
520
|
+
def initialize
|
521
|
+
end
|
522
|
+
end
|
523
|
+
|
524
|
+
# {http://marketing.ews.yahooapis.com/V2}getMyUserInfo
|
525
|
+
class GetMyUserInfo
|
526
|
+
def initialize
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
# {http://marketing.ews.yahooapis.com/V2}getMyUserInfoResponse
|
531
|
+
class GetMyUserInfoResponse
|
532
|
+
attr_accessor :out
|
533
|
+
|
534
|
+
def initialize(out = nil)
|
535
|
+
@out = out
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
# {http://marketing.ews.yahooapis.com/V2}testUsername
|
540
|
+
class TestUsername
|
541
|
+
attr_accessor :username
|
542
|
+
|
543
|
+
def initialize(username = nil)
|
544
|
+
@username = username
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
# {http://marketing.ews.yahooapis.com/V2}testUsernameResponse
|
549
|
+
class TestUsernameResponse
|
550
|
+
attr_accessor :out
|
551
|
+
|
552
|
+
def initialize(out = nil)
|
553
|
+
@out = out
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyEmail
|
558
|
+
class UpdateMyEmail
|
559
|
+
attr_accessor :email
|
560
|
+
|
561
|
+
def initialize(email = nil)
|
562
|
+
@email = email
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyEmailResponse
|
567
|
+
class UpdateMyEmailResponse
|
568
|
+
def initialize
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
# {http://marketing.ews.yahooapis.com/V2}getCapabilitiesForRole
|
573
|
+
class GetCapabilitiesForRole
|
574
|
+
attr_accessor :role
|
575
|
+
|
576
|
+
def initialize(role = nil)
|
577
|
+
@role = role
|
578
|
+
end
|
579
|
+
end
|
580
|
+
|
581
|
+
# {http://marketing.ews.yahooapis.com/V2}getCapabilitiesForRoleResponse
|
582
|
+
class GetCapabilitiesForRoleResponse
|
583
|
+
attr_accessor :out
|
584
|
+
|
585
|
+
def initialize(out = nil)
|
586
|
+
@out = out
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
# {http://marketing.ews.yahooapis.com/V2}getMyAddress
|
591
|
+
class GetMyAddress
|
592
|
+
def initialize
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
# {http://marketing.ews.yahooapis.com/V2}getMyAddressResponse
|
597
|
+
class GetMyAddressResponse
|
598
|
+
attr_accessor :out
|
599
|
+
|
600
|
+
def initialize(out = nil)
|
601
|
+
@out = out
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
# {http://marketing.ews.yahooapis.com/V2}getAuthorizedUsersByAccountID
|
606
|
+
class GetAuthorizedUsersByAccountID
|
607
|
+
attr_accessor :accountIDs
|
608
|
+
|
609
|
+
def initialize(accountIDs = nil)
|
610
|
+
@accountIDs = accountIDs
|
611
|
+
end
|
612
|
+
end
|
613
|
+
|
614
|
+
# {http://marketing.ews.yahooapis.com/V2}getAuthorizedUsersByAccountIDResponse
|
615
|
+
class GetAuthorizedUsersByAccountIDResponse
|
616
|
+
attr_accessor :out
|
617
|
+
|
618
|
+
def initialize(out = nil)
|
619
|
+
@out = out
|
620
|
+
end
|
621
|
+
end
|
622
|
+
|
623
|
+
# {http://marketing.ews.yahooapis.com/V2}getAuthorizationsForUser
|
624
|
+
class GetAuthorizationsForUser
|
625
|
+
attr_accessor :username
|
626
|
+
|
627
|
+
def initialize(username = nil)
|
628
|
+
@username = username
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
632
|
+
# {http://marketing.ews.yahooapis.com/V2}getAuthorizationsForUserResponse
|
633
|
+
class GetAuthorizationsForUserResponse
|
634
|
+
attr_accessor :out
|
635
|
+
|
636
|
+
def initialize(out = nil)
|
637
|
+
@out = out
|
638
|
+
end
|
639
|
+
end
|
640
|
+
|
641
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyAddress
|
642
|
+
class UpdateMyAddress
|
643
|
+
attr_accessor :address
|
644
|
+
attr_accessor :updateAll
|
645
|
+
|
646
|
+
def initialize(address = nil, updateAll = nil)
|
647
|
+
@address = address
|
648
|
+
@updateAll = updateAll
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# {http://marketing.ews.yahooapis.com/V2}updateMyAddressResponse
|
653
|
+
class UpdateMyAddressResponse
|
654
|
+
def initialize
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAuthorizationsForUser
|
659
|
+
class DeleteAuthorizationsForUser
|
660
|
+
attr_accessor :username
|
661
|
+
attr_accessor :authorizations
|
662
|
+
|
663
|
+
def initialize(username = nil, authorizations = nil)
|
664
|
+
@username = username
|
665
|
+
@authorizations = authorizations
|
666
|
+
end
|
667
|
+
end
|
668
|
+
|
669
|
+
# {http://marketing.ews.yahooapis.com/V2}deleteAuthorizationsForUserResponse
|
670
|
+
class DeleteAuthorizationsForUserResponse
|
671
|
+
def initialize
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
# {http://marketing.ews.yahooapis.com/V2}addCreditCard
|
676
|
+
class AddCreditCard
|
677
|
+
attr_accessor :billingUserInfo
|
678
|
+
attr_accessor :billingAddress
|
679
|
+
attr_accessor :cc
|
680
|
+
|
681
|
+
def initialize(billingUserInfo = nil, billingAddress = nil, cc = nil)
|
682
|
+
@billingUserInfo = billingUserInfo
|
683
|
+
@billingAddress = billingAddress
|
684
|
+
@cc = cc
|
685
|
+
end
|
686
|
+
end
|
687
|
+
|
688
|
+
# {http://marketing.ews.yahooapis.com/V2}addCreditCardResponse
|
689
|
+
class AddCreditCardResponse
|
690
|
+
attr_accessor :out
|
691
|
+
|
692
|
+
def initialize(out = nil)
|
693
|
+
@out = out
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
# {http://marketing.ews.yahooapis.com/V2}getMyAuthorizations
|
698
|
+
class GetMyAuthorizations
|
699
|
+
def initialize
|
700
|
+
end
|
701
|
+
end
|
702
|
+
|
703
|
+
# {http://marketing.ews.yahooapis.com/V2}getMyAuthorizationsResponse
|
704
|
+
class GetMyAuthorizationsResponse
|
705
|
+
attr_accessor :out
|
706
|
+
|
707
|
+
def initialize(out = nil)
|
708
|
+
@out = out
|
709
|
+
end
|
710
|
+
end
|
711
|
+
|
712
|
+
# {http://marketing.ews.yahooapis.com/V2}getAvailableRolesByAccountID
|
713
|
+
class GetAvailableRolesByAccountID
|
714
|
+
attr_accessor :accountType
|
715
|
+
attr_accessor :accountID
|
716
|
+
|
717
|
+
def initialize(accountType = nil, accountID = nil)
|
718
|
+
@accountType = accountType
|
719
|
+
@accountID = accountID
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
# {http://marketing.ews.yahooapis.com/V2}getAvailableRolesByAccountIDResponse
|
724
|
+
class GetAvailableRolesByAccountIDResponse
|
725
|
+
attr_accessor :out
|
726
|
+
|
727
|
+
def initialize(out = nil)
|
728
|
+
@out = out
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
# {http://marketing.ews.yahooapis.com/V2}disableUser
|
733
|
+
class DisableUser
|
734
|
+
attr_accessor :username
|
735
|
+
|
736
|
+
def initialize(username = nil)
|
737
|
+
@username = username
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
# {http://marketing.ews.yahooapis.com/V2}disableUserResponse
|
742
|
+
class DisableUserResponse
|
743
|
+
def initialize
|
744
|
+
end
|
745
|
+
end
|
746
|
+
|
747
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserInfo
|
748
|
+
class GetUserInfo
|
749
|
+
attr_accessor :username
|
750
|
+
|
751
|
+
def initialize(username = nil)
|
752
|
+
@username = username
|
753
|
+
end
|
754
|
+
end
|
755
|
+
|
756
|
+
# {http://marketing.ews.yahooapis.com/V2}getUserInfoResponse
|
757
|
+
class GetUserInfoResponse
|
758
|
+
attr_accessor :out
|
759
|
+
|
760
|
+
def initialize(out = nil)
|
761
|
+
@out = out
|
762
|
+
end
|
763
|
+
end
|
764
|
+
|
765
|
+
|
766
|
+
end
|