started to work on ebay oauth

This commit is contained in:
Okechi Onyeje 2016-06-03 23:39:03 -04:00
parent d0016c988b
commit f710ca97ae
2422 changed files with 206970 additions and 18 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@ -22,6 +22,8 @@
3E7CF3FE1CF5FF8200F486B2 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3E7CF3FD1CF5FF8200F486B2 /* GoogleService-Info.plist */; }; 3E7CF3FE1CF5FF8200F486B2 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3E7CF3FD1CF5FF8200F486B2 /* GoogleService-Info.plist */; };
3E7CF4011CF6366300F486B2 /* EtsyRESTAPIManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E7CF4001CF6366300F486B2 /* EtsyRESTAPIManager.swift */; }; 3E7CF4011CF6366300F486B2 /* EtsyRESTAPIManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E7CF4001CF6366300F486B2 /* EtsyRESTAPIManager.swift */; };
3E7CF4041CF6450D00F486B2 /* ListingObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E7CF4031CF6450D00F486B2 /* ListingObject.swift */; }; 3E7CF4041CF6450D00F486B2 /* ListingObject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E7CF4031CF6450D00F486B2 /* ListingObject.swift */; };
3EA6689F1D0278E900EE57A8 /* TradingProxy in Resources */ = {isa = PBXBuildFile; fileRef = 3EA6689E1D0278E900EE57A8 /* TradingProxy */; };
3EA668A11D02836C00EE57A8 /* EbayWebServiceManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EA668A01D02836C00EE57A8 /* EbayWebServiceManager.swift */; };
3EB2F5161CF442CF002E6D2C /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EB2F5151CF442CF002E6D2C /* Security.framework */; }; 3EB2F5161CF442CF002E6D2C /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3EB2F5151CF442CF002E6D2C /* Security.framework */; };
3EC325111CF703A600626C48 /* ItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EC325101CF703A600626C48 /* ItemCell.swift */; }; 3EC325111CF703A600626C48 /* ItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EC325101CF703A600626C48 /* ItemCell.swift */; };
3EC325151CF7104300626C48 /* ItemTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EC325141CF7104300626C48 /* ItemTableViewController.swift */; }; 3EC325151CF7104300626C48 /* ItemTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EC325141CF7104300626C48 /* ItemTableViewController.swift */; };
@ -78,6 +80,9 @@
3E7CF3FD1CF5FF8200F486B2 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; }; 3E7CF3FD1CF5FF8200F486B2 /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
3E7CF4001CF6366300F486B2 /* EtsyRESTAPIManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EtsyRESTAPIManager.swift; sourceTree = "<group>"; }; 3E7CF4001CF6366300F486B2 /* EtsyRESTAPIManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EtsyRESTAPIManager.swift; sourceTree = "<group>"; };
3E7CF4031CF6450D00F486B2 /* ListingObject.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ListingObject.swift; sourceTree = "<group>"; }; 3E7CF4031CF6450D00F486B2 /* ListingObject.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ListingObject.swift; sourceTree = "<group>"; };
3EA668961D026E7800EE57A8 /* Vendoo-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Vendoo-Bridging-Header.h"; sourceTree = "<group>"; };
3EA6689E1D0278E900EE57A8 /* TradingProxy */ = {isa = PBXFileReference; lastKnownFileType = folder; path = TradingProxy; sourceTree = "<group>"; };
3EA668A01D02836C00EE57A8 /* EbayWebServiceManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = EbayWebServiceManager.swift; sourceTree = "<group>"; };
3EB2F5151CF442CF002E6D2C /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; 3EB2F5151CF442CF002E6D2C /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
3EC325101CF703A600626C48 /* ItemCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ItemCell.swift; sourceTree = "<group>"; }; 3EC325101CF703A600626C48 /* ItemCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ItemCell.swift; sourceTree = "<group>"; };
3EC325141CF7104300626C48 /* ItemTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ItemTableViewController.swift; sourceTree = "<group>"; }; 3EC325141CF7104300626C48 /* ItemTableViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ItemTableViewController.swift; sourceTree = "<group>"; };
@ -170,6 +175,7 @@
3E6CC3551CF2A94B00E00A70 /* Vendoo */ = { 3E6CC3551CF2A94B00E00A70 /* Vendoo */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
3EA668941D026E2A00EE57A8 /* EbayServices */,
3E4897CE1D0062860069F742 /* Services */, 3E4897CE1D0062860069F742 /* Services */,
3EC3252B1CF8944800626C48 /* NewItemPostingSession */, 3EC3252B1CF8944800626C48 /* NewItemPostingSession */,
3EC325211CF7D91100626C48 /* TabbedScreens */, 3EC325211CF7D91100626C48 /* TabbedScreens */,
@ -181,6 +187,7 @@
3E6CC3641CF2A94B00E00A70 /* Info.plist */, 3E6CC3641CF2A94B00E00A70 /* Info.plist */,
3E7CF3FD1CF5FF8200F486B2 /* GoogleService-Info.plist */, 3E7CF3FD1CF5FF8200F486B2 /* GoogleService-Info.plist */,
3EC325271CF86B5400626C48 /* Services.plist */, 3EC325271CF86B5400626C48 /* Services.plist */,
3EA668961D026E7800EE57A8 /* Vendoo-Bridging-Header.h */,
); );
path = Vendoo; path = Vendoo;
sourceTree = "<group>"; sourceTree = "<group>";
@ -220,6 +227,23 @@
name = EtsyObjects; name = EtsyObjects;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
3EA668941D026E2A00EE57A8 /* EbayServices */ = {
isa = PBXGroup;
children = (
3EA668951D026E4000EE57A8 /* ObjC */,
3EA668A01D02836C00EE57A8 /* EbayWebServiceManager.swift */,
);
name = EbayServices;
sourceTree = "<group>";
};
3EA668951D026E4000EE57A8 /* ObjC */ = {
isa = PBXGroup;
children = (
3EA6689E1D0278E900EE57A8 /* TradingProxy */,
);
name = ObjC;
sourceTree = "<group>";
};
3EC3250C1CF7026C00626C48 /* AppAuthentication */ = { 3EC3250C1CF7026C00626C48 /* AppAuthentication */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
@ -418,6 +442,7 @@
3E7CF3FE1CF5FF8200F486B2 /* GoogleService-Info.plist in Resources */, 3E7CF3FE1CF5FF8200F486B2 /* GoogleService-Info.plist in Resources */,
3E6CC3601CF2A94B00E00A70 /* Assets.xcassets in Resources */, 3E6CC3601CF2A94B00E00A70 /* Assets.xcassets in Resources */,
3E6CC35E1CF2A94B00E00A70 /* Main.storyboard in Resources */, 3E6CC35E1CF2A94B00E00A70 /* Main.storyboard in Resources */,
3EA6689F1D0278E900EE57A8 /* TradingProxy in Resources */,
); );
runOnlyForDeploymentPostprocessing = 0; runOnlyForDeploymentPostprocessing = 0;
}; };
@ -575,6 +600,7 @@
3EC325261CF7E90000626C48 /* FacebookGraphAPIManager.swift in Sources */, 3EC325261CF7E90000626C48 /* FacebookGraphAPIManager.swift in Sources */,
3E7CF3FC1CF5FE9400F486B2 /* RecoverPasswordViewController.swift in Sources */, 3E7CF3FC1CF5FE9400F486B2 /* RecoverPasswordViewController.swift in Sources */,
3EC325111CF703A600626C48 /* ItemCell.swift in Sources */, 3EC325111CF703A600626C48 /* ItemCell.swift in Sources */,
3EA668A11D02836C00EE57A8 /* EbayWebServiceManager.swift in Sources */,
3ECEDB871CF9C722003566B3 /* ListingPreviewViewController.swift in Sources */, 3ECEDB871CF9C722003566B3 /* ListingPreviewViewController.swift in Sources */,
3EC325231CF7DA5500626C48 /* HomeViewController.swift in Sources */, 3EC325231CF7DA5500626C48 /* HomeViewController.swift in Sources */,
3EC3252D1CF894C400626C48 /* ItemImagePickerViewController.swift in Sources */, 3EC3252D1CF894C400626C48 /* ItemImagePickerViewController.swift in Sources */,
@ -637,6 +663,7 @@
/* Begin XCBuildConfiguration section */ /* Begin XCBuildConfiguration section */
3E6CC37B1CF2A94B00E00A70 /* Debug */ = { 3E6CC37B1CF2A94B00E00A70 /* Debug */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = C9F6F7897E53ED9583C965E3 /* Pods-Vendoo.debug.xcconfig */;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
@ -676,13 +703,16 @@
MTL_ENABLE_DEBUG_INFO = YES; MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos; SDKROOT = iphoneos;
SWIFT_OBJC_BRIDGING_HEADER = "";
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = "Pods/**";
}; };
name = Debug; name = Debug;
}; };
3E6CC37C1CF2A94B00E00A70 /* Release */ = { 3E6CC37C1CF2A94B00E00A70 /* Release */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 6979B7B8AF7AC049C2F23196 /* Pods-Vendoo.release.xcconfig */;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO; ALWAYS_SEARCH_USER_PATHS = NO;
CLANG_ANALYZER_NONNULL = YES; CLANG_ANALYZER_NONNULL = YES;
@ -715,7 +745,9 @@
IPHONEOS_DEPLOYMENT_TARGET = 9.3; IPHONEOS_DEPLOYMENT_TARGET = 9.3;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos; SDKROOT = iphoneos;
SWIFT_OBJC_BRIDGING_HEADER = "";
TARGETED_DEVICE_FAMILY = "1,2"; TARGETED_DEVICE_FAMILY = "1,2";
USER_HEADER_SEARCH_PATHS = "Pods/**";
VALIDATE_PRODUCT = YES; VALIDATE_PRODUCT = YES;
}; };
name = Release; name = Release;
@ -724,11 +756,17 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = C9F6F7897E53ED9583C965E3 /* Pods-Vendoo.debug.xcconfig */; baseConfigurationReference = C9F6F7897E53ED9583C965E3 /* Pods-Vendoo.debug.xcconfig */;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "Vendoo/**";
INFOPLIST_FILE = Vendoo/Info.plist; INFOPLIST_FILE = Vendoo/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
New_Setting = "";
PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.Vendoo; PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.Vendoo;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_INCLUDE_PATHS = "";
SWIFT_OBJC_BRIDGING_HEADER = "Vendoo/Vendoo-Bridging-Header.h";
USER_HEADER_SEARCH_PATHS = "\"Vendoo/**\" \"Pods/**\"";
}; };
name = Debug; name = Debug;
}; };
@ -736,11 +774,17 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
baseConfigurationReference = 6979B7B8AF7AC049C2F23196 /* Pods-Vendoo.release.xcconfig */; baseConfigurationReference = 6979B7B8AF7AC049C2F23196 /* Pods-Vendoo.release.xcconfig */;
buildSettings = { buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
INCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES = "Vendoo/**";
INFOPLIST_FILE = Vendoo/Info.plist; INFOPLIST_FILE = Vendoo/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
New_Setting = "";
PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.Vendoo; PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.Vendoo;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_INCLUDE_PATHS = "";
SWIFT_OBJC_BRIDGING_HEADER = "Vendoo/Vendoo-Bridging-Header.h";
USER_HEADER_SEARCH_PATHS = "\"Vendoo/**\" \"Pods/**\"";
}; };
name = Release; name = Release;
}; };
@ -753,6 +797,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooTests; PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooTests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Vendoo/Vendoo-Bridging-Header.h";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Vendoo.app/Vendoo"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Vendoo.app/Vendoo";
}; };
name = Debug; name = Debug;
@ -766,6 +811,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooTests; PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooTests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Vendoo/Vendoo-Bridging-Header.h";
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Vendoo.app/Vendoo"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Vendoo.app/Vendoo";
}; };
name = Release; name = Release;
@ -778,6 +824,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooUITests; PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooUITests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "";
TEST_TARGET_NAME = Vendoo; TEST_TARGET_NAME = Vendoo;
}; };
name = Debug; name = Debug;
@ -790,6 +837,7 @@
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooUITests; PRODUCT_BUNDLE_IDENTIFIER = com.Kroleo.VendooUITests;
PRODUCT_NAME = "$(TARGET_NAME)"; PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "";
TEST_TARGET_NAME = Vendoo; TEST_TARGET_NAME = Vendoo;
}; };
name = Release; name = Release;

View File

@ -10,11 +10,11 @@
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "No" continueAfterRunningActions = "No"
filePath = "Vendoo/ListingPreviewViewController.swift" filePath = "Vendoo/ListingPreviewViewController.swift"
timestampString = "486686708.22622" timestampString = "486703832.801617"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "155" startingLineNumber = "174"
endingLineNumber = "155" endingLineNumber = "174"
landmarkName = "publishItem(_:)" landmarkName = "publishItem(_:)"
landmarkType = "5"> landmarkType = "5">
</BreakpointContent> </BreakpointContent>
@ -26,11 +26,11 @@
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "No" continueAfterRunningActions = "No"
filePath = "Vendoo/FacebookGraphAPIManager.swift" filePath = "Vendoo/FacebookGraphAPIManager.swift"
timestampString = "486683097.861171" timestampString = "486687305.253962"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "174" startingLineNumber = "176"
endingLineNumber = "174" endingLineNumber = "176"
landmarkName = "makePOSTResquest(_:params:)" landmarkName = "makePOSTResquest(_:params:)"
landmarkType = "5"> landmarkType = "5">
</BreakpointContent> </BreakpointContent>
@ -42,11 +42,11 @@
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "No" continueAfterRunningActions = "No"
filePath = "Vendoo/FacebookGraphAPIManager.swift" filePath = "Vendoo/FacebookGraphAPIManager.swift"
timestampString = "486685960.664377" timestampString = "486687305.253962"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "188" startingLineNumber = "190"
endingLineNumber = "188" endingLineNumber = "190"
landmarkName = "makePOSTResquest(_:params:)" landmarkName = "makePOSTResquest(_:params:)"
landmarkType = "5"> landmarkType = "5">
</BreakpointContent> </BreakpointContent>
@ -58,11 +58,11 @@
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "No" continueAfterRunningActions = "No"
filePath = "Vendoo/FacebookGraphAPIManager.swift" filePath = "Vendoo/FacebookGraphAPIManager.swift"
timestampString = "486685960.664377" timestampString = "486687305.253962"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "184" startingLineNumber = "186"
endingLineNumber = "184" endingLineNumber = "186"
landmarkName = "makePOSTResquest(_:params:)" landmarkName = "makePOSTResquest(_:params:)"
landmarkType = "5"> landmarkType = "5">
</BreakpointContent> </BreakpointContent>
@ -90,7 +90,7 @@
moduleName = "Vendoo" moduleName = "Vendoo"
usesParentBreakpointCondition = "Yes" usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift" urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
timestampString = "486686709.393085" timestampString = "486703838.796592"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "96" startingLineNumber = "96"
@ -105,7 +105,7 @@
moduleName = "Vendoo" moduleName = "Vendoo"
usesParentBreakpointCondition = "Yes" usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift" urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
timestampString = "486686709.393207" timestampString = "486703838.796724"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "94" startingLineNumber = "94"
@ -120,7 +120,7 @@
moduleName = "Vendoo" moduleName = "Vendoo"
usesParentBreakpointCondition = "Yes" usesParentBreakpointCondition = "Yes"
urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift" urlString = "file:///Users/okechi/Documents/iOs%20Practice/Vendoo/Vendoo_bb/Vendoo/Vendoo/ListingPreviewViewController.swift"
timestampString = "486686709.393305" timestampString = "486703838.796828"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "94" startingLineNumber = "94"
@ -137,11 +137,11 @@
ignoreCount = "0" ignoreCount = "0"
continueAfterRunningActions = "No" continueAfterRunningActions = "No"
filePath = "Vendoo/FacebookGraphAPIManager.swift" filePath = "Vendoo/FacebookGraphAPIManager.swift"
timestampString = "486685960.664377" timestampString = "486687305.253962"
startingColumnNumber = "9223372036854775807" startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807"
startingLineNumber = "187" startingLineNumber = "189"
endingLineNumber = "187" endingLineNumber = "189"
landmarkName = "makePOSTResquest(_:params:)" landmarkName = "makePOSTResquest(_:params:)"
landmarkType = "5"> landmarkType = "5">
</BreakpointContent> </BreakpointContent>

BIN
Vendoo/.DS_Store vendored

Binary file not shown.

View File

@ -0,0 +1,15 @@
//
// EBayTradingSerivceClient.h
// eBayTrading
//
// Created by bulldog on 13-3-18.
// Copyright (c) 2013 Leansoft. All rights reserved.
//
#import "EBayAPIInterface_SOAPClient.h"
@interface EBayTradingServiceClient : EBayAPIInterface_SOAPClient
+ (EBayTradingServiceClient *)sharedClient;
@end

View File

@ -0,0 +1,65 @@
//
// EBayTradingSerivceClient.m
// eBayTrading
//
// Created by bulldog on 13-3-18.
// Copyright (c) 2013 Leansoft. All rights reserved.
//
#import "EBayTradingServiceClient.h"
#import "Trading_CustomSecurityHeaderType.h"
static NSString *const eBayAppId = @"YOUR APPID HERE";
static NSString *const eBayAuthToken = @"YOUR AUTH TOKEN HERE";
// production
//static NSString *const eBayTradingServiceURLString = @"https://api.ebay.com/wsapi ";
// sandbox
static NSString *const eBayTradingServiceURLString = @"https://api.sandbox.ebay.com/wsapi";
static NSString *const targetAPIVersion = @"809";
/**
for site id list, see http://developer.ebay.com/DevZone/shopping/docs/CallRef/types/SiteCodeType.html
*/
static NSString *const targetSiteId = @"0"; // 0 for US
@implementation EBayTradingServiceClient
+ (EBayTradingServiceClient *)sharedClient {
static EBayTradingServiceClient *_sharedClient = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
_sharedClient = [[EBayTradingServiceClient alloc] initWithEndpointURL:[NSURL URLWithString:eBayTradingServiceURLString]];
});
return _sharedClient;
}
- (id)initWithEndpointURL:(NSURL *)URL {
self = [super initWithEndpointURL:URL];
if (!self) {
return nil;
}
[self setDefaultHeader:@"Accept" value:@"application/soap+xml"];
[self setDefaultHeader:@"Content-Type" value:@"application/soap+xml"];
self.additionalParameters = [NSMutableDictionary dictionary];
[self.additionalParameters setObject:targetSiteId forKey:@"siteid"];
[self.additionalParameters setObject:targetAPIVersion forKey:@"version"];
[self.additionalParameters setObject:eBayAppId forKey:@"appid"];
[self.additionalParameters setObject:@"Routing" forKey:@"new"];
[self setDefaultHeader:@"SOAPAction" value:@""];
Trading_CustomSecurityHeaderType *customHeader = [[[Trading_CustomSecurityHeaderType alloc] init] autorelease];
customHeader.eBayAuthToken = eBayAuthToken;
self.customSoapHeaders = [NSMutableArray arrayWithObject:customHeader];
// for some calls like FetchToken, RevokeToken, GetTokenStatus, and GetSessionID,
// you also need to add DevId, AppId and AuthCert in the custom header.
return self;
}
@end

View File

@ -0,0 +1,21 @@
//
// EbayWebServiceManager.swift
// Vendoo
//
// Created by Okechi Onyeje on 6/3/16.
// Copyright © 2016 Okechi Onyeje. All rights reserved.
//
import Foundation
class EbayWebServiceManager: NSObject {
let tradingClient = EBayTradingServiceClient.sharedClient()
override init(){
super.init()
self.tradingClient.debug = true
}
}

View File

@ -23,6 +23,8 @@ protocol FacebookGraphAPIManagerDelegate {
/* /*
NOTES: NOTES:
I am able to authorize application for use with facebook and deauthorize it while showing the toggle button switching back and forth, but during the last step of the process, for some reason NSUserDefault key for fbauthorized is not being called, in response handler, may need to run in a different thread I am able to authorize application for use with facebook and deauthorize it while showing the toggle button switching back and forth, but during the last step of the process, for some reason NSUserDefault key for fbauthorized is not being called, in response handler, may need to run in a different thread
NEED to figure out how to post picture and text as the same timeline post current can only upload item title, price and description.
*/ */
class FacebookGraphAPIManager: NSObject { class FacebookGraphAPIManager: NSObject {

View File

@ -149,6 +149,25 @@ extension ListingPreviewViewController {
let parameters: Dictionary<String, AnyObject> = ["message":("**"+self.itemTitle.text!+"**\n\n"+"Price: "+self.itemPrice.text! + "\n\n"+self.itemDescription.text!)] let parameters: Dictionary<String, AnyObject> = ["message":("**"+self.itemTitle.text!+"**\n\n"+"Price: "+self.itemPrice.text! + "\n\n"+self.itemDescription.text!)]
//post to ebay
if(self.networksDictionary["ebay"]!){
}
//post to amazon
if(self.networksDictionary["amazon"]!){
}
//post to etsy
if(self.networksDictionary["etsy"]!){
}
//post to facebook
if(self.networksDictionary["facebook"]!){ if(self.networksDictionary["facebook"]!){
//need to reverse process and upload to firebase last so that all network listing id's can be saved to firebase for notification access. //need to reverse process and upload to firebase last so that all network listing id's can be saved to firebase for notification access.
self.lastListingKey = newListingRef.key self.lastListingKey = newListingRef.key
@ -158,6 +177,8 @@ extension ListingPreviewViewController {
//register new listing id in global path of firebase root' //register new listing id in global path of firebase root'
self.firManager.ref.child("Global_listings").child(newListingRef.key).setValue(newListingRef.key) self.firManager.ref.child("Global_listings").child(newListingRef.key).setValue(newListingRef.key)

Binary file not shown.

View File

@ -0,0 +1,15 @@
//
// EBayTradingSerivceClient.h
// eBayTrading
//
// Created by bulldog on 13-3-18.
// Copyright (c) 2013 Leansoft. All rights reserved.
//
#import "EBayAPIInterface_SOAPClient.h"
@interface EBayTradingServiceClient : EBayAPIInterface_SOAPClient
+ (EBayTradingServiceClient *)sharedClient;
@end

View File

@ -0,0 +1,65 @@
//
// EBayTradingSerivceClient.m
// eBayTrading
//
// Created by bulldog on 13-3-18.
// Copyright (c) 2013 Leansoft. All rights reserved.
//
#import "EBayTradingServiceClient.h"
#import "Trading_CustomSecurityHeaderType.h"
static NSString *const eBayAppId = @"YOUR APPID HERE";
static NSString *const eBayAuthToken = @"YOUR AUTH TOKEN HERE";
// production
//static NSString *const eBayTradingServiceURLString = @"https://api.ebay.com/wsapi ";
// sandbox
static NSString *const eBayTradingServiceURLString = @"https://api.sandbox.ebay.com/wsapi";
static NSString *const targetAPIVersion = @"809";
/**
for site id list, see http://developer.ebay.com/DevZone/shopping/docs/CallRef/types/SiteCodeType.html
*/
static NSString *const targetSiteId = @"0"; // 0 for US
@implementation EBayTradingServiceClient
+ (EBayTradingServiceClient *)sharedClient {
static EBayTradingServiceClient *_sharedClient = nil;
static dispatch_once_t onceToken;
dispatch_once(&onceToken, ^{
_sharedClient = [[EBayTradingServiceClient alloc] initWithEndpointURL:[NSURL URLWithString:eBayTradingServiceURLString]];
});
return _sharedClient;
}
- (id)initWithEndpointURL:(NSURL *)URL {
self = [super initWithEndpointURL:URL];
if (!self) {
return nil;
}
[self setDefaultHeader:@"Accept" value:@"application/soap+xml"];
[self setDefaultHeader:@"Content-Type" value:@"application/soap+xml"];
self.additionalParameters = [NSMutableDictionary dictionary];
[self.additionalParameters setObject:targetSiteId forKey:@"siteid"];
[self.additionalParameters setObject:targetAPIVersion forKey:@"version"];
[self.additionalParameters setObject:eBayAppId forKey:@"appid"];
[self.additionalParameters setObject:@"Routing" forKey:@"new"];
[self setDefaultHeader:@"SOAPAction" value:@""];
Trading_CustomSecurityHeaderType *customHeader = [[[Trading_CustomSecurityHeaderType alloc] init] autorelease];
customHeader.eBayAuthToken = eBayAuthToken;
self.customSoapHeaders = [NSMutableArray arrayWithObject:customHeader];
// for some calls like FetchToken, RevokeToken, GetTokenStatus, and GetSessionID,
// you also need to add DevId, AppId and AuthCert in the custom header.
return self;
}
@end

View File

@ -0,0 +1,79 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
/**
Enables a seller to add custom Ask Seller a Question (ASQ)
subjects to display on the seller's Ask a Question page, or reset
the custom subjects to the default values.
@ingroup EBayAPIInterface
*/
@interface Trading_ASQPreferencesType : NSObject <PicoBindable> {
@private
NSNumber *_resetDefaultSubjects;
NSMutableArray *_subject;
NSMutableArray *_any;
}
/**
Used to reset custom subjects to their default values. For
SetMessagePreferences, either ResetDefaultSubjects or Subject
is required in the request, but not both.
type : NSNumber, wrapper for primitive bool
*/
@property (nonatomic, retain) NSNumber *resetDefaultSubjects;
/**
Contains the ASQ subjects to display on the seller's
Ask a Question page, with one subject per Subject node up to a
maximum of nine. The tenth subject, "General question about
this item," cannot be edited. An error wil be returned if subjects are duplicated.
<br><br>
For SetMessagePreferences, either ResetDefaultSubjects or
Subject is required in the request, but not both. Subjects are
displayed on the ASQ drop-down list in same order as the
request.
<br><br>
Note that the default ASQ subjects will display in the site's
language if retrieved from a site other than the seller's own.
For example, if if a US seller sells on the DE and the FR
sites, the default subjects will display in German and French
respectively. However, if the seller adds custom questions,
all questions will display only in the seller's language. In
the example case, FR and DE buyers would see custom subjects
in English only. Use ResetDefaultSubjects to restore the
default subjects and the default language display behavior.
entry type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSMutableArray *subject;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,47 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_ASQPreferencesType.h"
@implementation Trading_ASQPreferencesType
@synthesize resetDefaultSubjects = _resetDefaultSubjects;
@synthesize subject = _subject;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ResetDefaultSubjects" propertyName:@"resetDefaultSubjects" type:PICO_TYPE_BOOL clazz:nil];
[map setObject:ps forKey:@"resetDefaultSubjects"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"Subject" propertyName:@"subject" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"subject"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.resetDefaultSubjects = nil;
self.subject = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,280 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
// abstract class
@class Trading_BotBlockRequestType;
/**
Base type definition of the request payload, which can carry any type of payload
content plus optional versioning information and detail level requirements. All
concrete request types (e.g., AddItemRequestType) are derived from the abstract
request type. The naming convention we use for the concrete type names is the name
of the service (the verb or call name) followed by "RequestType":
VerbNameRequestType
@ingroup EBayAPIInterface
*/
@interface Trading_AbstractRequestType : NSObject <PicoBindable> {
@private
NSMutableArray *_detailLevel;
NSString *_errorLanguage;
NSString *_messageID;
NSString *_version;
NSString *_endUserIP;
NSString *_errorHandling;
NSString *_invocationID;
NSMutableArray *_outputSelector;
NSString *_warningLevel;
Trading_BotBlockRequestType *_botBlock;
NSMutableArray *_any;
}
/**
Detail levels are instructions that define standard subsets of
data to return for particular data components (e.g., each
Item, Transaction, or User) within the response payload.
For example, a particular detail level might cause the
response to include buyer-related data in every result
(e.g., for every Item), but no seller-related data.
Specifying a detail level is like using a
predefined attribute list in the SELECT clause of an SQL query.
Use the DetailLevel element to specify the required detail level
that the client application needs pertaining to the data components
that are applicable to the request.<br>
<br>
The DetailLevelCodeType defines the
global list of available detail levels for all request types.
Most request types support certain detail
levels or none at all. If you pass a detail level that exists
in the schema but that isn't valid for a particular request,
eBay ignores it processes the request without it.
For each request type, see the detail level tables in the
Input/Output Reference to determine which detail levels are
applicable and which elements are returned for each applicable
detail level. (Some detail level tables are still in the
eBay Web Services guide. They will be moved to the
Input/Output Reference in a future release.)<br>
<br>Note that DetailLevel is required input for
GetMyMessages. <br>
<br>
With GetSellerList and other calls that retrieve large data sets,
please avoid using ReturnAll when possible. For example, if you use
GetSellerList, use a GranularityLevel or use the
GetSellerEvents call instead. If you do use ReturnAll with
GetSellerList, use a small EntriesPerPage value and a short
EndTimeFrom/EndTimeTo range for better performance.
entry type : string constant in Trading_DetailLevelCodeType.h
*/
@property (nonatomic, retain) NSMutableArray *detailLevel;
/**
Use ErrorLanguage to return error strings for the call in a different language
from the language commonly associated with the site that the requesting user
is registered with. Specify the standard RFC 3066 language identification tag
(e.g., en_US).
<br>
ID--- country<br>
----- -----<br>
de_AT Austria<br>
de_CH Switzerland<br>
de_DE Germany <br>
en_AU Australia <br>
en_CA Canada <br>
en_GB United Kingdom<br>
en_SG Singapore<br>
en_US United States <br>
es_ES Spain <br>
fr_BE Belgium (French)<br>
fr_CA Canada (French) <br>
fr_FR France <br>
it_IT Italy <br>
nl_BE Belgium (Dutch)<br>
nl_NL Netherlands <br>
zh_CN China<br>
en_IN India<br>
en_IE Ireland<br>
zh_HK Hong Kong
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *errorLanguage;
/**
Most Trading API calls support a <b>MessageID</b> element in the request
and a <b>CorrelationID</b> element in the response. If you pass in a
<b>MessageID</b> in a request, the same value will be returned in the
<b>CorrelationID</b> field in the response. Pairing these values can
help you track and confirm that a response is returned for every request and to
match specific responses to specific requests.
If you do not pass a <b>MessageID</b> value in the request,
<b>CorrelationID</b> is not returned.<br>
<br>
<span class="tablenote"><b>Note:</b>
<b>GetCategories</b> is designed to retrieve very large sets of metadata
that change once a day or less often. To improve performance, these calls return
cached responses when you request all available data (with no filters). When this
occurs, the <b>MessageID</b> and <b>CorrelationID</b> fields
aren't applicable. However, if you specify an input filter to reduce the amount of
data returned, the calls retrieve the latest data (not cached). When this occurs,
<b>MessageID</b> and <b>CorrelationID</b> are applicable.
</span>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *messageID;
/**
The version number of the API code that you are
programming against (e.g., 549).
The version you specify for a call has these basic effects:<br>
- It indicates the version of the code lists and other
data that eBay should use to process your request.<br>
- It indicates the schema version you are using.<br>
You need to use a version that is greater than or equal to the
lowest supported version.<br>
<br>
<b>For the SOAP API:</b> If you are using the SOAP API,
this field is required. Specify the version of the WSDL your
application is using.<br>
<br>
<b>For the XML API:</b> If you are using the XML API,
this field has no effect. Instead, specify the version in the
X-EBAY-API-COMPATIBILITY-LEVEL HTTP header.
(If you specify Version in the body of an XML API request and it
is different from the value in the HTTP header, eBay returns an
informational warning that the value in the HTTP header was used
instead.)
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *version;
/**
The public IP address of the machine from which the request is sent.
Your application captures that IP address and includes it in
a call request. eBay evaluates requests for safety (also see
the BotBlock container
in the request and response of this call).
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *endUserIP;
/**
Error tolerance level for the call. This is a preference
that specifies how eBay should handle requests that contain
invalid data or that could partially fail. This gives you some control
over whether eBay returns warnings or blocking errors
and how eBay processes the invalid data.<br>
<br>
This field is only applicable to AddItem and related calls,
and only when the listing includes ProductListingDetails.
type: string constant in Trading_ErrorHandlingCodeType.h
*/
@property (nonatomic, retain) NSString *errorHandling;
/**
A unique identifer for a particular call. If the same InvocationID is passed
in after it has been passed in once on a call that succeeded for a particular
application and user, then an error will be returned. The identifier can
only contain digits from 0-9 and letters from A-F. The
identifier must be 32 characters long. For example,
1FB02B2-9D27-3acb-ABA2-9D539C374228.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *invocationID;
/**
You can use the OutputSelector field to restrict the data returned by this call.
When you make a call such as GetItem that retrieves data from eBay,
the OutputSelector field is useful for restricting the data returned.
This field makes the call response easier to use, especially when a large payload
would be returned. If you use the OutputSelector field, the output data
will include only the fields you specified in the request.
For example, if you are using GetItem and you want the item data
in the response to be restricted to the ViewItemURL
(the URL where a user can view the listing) and BuyItNowPrice, then
within the GetItem request, specify those output fields.
To use this field, see the information at the following link.
entry type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSMutableArray *outputSelector;
/**
Controls whether or not to return warnings when the application passes
unrecognized or deprecated elements in a request.<br>
<br>
An unrecognized element is one that is not defined in any supported
version of the schema. Schema element names are case-sensitive,
so using WarningLevel can also help you remove any potential hidden
bugs within your application due to incorrect case or spelling in
field names before you put your application into the
Production environment.<br>
<br>
WarningLevel only validates elements; it doesn't validate
XML attributes. It also doesn't control warnings related to
user-entered strings or numbers, or warnings for
logical errors.<br>
<br>
We recommend that you only use this during development and debugging.
Do not use this in requests in your production code.
type: string constant in Trading_WarningLevelCodeType.h
*/
@property (nonatomic, retain) NSString *warningLevel;
/**
Container for a token and for user input.
type : class Trading_BotBlockRequestType
*/
@property (nonatomic, retain) Trading_BotBlockRequestType *botBlock;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,88 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AbstractRequestType.h"
#import "Trading_BotBlockRequestType.h"
@implementation Trading_AbstractRequestType
@synthesize detailLevel = _detailLevel;
@synthesize errorLanguage = _errorLanguage;
@synthesize messageID = _messageID;
@synthesize version = _version;
@synthesize endUserIP = _endUserIP;
@synthesize errorHandling = _errorHandling;
@synthesize invocationID = _invocationID;
@synthesize outputSelector = _outputSelector;
@synthesize warningLevel = _warningLevel;
@synthesize botBlock = _botBlock;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DetailLevel" propertyName:@"detailLevel" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"detailLevel"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ErrorLanguage" propertyName:@"errorLanguage" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"errorLanguage"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MessageID" propertyName:@"messageID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"messageID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Version" propertyName:@"version" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"version"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndUserIP" propertyName:@"endUserIP" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"endUserIP"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ErrorHandling" propertyName:@"errorHandling" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"errorHandling"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvocationID" propertyName:@"invocationID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"invocationID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"OutputSelector" propertyName:@"outputSelector" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"outputSelector"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"WarningLevel" propertyName:@"warningLevel" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"warningLevel"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BotBlock" propertyName:@"botBlock" type:PICO_TYPE_OBJECT clazz:[Trading_BotBlockRequestType class]];
[map setObject:ps forKey:@"botBlock"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.detailLevel = nil;
self.errorLanguage = nil;
self.messageID = nil;
self.version = nil;
self.endUserIP = nil;
self.errorHandling = nil;
self.invocationID = nil;
self.outputSelector = nil;
self.warningLevel = nil;
self.botBlock = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,274 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
// abstract class
@class Trading_ErrorType;
@class Trading_DuplicateInvocationDetailsType;
@class Trading_BotBlockResponseType;
/**
Base type definition of a response payload that can carry any
type of payload content with following optional elements:<br>
- timestamp of response message<br>
- application-level acknowledgement<br>
- application-level (business-level) errors and warnings
@ingroup EBayAPIInterface
*/
@interface Trading_AbstractResponseType : NSObject <PicoBindable> {
@private
NSDate *_timestamp;
NSString *_ack;
NSString *_correlationID;
NSMutableArray *_errors;
NSString *_message;
NSString *_version;
NSString *_build;
NSString *_notificationEventName;
Trading_DuplicateInvocationDetailsType *_duplicateInvocationDetails;
NSString *_recipientUserID;
NSString *_eiasToken;
NSString *_notificationSignature;
NSString *_hardExpirationWarning;
Trading_BotBlockResponseType *_botBlock;
NSString *_externalUserData;
NSMutableArray *_any;
}
/**
This value represents the date and time when eBay processed the
request. The time zone of this value is GMT and the format is the
ISO 8601 date and time format (YYYY-MM-DDTHH:MM:SS.SSSZ). See Time
Values in the eBay Web Services guide for information about this
time format and converting to and from the GMT time zone. <br>
<br>
<span class="tablenote"><b>Note:</b>
GetCategories, GetAttributesCS, GetCategory2CS, GetAttributesXSL,
GetProductFinder, GetProductFinderXSL, and GetProductSearchPage
are designed to retrieve very large sets of metadata
that change once a day or less often. To improve performance,
these calls return cached responses when you request all available data
(with no filters). When this occurs, this time value reflects the
time the cached response was created. Thus, this value is not
necessarily when the request was processed.
However, if you specify an input filter to reduce the amount of data
returned, the calls retrieve the latest data (not cached).
When this occurs, this time value does reflect when the request
was processed.</span>
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *timestamp;
/**
A token representing the application-level acknowledgement code that indicates
the response status (e.g., success). The AckCodeType list specifies
the possible values for Ack.
type: string constant in Trading_AckCodeType.h
*/
@property (nonatomic, retain) NSString *ack;
/**
Most Trading API calls support a <b>MessageID</b> element in the request
and a <b>CorrelationID</b> element in the response. If you pass in a
<b>MessageID</b> in a request, the same value will be returned in the
<b>CorrelationID</b> field in the response. Pairing these values can
help you track and confirm that a response is returned for every request and to
match specific responses to specific requests.
If you do not pass a <b>MessageID</b> value in the request,
<b>CorrelationID</b> is not returned.<br>
<br>
<span class="tablenote"><b>Note:</b>
<b>GetCategories</b> is designed to retrieve very large sets of metadata
that change once a day or less often. To improve performance, these calls return
cached responses when you request all available data (with no filters). When this
occurs, the <b>MessageID</b> and <b>CorrelationID</b> fields
aren't applicable. However, if you specify an input filter to reduce the amount of
data returned, the calls retrieve the latest data (not cached). When this occurs,
<b>MessageID</b> and <b>CorrelationID</b> are applicable.
</span>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *correlationID;
/**
A list of application-level errors (if any) that occurred when eBay
processed the request.
entry type : class Trading_ErrorType
*/
@property (nonatomic, retain) NSMutableArray *errors;
/**
Supplemental information from eBay, if applicable. May elaborate on
errors (such as how a listing violates eBay policies) or provide
useful hints that may help a seller increase sales. This data can
accompany the call's normal data result set or a result set that
contains only errors. <br>
<br>
Applications must recognize when the Message field is returned and
provide a means to display the listing hints and error message
explanations to the user. <br>
<br>
The string can return HTML, including TABLE, IMG, and HREF elements.
In this case, an HTML-based application should be able to include
the HTML as-is in the HTML page that displays the results.
A non-HTML application would need to parse the HTML
and convert the table elements and image references into UI elements
particular to the programming language used.
As usual for string data types, the HTML markup elements are escaped
with character entity references
(e.g.,&lt;table&gt;&lt;tr&gt;...).
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *message;
/**
The version of the response payload schema. Indicates the version of the
schema that eBay used to process the request.
See "Standard Data for All Calls" in the eBay Web Services Guide for information
on using the response version when troubleshooting "CustomCode" values that appear
in the response.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *version;
/**
This refers to the specific software build that eBay used when processing the request
and generating the response. This includes the version number plus additional
information. eBay Developer Support may request the build information
when helping you resolve technical issues.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *build;
/**
Event name of the notification. Only returned by Platform Notifications.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *notificationEventName;
/**
Information that explains a failure due to a duplicate InvocationID being
passed in.
type : class Trading_DuplicateInvocationDetailsType
*/
@property (nonatomic, retain) Trading_DuplicateInvocationDetailsType *duplicateInvocationDetails;
/**
Recipient user ID of the notification. Only returned by Platform Notifications.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *recipientUserID;
/**
Unique Identifier of Recipient user ID of the notification. Only returned by
Platform Notifications (not for regular API call responses).
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *eiasToken;
/**
A Base64-encoded MD5 hash that allows the recipient of a Platform
Notification to verify this is a valid Platform Notification sent by
eBay.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *notificationSignature;
/**
Expiration date of the user's authentication token. Only returned
within the 7-day period prior to a token's expiration. To ensure
that user authentication tokens are secure and to help avoid a
user's token being compromised, tokens have a limited life span. A
token is only valid for a period of time (set by eBay). After this
amount of time has passed, the token expires and must be replaced
with a new token.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *hardExpirationWarning;
/**
Container of token, image URL and audio URL.
type : class Trading_BotBlockResponseType
*/
@property (nonatomic, retain) Trading_BotBlockResponseType *botBlock;
/**
An application subscribing to notifications can include an XML-compliant
string, not to exceed 256 characters, which will be returned. The string can
identify a particular user. Any sensitive information should be passed with due
caution.
<br><br>
To subscribe to and receive eBay Buyer Protection notifications, this field is
required, and you must pass in 'eBP notification' as a string.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *externalUserData;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,115 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AbstractResponseType.h"
#import "Trading_ErrorType.h"
#import "Trading_DuplicateInvocationDetailsType.h"
#import "Trading_BotBlockResponseType.h"
@implementation Trading_AbstractResponseType
@synthesize timestamp = _timestamp;
@synthesize ack = _ack;
@synthesize correlationID = _correlationID;
@synthesize errors = _errors;
@synthesize message = _message;
@synthesize version = _version;
@synthesize build = _build;
@synthesize notificationEventName = _notificationEventName;
@synthesize duplicateInvocationDetails = _duplicateInvocationDetails;
@synthesize recipientUserID = _recipientUserID;
@synthesize eiasToken = _eiasToken;
@synthesize notificationSignature = _notificationSignature;
@synthesize hardExpirationWarning = _hardExpirationWarning;
@synthesize botBlock = _botBlock;
@synthesize externalUserData = _externalUserData;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Timestamp" propertyName:@"timestamp" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"timestamp"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Ack" propertyName:@"ack" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"ack"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CorrelationID" propertyName:@"correlationID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"correlationID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"Errors" propertyName:@"errors" type:PICO_TYPE_OBJECT clazz:[Trading_ErrorType class]];
[map setObject:ps forKey:@"errors"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Message" propertyName:@"message" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"message"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Version" propertyName:@"version" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"version"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Build" propertyName:@"build" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"build"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NotificationEventName" propertyName:@"notificationEventName" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"notificationEventName"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DuplicateInvocationDetails" propertyName:@"duplicateInvocationDetails" type:PICO_TYPE_OBJECT clazz:[Trading_DuplicateInvocationDetailsType class]];
[map setObject:ps forKey:@"duplicateInvocationDetails"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RecipientUserID" propertyName:@"recipientUserID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"recipientUserID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EIASToken" propertyName:@"eiasToken" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"eiasToken"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NotificationSignature" propertyName:@"notificationSignature" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"notificationSignature"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"HardExpirationWarning" propertyName:@"hardExpirationWarning" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"hardExpirationWarning"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BotBlock" propertyName:@"botBlock" type:PICO_TYPE_OBJECT clazz:[Trading_BotBlockResponseType class]];
[map setObject:ps forKey:@"botBlock"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExternalUserData" propertyName:@"externalUserData" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"externalUserData"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.timestamp = nil;
self.ack = nil;
self.correlationID = nil;
self.errors = nil;
self.message = nil;
self.version = nil;
self.build = nil;
self.notificationEventName = nil;
self.duplicateInvocationDetails = nil;
self.recipientUserID = nil;
self.eiasToken = nil;
self.notificationSignature = nil;
self.hardExpirationWarning = nil;
self.botBlock = nil;
self.externalUserData = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,71 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
Describes the current status of your application with regard to
rules governing the number of times your application can
execute API calls.
@ingroup EBayAPIInterface
*/
/**
(out) The rule is not set and usage limits do not apply.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_NOT_SET;
/**
(out) Your application has exceeded its hourly hard limit.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_HOURLY_LIMIT_EXCEEDED;
/**
(out) Your application has exceeded its daily hard limit.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_DAILY_LIMIT_EXCEEDED;
/**
(out) Your application has exceeded its periodic hard limit.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_PERIODIC_LIMIT_EXCEEDED;
/**
(out) Your application has exceeded its hourly soft limit.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_HOURLY_SOFT_LIMIT_EXCEEDED;
/**
(out) Your application has exceeded its daily soft limit.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_DAILY_SOFT_LIMIT_EXCEEDED;
/**
(out) Your application has exceeded its periodic soft limit.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_PERIODIC_SOFT_LIMIT_EXCEEDED;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AccessRuleCurrentStatusCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,69 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AccessRuleCurrentStatusCodeType.h"
/**
@file
Describes the current status of your application with regard to
rules governing the number of times your application can
execute API calls.
*/
/**
(out) The rule is not set and usage limits do not apply.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_NOT_SET = @"NotSet";
/**
(out) Your application has exceeded its hourly hard limit.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_HOURLY_LIMIT_EXCEEDED = @"HourlyLimitExceeded";
/**
(out) Your application has exceeded its daily hard limit.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_DAILY_LIMIT_EXCEEDED = @"DailyLimitExceeded";
/**
(out) Your application has exceeded its periodic hard limit.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_PERIODIC_LIMIT_EXCEEDED = @"PeriodicLimitExceeded";
/**
(out) Your application has exceeded its hourly soft limit.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_HOURLY_SOFT_LIMIT_EXCEEDED = @"HourlySoftLimitExceeded";
/**
(out) Your application has exceeded its daily soft limit.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_DAILY_SOFT_LIMIT_EXCEEDED = @"DailySoftLimitExceeded";
/**
(out) Your application has exceeded its periodic soft limit.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_PERIODIC_SOFT_LIMIT_EXCEEDED = @"PeriodicSoftLimitExceeded";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AccessRuleCurrentStatusCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,46 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
Defines values that describe an application's current status
with respect to an API access rule. The rules specify daily,
hourly, and periodic usage limits for various eBay Web Services calls.
@ingroup EBayAPIInterface
*/
/**
(out) The rule is turned off, and no rule validation
was performed.
*/
extern NSString *const Trading_AccessRuleStatusCodeType_RULE_OFF;
/**
(out) The rule is turned on, and rule validation was
performed.
*/
extern NSString *const Trading_AccessRuleStatusCodeType_RULE_ON;
/**
(out) The application is blocked from making
requests to the call named in this rule.
*/
extern NSString *const Trading_AccessRuleStatusCodeType_APPLICATION_BLOCKED;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AccessRuleStatusCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,44 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AccessRuleStatusCodeType.h"
/**
@file
Defines values that describe an application's current status
with respect to an API access rule. The rules specify daily,
hourly, and periodic usage limits for various eBay Web Services calls.
*/
/**
(out) The rule is turned off, and no rule validation
was performed.
*/
NSString *const Trading_AccessRuleStatusCodeType_RULE_OFF = @"RuleOff";
/**
(out) The rule is turned on, and rule validation was
performed.
*/
NSString *const Trading_AccessRuleStatusCodeType_RULE_ON = @"RuleOn";
/**
(out) The application is blocked from making
requests to the call named in this rule.
*/
NSString *const Trading_AccessRuleStatusCodeType_APPLICATION_BLOCKED = @"ApplicationBlocked";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AccessRuleStatusCodeType_CUSTOM_CODE = @"CustomCode";

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,55 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_AccountEntryType;
/**
Collection of zero, one, or multiple individual detail account entries. Contains
one AccountEntry object for each account entry returned. See the schema
documentation for AccountEntryType for details on its properties. You can uniquely identify
the entries that the GetAccount call returns within the AccountEntries tag.
Specifically, the following fields, returned within the AccountEntries tag,
can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType,
AccountEntry.ItemID, and AccountEntry.RefNumber.
@ingroup EBayAPIInterface
*/
@interface Trading_AccountEntriesType : NSObject <PicoBindable> {
@private
NSMutableArray *_accountEntry;
NSMutableArray *_any;
}
/**
Contains the data for one account entry. (See the schema
documentation for AccountEntryType for details on its properties.)
entry type : class Trading_AccountEntryType
*/
@property (nonatomic, retain) NSMutableArray *accountEntry;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,43 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AccountEntriesType.h"
#import "Trading_AccountEntryType.h"
@implementation Trading_AccountEntriesType
@synthesize accountEntry = _accountEntry;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"AccountEntry" propertyName:@"accountEntry" type:PICO_TYPE_OBJECT clazz:[Trading_AccountEntryType class]];
[map setObject:ps forKey:@"accountEntry"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.accountEntry = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,79 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
Specifies how account entries should be sorted in a response
from eBay.
@ingroup EBayAPIInterface
*/
/**
(in) Sort by the AccountEntry.Date value in the response,
in ascending order. Same as AccountEntryCreatedTimeAscending.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_NONE;
/**
(in) Sort by the AccountEntry.Date value in the response,
in ascending order.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_CREATED_TIME_ASCENDING;
/**
(in) Sort by the AccountEntry.Date value in the response, in
descending order.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_CREATED_TIME_DESCENDING;
/**
(in) Sort by the AccountEntry.ItemID value in the response, in
ascending order.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_ITEM_NUMBER_ASCENDING;
/**
(in) Sort by the AccountEntry.ItemID value in the response,
in descending order.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_ITEM_NUMBER_DESCENDING;
/**
(in) Sort by the value returned in AccountEntry.Description,
with entries starting with lowercase letters before entries starting
with uppercase letters and each group in alphabetical order.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_FEE_TYPE_ASCENDING;
/**
(in) Sort by the value returned in AccountEntry.Description, with entries
starting with uppercase letters before entries starting with lowercase
letters and each group in reverse alphabetical order.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_FEE_TYPE_DESCENDING;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AccountEntrySortTypeCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,77 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AccountEntrySortTypeCodeType.h"
/**
@file
Specifies how account entries should be sorted in a response
from eBay.
*/
/**
(in) Sort by the AccountEntry.Date value in the response,
in ascending order. Same as AccountEntryCreatedTimeAscending.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_NONE = @"None";
/**
(in) Sort by the AccountEntry.Date value in the response,
in ascending order.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_CREATED_TIME_ASCENDING = @"AccountEntryCreatedTimeAscending";
/**
(in) Sort by the AccountEntry.Date value in the response, in
descending order.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_CREATED_TIME_DESCENDING = @"AccountEntryCreatedTimeDescending";
/**
(in) Sort by the AccountEntry.ItemID value in the response, in
ascending order.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_ITEM_NUMBER_ASCENDING = @"AccountEntryItemNumberAscending";
/**
(in) Sort by the AccountEntry.ItemID value in the response,
in descending order.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_ITEM_NUMBER_DESCENDING = @"AccountEntryItemNumberDescending";
/**
(in) Sort by the value returned in AccountEntry.Description,
with entries starting with lowercase letters before entries starting
with uppercase letters and each group in alphabetical order.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_FEE_TYPE_ASCENDING = @"AccountEntryFeeTypeAscending";
/**
(in) Sort by the value returned in AccountEntry.Description, with entries
starting with uppercase letters before entries starting with lowercase
letters and each group in reverse alphabetical order.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_ACCOUNT_ENTRY_FEE_TYPE_DESCENDING = @"AccountEntryFeeTypeDescending";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AccountEntrySortTypeCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,232 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_AmountType;
/**
Contains the data for a single account detail entry. Each detail entry is a
transaction posted to the account and may be: a credit, a debit, or an
administrative action (such as an update putting a credit card on file for
the account). You can uniquely identify
the entries that the <b>GetAccount</b> call returns within the <b>AccountEntries</b> tag.
Specifically, the following fields, returned within the <b>AccountEntries</b> tag,
can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType,
AccountEntry.ItemID, and AccountEntry.RefNumber.
@ingroup EBayAPIInterface
*/
@interface Trading_AccountEntryType : NSObject <PicoBindable> {
@private
NSString *_accountDetailsEntryType;
NSString *_description;
Trading_AmountType *_balance;
NSDate *_date;
Trading_AmountType *_grossDetailAmount;
NSString *_itemID;
NSString *_memo;
Trading_AmountType *_conversionRate;
Trading_AmountType *_netDetailAmount;
NSString *_refNumber;
NSNumber *_vatPercent;
NSString *_title;
NSString *_orderLineItemID;
NSString *_transactionID;
NSNumber *_receivedTopRatedDiscount;
NSMutableArray *_any;
}
/**
Indicates the type of transaction or reason for the transaction. For example,
a value of <b>FeeGallery</b> indicates a debit for listing an item in the Gallery.
Possible values are enumerated in the <b>AccountDetailEntryCodeType</b> code list.
type: string constant in Trading_AccountDetailEntryCodeType.h
*/
@property (nonatomic, retain) NSString *accountDetailsEntryType;
/**
A description of the monetary transaction or administrative action applied
to an eBay account.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *description;
/**
Balance after the account entry's credit or debit amount has been applied.
Can be 0.00. The value is positive for debits
and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *balance;
/**
Timestamp indicating the date and time that the entry was posted to the account, in
GMT.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *date;
/**
Gross fees that are assessed by eBay (net fees plus VAT, if any).
Returned even if VAT does not apply.
The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *grossDetailAmount;
/**
If the account detail entry is associated with an item listing, this field
shows the eBay <b>ItemID</b> value. Otherwise, 0 is returned in this field.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Memo line for the account entry. It can be an empty string.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *memo;
/**
The rate used for the currency conversion for a transaction.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *conversionRate;
/**
Net fees that are assessed by eBay, excluding additional surchargesand VAT
(if any). Returned even if VAT does not apply. The value is positive for
debits (user pays eBay) and negative for credits (eBay pays user).
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *netDetailAmount;
/**
eBay reference number for the account entry. May return no value for some
account transactions, such as an administrative action like placing the
user's credit card on file. You can uniquely identify
the entries that the <b>GetAccount</b> call returns within the <b>AccountEntries</b> tag.
Specifically, the following fields, returned within the <b>AccountEntries</b> tag,
can be used in combination as a unique key: AccountEntry.Date, AccountEntry.AccountDetailsEntryType,
AccountEntry.ItemID, and AccountEntry.RefNumber.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *refNumber;
/**
VAT rate for the item. When the VATPercent is specified, the
item's VAT information appears on the item's listing page. In
addition, the seller can choose to print an invoice that
includes the item's net price, VAT percent, VAT amount, and
total price. Since VAT rates vary
depending on the item and on the user's country of residence, a
seller is responsible for entering the correct VAT rate; it is
not calculated by eBay. To specify a <b>VATPercent</b>, a seller must
have a VAT-ID registered with eBay and must be listing the item
on a VAT-enabled site. Max precision 3
decimal places. Max length 5 characters. Note: The View Item
page displays the precision to 2 decimal places with no
trailing zeros. However, the full value you send in is stored.
Returned for all users, not just VAT users, with GetAccountResponse.
type : NSNumber, wrapper for primitive double
*/
@property (nonatomic, retain) NSNumber *vatPercent;
/**
Title of the entry, or explanation of why the debit or credit was
applied.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *title;
/**
<b>OrderLineItemID</b> is a unique identifier for an eBay order line item and is
based upon the concatenation of <b>ItemID</b> and <b>TransactionID</b>, with a hyphen in
between these two IDs. If the account detail entry is associated with an
order line item, this field shows the <b>OrderLineItemID</b> value. Otherwise, 0 is
returned in this field.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *orderLineItemID;
/**
The unique identifier of an order line item (transaction). If the account
detail entry is associated with an order line item, this field shows the
eBay <b>TransactionID</b> value. Otherwise, 0 is returned in this field.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *transactionID;
/**
This boolean is returned as 'true' if the seller received a top-rated seller
20 percent discount on the final value fee for the order line item.
type : NSNumber, wrapper for primitive bool
*/
@property (nonatomic, retain) NSNumber *receivedTopRatedDiscount;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,113 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AccountEntryType.h"
#import "Trading_AmountType.h"
@implementation Trading_AccountEntryType
@synthesize accountDetailsEntryType = _accountDetailsEntryType;
@synthesize description = _description;
@synthesize balance = _balance;
@synthesize date = _date;
@synthesize grossDetailAmount = _grossDetailAmount;
@synthesize itemID = _itemID;
@synthesize memo = _memo;
@synthesize conversionRate = _conversionRate;
@synthesize netDetailAmount = _netDetailAmount;
@synthesize refNumber = _refNumber;
@synthesize vatPercent = _vatPercent;
@synthesize title = _title;
@synthesize orderLineItemID = _orderLineItemID;
@synthesize transactionID = _transactionID;
@synthesize receivedTopRatedDiscount = _receivedTopRatedDiscount;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AccountDetailsEntryType" propertyName:@"accountDetailsEntryType" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"accountDetailsEntryType"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Description" propertyName:@"description" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"description"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Balance" propertyName:@"balance" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"balance"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Date" propertyName:@"date" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"date"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"GrossDetailAmount" propertyName:@"grossDetailAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"grossDetailAmount"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Memo" propertyName:@"memo" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"memo"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ConversionRate" propertyName:@"conversionRate" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"conversionRate"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"NetDetailAmount" propertyName:@"netDetailAmount" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"netDetailAmount"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RefNumber" propertyName:@"refNumber" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"refNumber"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"VATPercent" propertyName:@"vatPercent" type:PICO_TYPE_DOUBLE clazz:nil];
[map setObject:ps forKey:@"vatPercent"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Title" propertyName:@"title" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"title"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderLineItemID" propertyName:@"orderLineItemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"orderLineItemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TransactionID" propertyName:@"transactionID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"transactionID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ReceivedTopRatedDiscount" propertyName:@"receivedTopRatedDiscount" type:PICO_TYPE_BOOL clazz:nil];
[map setObject:ps forKey:@"receivedTopRatedDiscount"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.accountDetailsEntryType = nil;
self.description = nil;
self.balance = nil;
self.date = nil;
self.grossDetailAmount = nil;
self.itemID = nil;
self.memo = nil;
self.conversionRate = nil;
self.netDetailAmount = nil;
self.refNumber = nil;
self.vatPercent = nil;
self.title = nil;
self.orderLineItemID = nil;
self.transactionID = nil;
self.receivedTopRatedDiscount = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,47 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
Specifies a report format to be used to describe the seller's account.
@ingroup EBayAPIInterface
*/
/**
(in) Contains the entries since the last invoice eBay sent to the seller.
If you use LastInvoice, then InvoiceDate, BeginDate and EndDate are ignored.
*/
extern NSString *const Trading_AccountHistorySelectionCodeType_LAST_INVOICE;
/**
(in) Contains the entries for a specific invoice, identified
by the invoice month and year. If you use SpecifiedInvoice, then you
must also use InvoiceDate. If you use SpecifiedInvoice, then BeginDate and EndDate are ignored.
*/
extern NSString *const Trading_AccountHistorySelectionCodeType_SPECIFIED_INVOICE;
/**
(in) Contains entries that were posted to the seller's account between two dates.
The period covered may cross the boundaries of formal invoices.
If you use BetweenSpecifiedDates, then you also must specify BeginDate and EndDate.
If you use BetweenSpecifiedDates, then InvoiceDate is ignored.
*/
extern NSString *const Trading_AccountHistorySelectionCodeType_BETWEEN_SPECIFIED_DATES;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AccountHistorySelectionCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,45 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AccountHistorySelectionCodeType.h"
/**
@file
Specifies a report format to be used to describe the seller's account.
*/
/**
(in) Contains the entries since the last invoice eBay sent to the seller.
If you use LastInvoice, then InvoiceDate, BeginDate and EndDate are ignored.
*/
NSString *const Trading_AccountHistorySelectionCodeType_LAST_INVOICE = @"LastInvoice";
/**
(in) Contains the entries for a specific invoice, identified
by the invoice month and year. If you use SpecifiedInvoice, then you
must also use InvoiceDate. If you use SpecifiedInvoice, then BeginDate and EndDate are ignored.
*/
NSString *const Trading_AccountHistorySelectionCodeType_SPECIFIED_INVOICE = @"SpecifiedInvoice";
/**
(in) Contains entries that were posted to the seller's account between two dates.
The period covered may cross the boundaries of formal invoices.
If you use BetweenSpecifiedDates, then you also must specify BeginDate and EndDate.
If you use BetweenSpecifiedDates, then InvoiceDate is ignored.
*/
NSString *const Trading_AccountHistorySelectionCodeType_BETWEEN_SPECIFIED_DATES = @"BetweenSpecifiedDates";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AccountHistorySelectionCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,43 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
State of an account of an eBay user.
@ingroup EBayAPIInterface
*/
/**
(out) The account is active.
*/
extern NSString *const Trading_AccountStateCodeType_ACTIVE;
/**
(out) The account has been created but is not yet active,
pending additional information or processing by eBay.
*/
extern NSString *const Trading_AccountStateCodeType_PENDING;
/**
(out) The account is inactive. No new seller account entries
would be posted by eBay to the account.
*/
extern NSString *const Trading_AccountStateCodeType_INACTIVE;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AccountStateCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,41 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AccountStateCodeType.h"
/**
@file
State of an account of an eBay user.
*/
/**
(out) The account is active.
*/
NSString *const Trading_AccountStateCodeType_ACTIVE = @"Active";
/**
(out) The account has been created but is not yet active,
pending additional information or processing by eBay.
*/
NSString *const Trading_AccountStateCodeType_PENDING = @"Pending";
/**
(out) The account is inactive. No new seller account entries
would be posted by eBay to the account.
*/
NSString *const Trading_AccountStateCodeType_INACTIVE = @"Inactive";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AccountStateCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,289 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_AdditionalAccountType;
@class Trading_AmountType;
/**
Summary data for the requesting user's seller account as a whole. This includes a
balance for the account, any past due amount and date, and defining data for
additional accounts (if the user has changed country of residency while having an
active eBay account).
@ingroup EBayAPIInterface
*/
@interface Trading_AccountSummaryType : NSObject <PicoBindable> {
@private
NSString *_accountState;
Trading_AmountType *_invoicePayment;
Trading_AmountType *_invoiceCredit;
Trading_AmountType *_invoiceNewFee;
NSMutableArray *_additionalAccount;
Trading_AmountType *_amountPastDue;
NSString *_bankAccountInfo;
NSDate *_bankModifyDate;
NSNumber *_billingCycleDate;
NSDate *_creditCardExpiration;
NSString *_creditCardInfo;
NSDate *_creditCardModifyDate;
Trading_AmountType *_currentBalance;
NSString *_email;
Trading_AmountType *_invoiceBalance;
NSDate *_invoiceDate;
Trading_AmountType *_lastAmountPaid;
NSDate *_lastPaymentDate;
NSNumber *_pastDue;
NSString *_paymentMethod;
NSMutableArray *_any;
}
/**
Indicates the current state of the account (such as active or inactive).
Possible values are enumerated in the AccountStateCodeType code list.
type: string constant in Trading_AccountStateCodeType.h
*/
@property (nonatomic, retain) NSString *accountState;
/**
Specifies payment made since the previous invoice, but is
returned only if AccountHistorySelection is LastInvoice or Specified
Invoice. The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *invoicePayment;
/**
Specifies credits granted since the previous invoice, but
is only returned AccountHistorySelection is LastInvoice or Specified
Invoice.
The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *invoiceCredit;
/**
Specifies fees incurred since the last invoice, including
tax if applicable. Returned only if AccountHistorySelection
is LastInvoice or Specified Invoice. The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *invoiceNewFee;
/**
Contains the data for one additional account. An AccountSummaryType object
may return zero, one, or multiple additional accounts. See the schema
documentation for AdditionalAccountType for details on additional accounts.
The value is positive for debits and negative for credits.
entry type : class Trading_AdditionalAccountType
*/
@property (nonatomic, retain) NSMutableArray *additionalAccount;
/**
Amount past due, 0.00 if not past due.
The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *amountPastDue;
/**
First four digits of the bank account the user associated with the seller
account (with remainder Xed-out). This may be an empty string depending
upon the payment type the user selected for the account (e.g., if no
debit-card specified).
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *bankAccountInfo;
/**
Indicates the date and time BankAccountInfo was last modified, in GMT.
(Also see the Data Types appendix for more information on how GMT dates are
handled in SOAP.) This may be an empty string depending upon the payment
type the user selected for the account (e.g., if no debit-card specified).
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *bankModifyDate;
/**
Indicates the billing cycle in which eBay sends a billing invoice to the
user. A value of 0 (zero) indicates an invoice sent on the last day of the
month. A value of 15 indicates an invoice sent on the 15th day of the
month.
type : NSNumber, wrapper for primitive int
*/
@property (nonatomic, retain) NSNumber *billingCycleDate;
/**
Expiration date for the credit card selected by the user as payment method
for the account, in GMT. (Also see the Data Types appendix for more
information on how GMT dates are handled in SOAP.) Empty string if no
credit card is on file or if the account is inactive - even if there is a
credit card on file.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *creditCardExpiration;
/**
Last four digits of the credit card the user selected as payment method for
the account. Empty string if no credit is on file.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *creditCardInfo;
/**
Indicates the date and time credit card or credit card expiration date was
last modified, in GMT. (Also see the Data Types appendix for more
information on how GMT dates are handled in SOAP.) This may be an empty
string depending on the payment method the user selected for the account
(e.g., Empty string if no credit card is on file.)
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *creditCardModifyDate;
/**
Current balance for the account. Can be 0.00, positive, or negative.
The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *currentBalance;
/**
(out) Email address for the user. You cannot retrieve an email address for any
user with whom you do not have a transactional relationship, regardless of
site. Email is only returned for applicable calls when you are retrieving your
own user data OR when you and the other user are in a transactional
relationship and the call is being executed within a certain amount of time
after the transaction is created.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *email;
/**
Amount of last invoice. 0.00 if account not yet invoiced.
The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *invoiceBalance;
/**
Date of last invoice sent by eBay to the user, in GMT. (Also see the Data
Types appendix for more information on how GMT dates are handled in SOAP.)
Empty string if this account has not been invoiced yet.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *invoiceDate;
/**
Amount of last payment posted, 0.00 if no payments posted.
The value is positive for debits and negative for credits.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *lastAmountPaid;
/**
Date of last payment by the user to eBay, in GMT. (Also see the Data Types
appendix for more information on how GMT dates are handled in SOAP.) Empty
string if no payments have been posted.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *lastPaymentDate;
/**
Indicates whether the account has past due amounts outstanding. A value of
true indicates that the account is past due. A value of false indicates the
account is current.
type : NSNumber, wrapper for primitive bool
*/
@property (nonatomic, retain) NSNumber *pastDue;
/**
Indicates the method the user selected to pay eBay with for the account.
The values for PaymentMethod vary from one global eBay site to the next.
Payment methods are enumerated in the SellerPaymentMethodCodeType code
list.
type: string constant in Trading_SellerPaymentMethodCodeType.h
*/
@property (nonatomic, retain) NSString *paymentMethod;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,139 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AccountSummaryType.h"
#import "Trading_AdditionalAccountType.h"
#import "Trading_AmountType.h"
@implementation Trading_AccountSummaryType
@synthesize accountState = _accountState;
@synthesize invoicePayment = _invoicePayment;
@synthesize invoiceCredit = _invoiceCredit;
@synthesize invoiceNewFee = _invoiceNewFee;
@synthesize additionalAccount = _additionalAccount;
@synthesize amountPastDue = _amountPastDue;
@synthesize bankAccountInfo = _bankAccountInfo;
@synthesize bankModifyDate = _bankModifyDate;
@synthesize billingCycleDate = _billingCycleDate;
@synthesize creditCardExpiration = _creditCardExpiration;
@synthesize creditCardInfo = _creditCardInfo;
@synthesize creditCardModifyDate = _creditCardModifyDate;
@synthesize currentBalance = _currentBalance;
@synthesize email = _email;
@synthesize invoiceBalance = _invoiceBalance;
@synthesize invoiceDate = _invoiceDate;
@synthesize lastAmountPaid = _lastAmountPaid;
@synthesize lastPaymentDate = _lastPaymentDate;
@synthesize pastDue = _pastDue;
@synthesize paymentMethod = _paymentMethod;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AccountState" propertyName:@"accountState" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"accountState"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvoicePayment" propertyName:@"invoicePayment" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"invoicePayment"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvoiceCredit" propertyName:@"invoiceCredit" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"invoiceCredit"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvoiceNewFee" propertyName:@"invoiceNewFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"invoiceNewFee"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"AdditionalAccount" propertyName:@"additionalAccount" type:PICO_TYPE_OBJECT clazz:[Trading_AdditionalAccountType class]];
[map setObject:ps forKey:@"additionalAccount"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AmountPastDue" propertyName:@"amountPastDue" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"amountPastDue"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BankAccountInfo" propertyName:@"bankAccountInfo" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"bankAccountInfo"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BankModifyDate" propertyName:@"bankModifyDate" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"bankModifyDate"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BillingCycleDate" propertyName:@"billingCycleDate" type:PICO_TYPE_INT clazz:nil];
[map setObject:ps forKey:@"billingCycleDate"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreditCardExpiration" propertyName:@"creditCardExpiration" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"creditCardExpiration"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreditCardInfo" propertyName:@"creditCardInfo" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"creditCardInfo"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreditCardModifyDate" propertyName:@"creditCardModifyDate" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"creditCardModifyDate"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CurrentBalance" propertyName:@"currentBalance" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"currentBalance"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Email" propertyName:@"email" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"email"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvoiceBalance" propertyName:@"invoiceBalance" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"invoiceBalance"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"InvoiceDate" propertyName:@"invoiceDate" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"invoiceDate"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"LastAmountPaid" propertyName:@"lastAmountPaid" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"lastAmountPaid"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"LastPaymentDate" propertyName:@"lastPaymentDate" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"lastPaymentDate"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PastDue" propertyName:@"pastDue" type:PICO_TYPE_BOOL clazz:nil];
[map setObject:ps forKey:@"pastDue"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PaymentMethod" propertyName:@"paymentMethod" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"paymentMethod"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.accountState = nil;
self.invoicePayment = nil;
self.invoiceCredit = nil;
self.invoiceNewFee = nil;
self.additionalAccount = nil;
self.amountPastDue = nil;
self.bankAccountInfo = nil;
self.bankModifyDate = nil;
self.billingCycleDate = nil;
self.creditCardExpiration = nil;
self.creditCardInfo = nil;
self.creditCardModifyDate = nil;
self.currentBalance = nil;
self.email = nil;
self.invoiceBalance = nil;
self.invoiceDate = nil;
self.lastAmountPaid = nil;
self.lastPaymentDate = nil;
self.pastDue = nil;
self.paymentMethod = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,54 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
This code identifies the acknowledgement code types that
eBay could use to communicate the status of processing a
(request) message to an application. This code would be used
as part of a response message that contains an
application-level acknowledgement element.
@ingroup EBayAPIInterface
*/
/**
(out) Request processing succeeded
*/
extern NSString *const Trading_AckCodeType_SUCCESS;
/**
(out) Request processing failed
*/
extern NSString *const Trading_AckCodeType_FAILURE;
/**
(out) Request processing completed with warning information
being included in the response message
*/
extern NSString *const Trading_AckCodeType_WARNING;
/**
(out) Request processing completed with some failures.
See the Errors data to determine which portions of the request failed.
*/
extern NSString *const Trading_AckCodeType_PARTIAL_FAILURE;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AckCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,52 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AckCodeType.h"
/**
@file
This code identifies the acknowledgement code types that
eBay could use to communicate the status of processing a
(request) message to an application. This code would be used
as part of a response message that contains an
application-level acknowledgement element.
*/
/**
(out) Request processing succeeded
*/
NSString *const Trading_AckCodeType_SUCCESS = @"Success";
/**
(out) Request processing failed
*/
NSString *const Trading_AckCodeType_FAILURE = @"Failure";
/**
(out) Request processing completed with warning information
being included in the response message
*/
NSString *const Trading_AckCodeType_WARNING = @"Warning";
/**
(out) Request processing completed with some failures.
See the Errors data to determine which portions of the request failed.
*/
NSString *const Trading_AckCodeType_PARTIAL_FAILURE = @"PartialFailure";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AckCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,62 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
Used to indicate whether the Ad Format feature is enabled for a category.
@ingroup EBayAPIInterface
*/
/**
The Ad Format feature is disabled for the category.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_DISABLED;
/**
The Ad Format feature is enabled for the category.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_ENABLED;
/**
The category supports the Ad Format feature only.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_ONLY;
/**
The lead generation Classified Ad Format feature is enabled for the category.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_CLASSIFIED_AD_ENABLED;
/**
The category supports the lead generation Classified Ad Format feature only.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_CLASSIFIED_AD_ONLY;
/**
The category supports the lead generation Motors Local Market feature only.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_LOCAL_MARKET_BEST_OFFER_ONLY;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AdFormatEnabledCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,60 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AdFormatEnabledCodeType.h"
/**
@file
Used to indicate whether the Ad Format feature is enabled for a category.
*/
/**
The Ad Format feature is disabled for the category.
*/
NSString *const Trading_AdFormatEnabledCodeType_DISABLED = @"Disabled";
/**
The Ad Format feature is enabled for the category.
*/
NSString *const Trading_AdFormatEnabledCodeType_ENABLED = @"Enabled";
/**
The category supports the Ad Format feature only.
*/
NSString *const Trading_AdFormatEnabledCodeType_ONLY = @"Only";
/**
The lead generation Classified Ad Format feature is enabled for the category.
*/
NSString *const Trading_AdFormatEnabledCodeType_CLASSIFIED_AD_ENABLED = @"ClassifiedAdEnabled";
/**
The category supports the lead generation Classified Ad Format feature only.
*/
NSString *const Trading_AdFormatEnabledCodeType_CLASSIFIED_AD_ONLY = @"ClassifiedAdOnly";
/**
The category supports the lead generation Motors Local Market feature only.
*/
NSString *const Trading_AdFormatEnabledCodeType_LOCAL_MARKET_BEST_OFFER_ONLY = @"LocalMarketBestOfferOnly";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AdFormatEnabledCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,36 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
/**
Defines the AdFormatEnabled feature. If the field is present, the corresponding feature applies to the category. The field is returned as an empty element (e.g., a boolean value is not returned).
@ingroup EBayAPIInterface
*/
@interface Trading_AdFormatEnabledDefinitionType : NSObject <PicoBindable> {
@private
NSMutableArray *_any;
}
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,37 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AdFormatEnabledDefinitionType.h"
@implementation Trading_AdFormatEnabledDefinitionType
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,34 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
/**
@file
Contains information about the status of email correspondence for the lead.
@ingroup EBayAPIInterface
*/
/**
A new message from a prospective buyer that the seller has not yet responded to.
*/
extern NSString *const Trading_AdFormatLeadStatusCodeType_NEW;
/**
A message from a prospective buyer that the seller has responded to.
*/
extern NSString *const Trading_AdFormatLeadStatusCodeType_RESPONDED;
/**
(out) Reserved for internal or future use.
*/
extern NSString *const Trading_AdFormatLeadStatusCodeType_CUSTOM_CODE;

View File

@ -0,0 +1,32 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import "Trading_AdFormatLeadStatusCodeType.h"
/**
@file
Contains information about the status of email correspondence for the lead.
*/
/**
A new message from a prospective buyer that the seller has not yet responded to.
*/
NSString *const Trading_AdFormatLeadStatusCodeType_NEW = @"New";
/**
A message from a prospective buyer that the seller has responded to.
*/
NSString *const Trading_AdFormatLeadStatusCodeType_RESPONDED = @"Responded";
/**
(out) Reserved for internal or future use.
*/
NSString *const Trading_AdFormatLeadStatusCodeType_CUSTOM_CODE = @"CustomCode";

View File

@ -0,0 +1,285 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_AddressType;
@class Trading_MemberMessageExchangeArrayType;
@class Trading_AmountType;
/**
Contains prospective buyer contact information and other details associated with
a lead for an ad format listing.
@ingroup EBayAPIInterface
*/
@interface Trading_AdFormatLeadType : NSObject <PicoBindable> {
@private
NSString *_additionalInformation;
Trading_AddressType *_address;
NSString *_bestTimeToCall;
NSString *_email;
NSDate *_submittedTime;
NSString *_itemID;
NSString *_itemTitle;
NSString *_userID;
Trading_MemberMessageExchangeArrayType *_memberMessage;
NSString *_status;
Trading_AmountType *_leadFee;
NSString *_externalEmail;
NSString *_purchaseTimeFrame;
NSString *_tradeInYear;
NSString *_tradeInMake;
NSString *_tradeInModel;
NSNumber *_financingAnswer;
NSNumber *_answer1;
NSNumber *_answer2;
NSMutableArray *_any;
}
/**
Message sent from the prospective buyer to the seller. Same
content as in the AdFormatLead.MemberMessage.MemberMessageExchange.Question.Body node (that is only displayed if IncludeMemberMessages =
true is included in the request). The advantage of
retrieving the MemberMessageExchange node, however, is that
you retrieve the entire exchange between the seller and the
lead.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *additionalInformation;
/**
Address information for the prospective buyer.
Not returned or returned self-closed if information is unavailable.
type : class Trading_AddressType
*/
@property (nonatomic, retain) Trading_AddressType *address;
/**
The time of day when the prospective buyer prefers to be contacted by the
seller.
Not returned if information is unavailable.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *bestTimeToCall;
/**
Email address for the prospective buyer. If the prospective buyer chooses to
hide his email address when contacting the seller, this element contains two
dashes (--) instead of an email address.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *email;
/**
Date and time (in GMT) that the lead was submitted.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *submittedTime;
/**
The ID of the item that the lead is for.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
The title of the item listing.
<br><br>
<span class="tablenote"><b>Note:</b>
The maximum length of an eBay Item Title is increasing to 80 characters in
Version 735.
</span>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemTitle;
/**
The eBay ID of the user who is interested in the seller's item.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *userID;
/**
Contains any mail message content shared between the seller and lead.
type : class Trading_MemberMessageExchangeArrayType
*/
@property (nonatomic, retain) Trading_MemberMessageExchangeArrayType *memberMessage;
/**
Status of the lead.
type: string constant in Trading_AdFormatLeadStatusCodeType.h
*/
@property (nonatomic, retain) NSString *status;
/**
The pay-per-lead feature is no longer available, and this field is scheduled to
be removed from the WSDL.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *leadFee;
/**
Email address for the prospective buyer as entered in the lead form on the View
Item page. Provides a way for sellers to contact prospective buyers who choose not to
log in to eBay. This applies to only eBay Motors and eBay Motors categories.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *externalEmail;
/**
Prospective buyer's time frame for purchasing a vehicle as entered in the
Lead form on View Item page for eBay Motors and eBay Motors categories.
Purchasing Time Frames include:
<ul>
<li>
within next 3 days
</li>
<li>
within a week
</li>
<li>
within a month
</li>
<li>
within three months
</li>
<li>
in more than three months
</li>
<li>
within an undecided time frame
</li>
</ul>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *purchaseTimeFrame;
/**
The year of the vehicle the prospective buyer would like to trade in. Entered on
the lead form on the View Item page. Applies to eBay Motors and Motors categories
only.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *tradeInYear;
/**
The make of the vehicle the prospective buyer would like to trade in. Entered on
the lead form on the View Item page. Applies to eBay Motors and Motors categories
only.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *tradeInMake;
/**
The model of the vehicle the prospective buyer would like to trade in. Entered on the lead form on the View Item page.Applies to eBay Motors and Motors categories only.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *tradeInModel;
/**
Prospective buyer answer whether or not the prospective buyer would like
financing. Entered on the lead form on the View Item page. Applies to eBay Motors
and Motors categories only. Financing response meanings: 0= no response,1= yes, 2=
no.
type : NSNumber, wrapper for primitive bool
*/
@property (nonatomic, retain) NSNumber *financingAnswer;
/**
This field corresponds to a configurable question on the lead form in the View
Item web page. The corresponding question is site-specific. To determine the
question for a specific site, you must view the form in the web flow for the given
site. This field applies to Classified Ad format listings in Motors categories
only.
type : NSNumber, wrapper for primitive bool
*/
@property (nonatomic, retain) NSNumber *answer1;
/**
This field corresponds to a configurable question on the lead form in the View
Item web page. The corresponding question is site-specific. To determine the
question for a specific site, you must view the form in the web flow for the given
site. This field applies to Classified Ad format listings in Motors categories
only.
type : NSNumber, wrapper for primitive bool
*/
@property (nonatomic, retain) NSNumber *answer2;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,135 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AdFormatLeadType.h"
#import "Trading_AddressType.h"
#import "Trading_MemberMessageExchangeArrayType.h"
#import "Trading_AmountType.h"
@implementation Trading_AdFormatLeadType
@synthesize additionalInformation = _additionalInformation;
@synthesize address = _address;
@synthesize bestTimeToCall = _bestTimeToCall;
@synthesize email = _email;
@synthesize submittedTime = _submittedTime;
@synthesize itemID = _itemID;
@synthesize itemTitle = _itemTitle;
@synthesize userID = _userID;
@synthesize memberMessage = _memberMessage;
@synthesize status = _status;
@synthesize leadFee = _leadFee;
@synthesize externalEmail = _externalEmail;
@synthesize purchaseTimeFrame = _purchaseTimeFrame;
@synthesize tradeInYear = _tradeInYear;
@synthesize tradeInMake = _tradeInMake;
@synthesize tradeInModel = _tradeInModel;
@synthesize financingAnswer = _financingAnswer;
@synthesize answer1 = _answer1;
@synthesize answer2 = _answer2;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"AdditionalInformation" propertyName:@"additionalInformation" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"additionalInformation"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Address" propertyName:@"address" type:PICO_TYPE_OBJECT clazz:[Trading_AddressType class]];
[map setObject:ps forKey:@"address"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BestTimeToCall" propertyName:@"bestTimeToCall" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"bestTimeToCall"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Email" propertyName:@"email" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"email"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SubmittedTime" propertyName:@"submittedTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"submittedTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemTitle" propertyName:@"itemTitle" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemTitle"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"UserID" propertyName:@"userID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"userID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MemberMessage" propertyName:@"memberMessage" type:PICO_TYPE_OBJECT clazz:[Trading_MemberMessageExchangeArrayType class]];
[map setObject:ps forKey:@"memberMessage"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Status" propertyName:@"status" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"status"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"LeadFee" propertyName:@"leadFee" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"leadFee"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ExternalEmail" propertyName:@"externalEmail" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"externalEmail"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"PurchaseTimeFrame" propertyName:@"purchaseTimeFrame" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"purchaseTimeFrame"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeInYear" propertyName:@"tradeInYear" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"tradeInYear"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeInMake" propertyName:@"tradeInMake" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"tradeInMake"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TradeInModel" propertyName:@"tradeInModel" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"tradeInModel"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"FinancingAnswer" propertyName:@"financingAnswer" type:PICO_TYPE_BOOL clazz:nil];
[map setObject:ps forKey:@"financingAnswer"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Answer1" propertyName:@"answer1" type:PICO_TYPE_BOOL clazz:nil];
[map setObject:ps forKey:@"answer1"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Answer2" propertyName:@"answer2" type:PICO_TYPE_BOOL clazz:nil];
[map setObject:ps forKey:@"answer2"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.additionalInformation = nil;
self.address = nil;
self.bestTimeToCall = nil;
self.email = nil;
self.submittedTime = nil;
self.itemID = nil;
self.itemTitle = nil;
self.userID = nil;
self.memberMessage = nil;
self.status = nil;
self.leadFee = nil;
self.externalEmail = nil;
self.purchaseTimeFrame = nil;
self.tradeInYear = nil;
self.tradeInMake = nil;
self.tradeInModel = nil;
self.financingAnswer = nil;
self.answer1 = nil;
self.answer2 = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,113 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
/**
This call enables a seller to create an Unpaid Item case against a buyer, or to cancel a
single line item order.
<br/><br/>
<span class="tablenote"><b>Note:</b>
This call is only used by sellers to create an Unpaid Item cases or to mutually cancel a
single line item order. Buyers must use the eBay Resolution Center or PayPal Resolution
Center (for orders that satisfy requirements) to create an Item Not Received or an Item
Significantly Not as Described case.
</span>
@ingroup EBayAPIInterface
*/
@interface Trading_AddDisputeRequestType : Trading_AbstractRequestType {
@private
NSString *_disputeExplanation;
NSString *_disputeReason;
NSString *_itemID;
NSString *_transactionID;
NSString *_orderLineItemID;
}
/**
This enumerated value gives the explanation of why the buyer or seller opened a
case (or why seller canceled an order line item). Not all values contained in
<b>DisputeExplanationCodeType</b> are allowed in the
<b>AddDispute</b> call, and the values that are allowed must match
the <b>DisputeReason</b> value.
type: string constant in Trading_DisputeExplanationCodeType.h
*/
@property (nonatomic, retain) NSString *disputeExplanation;
/**
The type of dispute being created. <b>BuyerHasNotPaid</b> and
<b>TransactionMutuallyCanceled</b> are the only values that may
be used with the <b>AddDispute</b> call.
type: string constant in Trading_DisputeReasonCodeType.h
*/
@property (nonatomic, retain) NSString *disputeReason;
/**
Unique identifier for an eBay item listing. A listing can have multiple
orders, but only one <b>ItemID</b>. To
identify a specific order line item, either an
<b>ItemID</b>/<b>TransactionID</b> pair or an
<b>OrderLineItemID</b> value must be passed in the request. So,
unless <b>OrderLineItemID</b> is used, this field is required.
<br>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
The unique identifier of an order line item. An order line item is created once
a buyer purchases the item through a fixed-priced listing or by using the Buy It
Now feature in an auction listing, or when an auction listing ends with a
winning bidder. To identify a specific order line item, either an
<b>ItemID</b>/<b>TransactionID</b> pair or an
<b>OrderLineItemID</b> value must be passed in the request. So,
unless <b>OrderLineItemID</b> is used, this field is required.
<br>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *transactionID;
/**
<b>OrderLineItemID</b> is a unique identifier of an order line item,
and is based upon the concatenation of <b>ItemID</b> and
<b>TransactionID</b>, with a hyphen in between these two IDs. To
identify a specific order line item, either an
<b>ItemID</b>/<b>TransactionID</b> pair or an
<b>OrderLineItemID</b> value must be passed in the request. So,
unless <b>ItemID</b>/<b>TransactionID</b> pair is used,
this field is required.
<br>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *orderLineItemID;
@end

View File

@ -0,0 +1,59 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddDisputeRequestType.h"
@implementation Trading_AddDisputeRequestType
@synthesize disputeExplanation = _disputeExplanation;
@synthesize disputeReason = _disputeReason;
@synthesize itemID = _itemID;
@synthesize transactionID = _transactionID;
@synthesize orderLineItemID = _orderLineItemID;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddDisputeRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeExplanation" propertyName:@"disputeExplanation" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"disputeExplanation"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeReason" propertyName:@"disputeReason" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"disputeReason"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"TransactionID" propertyName:@"transactionID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"transactionID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderLineItemID" propertyName:@"orderLineItemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"orderLineItemID"];
[ps release];
return map;
}
-(void)dealloc {
self.disputeExplanation = nil;
self.disputeReason = nil;
self.itemID = nil;
self.transactionID = nil;
self.orderLineItemID = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,106 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
/**
Allows a seller to respond to or close an Item Not Received dispute.
This can be used to add a comment to an Unpaid Item Dispute
only if the request version was lower than 637 when the
dispute was created.
@ingroup EBayAPIInterface
*/
@interface Trading_AddDisputeResponseRequestType : Trading_AbstractRequestType {
@private
NSString *_disputeID;
NSString *_messageText;
NSString *_disputeActivity;
NSString *_shippingCarrierUsed;
NSString *_shipmentTrackNumber;
NSDate *_shippingTime;
}
/**
The unique identifier of the dispute,
returned when the dispute was created.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *disputeID;
/**
The text of a comment or response being posted to the dispute. Required
when DisputeActivity is SellerAddInformation, SellerComment, or
SellerPaymentNotReceived; otherwise, optional.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *messageText;
/**
The type of activity the seller is taking on the dispute. The allowed value is
determined by the current value of DisputeState, returned by GetDispute or
GetUserDisputes. Some values relate to Unpaid Item disputes and other values relate
to buyer-created disputes known as Item Not Received or Significantly Not As
Described disputes.
type: string constant in Trading_DisputeActivityCodeType.h
*/
@property (nonatomic, retain) NSString *disputeActivity;
/**
The shipping carrier used to ship the item in dispute. Non-alphanumeric
characters are not allowed. This field (along with ShipmentTrackNumber) is
required if DisputeActivity is SellerShippedItem.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *shippingCarrierUsed;
/**
The tracking number associated with one package of a shipment. The seller is
responsible for the accuracy of the shipment tracking number, as eBay only
verifies that the tracking number is consistent with the numbering scheme
used by the specified shipping carrier, but cannot verify the accuracy of
the tracking number. This field (along with ShippingCarrierUsed) is required
if DisputeActivity is SellerShippedItem.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *shipmentTrackNumber;
/**
This timestamp indicates the date and time when the item under dispute was
shipped. This field is required if DisputeActivity is SellerShippedItem.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *shippingTime;
@end

View File

@ -0,0 +1,64 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddDisputeResponseRequestType.h"
@implementation Trading_AddDisputeResponseRequestType
@synthesize disputeID = _disputeID;
@synthesize messageText = _messageText;
@synthesize disputeActivity = _disputeActivity;
@synthesize shippingCarrierUsed = _shippingCarrierUsed;
@synthesize shipmentTrackNumber = _shipmentTrackNumber;
@synthesize shippingTime = _shippingTime;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddDisputeResponseRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeID" propertyName:@"disputeID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"disputeID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MessageText" propertyName:@"messageText" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"messageText"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeActivity" propertyName:@"disputeActivity" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"disputeActivity"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingCarrierUsed" propertyName:@"shippingCarrierUsed" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"shippingCarrierUsed"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShipmentTrackNumber" propertyName:@"shipmentTrackNumber" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"shipmentTrackNumber"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ShippingTime" propertyName:@"shippingTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"shippingTime"];
[ps release];
return map;
}
-(void)dealloc {
self.disputeID = nil;
self.messageText = nil;
self.disputeActivity = nil;
self.shippingCarrierUsed = nil;
self.shipmentTrackNumber = nil;
self.shippingTime = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,28 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
/**
Response to a call of AddDisputeResponse.
@ingroup EBayAPIInterface
*/
@interface Trading_AddDisputeResponseResponseType : Trading_AbstractResponseType {
@private
}
@end

View File

@ -0,0 +1,33 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddDisputeResponseResponseType.h"
@implementation Trading_AddDisputeResponseResponseType
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddDisputeResponseResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
return map;
}
-(void)dealloc {
[super dealloc];
}
@end

View File

@ -0,0 +1,41 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
/**
Type defining the response of the <b>AddDispute</b> call. Upon a successful
call, the response contains a newly created DisputeID value, which confirms that the
the Unpaid Item or Mutually Canceled Transaction case was successfully created.
@ingroup EBayAPIInterface
*/
@interface Trading_AddDisputeResponseType : Trading_AbstractResponseType {
@private
NSString *_disputeID;
}
/**
The unique identifier of the Unpaid Item or Mutually Canceled Transaction case
that was successfully created with the <b>AddDispute</b> call.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *disputeID;
@end

View File

@ -0,0 +1,39 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddDisputeResponseType.h"
@implementation Trading_AddDisputeResponseType
@synthesize disputeID = _disputeID;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddDisputeResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"DisputeID" propertyName:@"disputeID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"disputeID"];
[ps release];
return map;
}
-(void)dealloc {
self.disputeID = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,49 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_ItemType;
/**
Defines and lists a new fixed-price listing (not auction-style listings).
The main difference between AddFixedPriceItem and AddItem is that
AddFixedPriceItem supports the creation of fixed-price listings only,
whereas AddItem supports all listing formats.<br>
<br>
Also, only AddFixedPriceItem supports multi-variation listings
and tracking inventory by SKU. AddItem does not support
Variations or InventoryTrackingMethod.<br>
<br>
See the AddFixedPriceItem documentation for additional information.
@ingroup EBayAPIInterface
*/
@interface Trading_AddFixedPriceItemRequestType : Trading_AbstractRequestType {
@private
Trading_ItemType *_item;
}
/**
Root container holding all values that define a new
fixed-price listing.
type : class Trading_ItemType
*/
@property (nonatomic, retain) Trading_ItemType *item;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddFixedPriceItemRequestType.h"
#import "Trading_ItemType.h"
@implementation Trading_AddFixedPriceItemRequestType
@synthesize item = _item;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddFixedPriceItemRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Item" propertyName:@"item" type:PICO_TYPE_OBJECT clazz:[Trading_ItemType class]];
[map setObject:ps forKey:@"item"];
[ps release];
return map;
}
-(void)dealloc {
self.item = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,142 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
@class Trading_ProductSuggestionsType;
@class Trading_FeesType;
/**
Returns the item ID, SKU (if any), and the estimated fees for the
new listing (except the Final Value Fee, which isn't calculated until
the item has sold), the start and end times of the listing,
and other details.
@ingroup EBayAPIInterface
*/
@interface Trading_AddFixedPriceItemResponseType : Trading_AbstractResponseType {
@private
NSString *_itemID;
NSString *_sku;
NSDate *_startTime;
NSDate *_endTime;
Trading_FeesType *_fees;
NSString *_categoryID;
NSString *_category2ID;
NSMutableArray *_discountReason;
Trading_ProductSuggestionsType *_productSuggestions;
}
/**
Unique identifier for the new fixed price listing.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Item-level SKU for the new listing, if the seller specified
Item.SKU in the request. Variation-level SKUs are not returned
(see GetItem instead).
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *sku;
/**
Starting date and time for the new listing. This value is based
on the time the listing was received and processed, or the
time the item will be listed if the seller specified
Item.ScheduleTime in the request.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *startTime;
/**
Date and time when the new listing ends. This is the starting time
plus the listing duration.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *endTime;
/**
Child elements contain the estimated listing fees for the new item listing.
The fees do not include the Final Value Fee (FVF), which cannot be determined
until an item is sold.
type : class Trading_FeesType
*/
@property (nonatomic, retain) Trading_FeesType *fees;
/**
ID of the primary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in PrimaryCategory was mapped to a new ID by eBay.
If the primary category has not changed or if it has expired with no replacement,
CategoryID does not return a value.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *categoryID;
/**
ID of the secondary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in SecondaryCategory was mapped to a new ID by eBay.
If the secondary category has not changed or it has expired with no replacement,
Category2ID does not return a value.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *category2ID;
/**
The nature of the discount, if a discount is applied.
entry type : string constant in Trading_DiscountReasonCodeType.h
*/
@property (nonatomic, retain) NSMutableArray *discountReason;
/**
Provides a list of products recommended by eBay which match the item information
provided by the seller.
Not applicable to Half.com.
type : class Trading_ProductSuggestionsType
*/
@property (nonatomic, retain) Trading_ProductSuggestionsType *productSuggestions;
@end

View File

@ -0,0 +1,81 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddFixedPriceItemResponseType.h"
#import "Trading_ProductSuggestionsType.h"
#import "Trading_FeesType.h"
@implementation Trading_AddFixedPriceItemResponseType
@synthesize itemID = _itemID;
@synthesize sku = _sku;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
@synthesize fees = _fees;
@synthesize categoryID = _categoryID;
@synthesize category2ID = _category2ID;
@synthesize discountReason = _discountReason;
@synthesize productSuggestions = _productSuggestions;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddFixedPriceItemResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SKU" propertyName:@"sku" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"sku"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"startTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"endTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Fees" propertyName:@"fees" type:PICO_TYPE_OBJECT clazz:[Trading_FeesType class]];
[map setObject:ps forKey:@"fees"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CategoryID" propertyName:@"categoryID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"categoryID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Category2ID" propertyName:@"category2ID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"category2ID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DiscountReason" propertyName:@"discountReason" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"discountReason"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ProductSuggestions" propertyName:@"productSuggestions" type:PICO_TYPE_OBJECT clazz:[Trading_ProductSuggestionsType class]];
[map setObject:ps forKey:@"productSuggestions"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.sku = nil;
self.startTime = nil;
self.endTime = nil;
self.fees = nil;
self.categoryID = nil;
self.category2ID = nil;
self.discountReason = nil;
self.productSuggestions = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,71 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_ItemType;
/**
Creates listings from Selling Manager templates.
This call is subject to change without notice; the
deprecation process is inapplicable to this call.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemFromSellingManagerTemplateRequestType : Trading_AbstractRequestType {
@private
NSNumber *_saleTemplateID;
NSDate *_scheduleTime;
Trading_ItemType *_item;
}
/**
The ID of the template you are using to list an item.
You can obtain a SaleTemplateID by calling GetSellingManagerInventory.
type : NSNumber, wrapper for primitive long
*/
@property (nonatomic, retain) NSNumber *saleTemplateID;
/**
Start time for the listing.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *scheduleTime;
/**
<b>Currently, only the
following can be specified as children of this
container: payment methods,
the PayPal email address, and CategoryMappingAllowed. </b>
This container is intended for specifying
item values that differ from values in the
template specified in the SaleTemplateID field.
However, currently, the only children that
are allowed for this container are payment methods and
a PayPal email address.
type : class Trading_ItemType
*/
@property (nonatomic, retain) Trading_ItemType *item;
@end

View File

@ -0,0 +1,50 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemFromSellingManagerTemplateRequestType.h"
#import "Trading_ItemType.h"
@implementation Trading_AddItemFromSellingManagerTemplateRequestType
@synthesize saleTemplateID = _saleTemplateID;
@synthesize scheduleTime = _scheduleTime;
@synthesize item = _item;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddItemFromSellingManagerTemplateRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SaleTemplateID" propertyName:@"saleTemplateID" type:PICO_TYPE_LONG clazz:nil];
[map setObject:ps forKey:@"saleTemplateID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ScheduleTime" propertyName:@"scheduleTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"scheduleTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Item" propertyName:@"item" type:PICO_TYPE_OBJECT clazz:[Trading_ItemType class]];
[map setObject:ps forKey:@"item"];
[ps release];
return map;
}
-(void)dealloc {
self.saleTemplateID = nil;
self.scheduleTime = nil;
self.item = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,105 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
@class Trading_FeesType;
/**
Returns values indicating information for a new listing.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemFromSellingManagerTemplateResponseType : Trading_AbstractResponseType {
@private
NSString *_itemID;
NSDate *_startTime;
NSDate *_endTime;
Trading_FeesType *_fees;
NSString *_categoryID;
NSString *_category2ID;
}
/**
The unique identifier for the listing that was created by the
AddItemFromSellingManagerTemplate request.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Start time for the listing that was created by the
AddItemFromSellingManagerTemplate request.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *startTime;
/**
End time for the listing that was created by the
AddItemFromSellingManagerTemplate request.
This value is equal to the start time plus the listing duration.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *endTime;
/**
Child elements contain the estimated listing fees for the new item listing.
The fees do not include the Final Value Fee (FVF), which cannot be determined
until an item is sold.
type : class Trading_FeesType
*/
@property (nonatomic, retain) Trading_FeesType *fees;
/**
ID of the primary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in PrimaryCategory was mapped to a new ID by eBay.
If the primary category has not changed or it has expired with no replacement,
CategoryID does not return a value.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *categoryID;
/**
ID of the secondary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in SecondaryCategory was mapped to a new ID by eBay.
If the secondary category has not changed or it has expired with no replacement,
Category2ID does not return a value.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *category2ID;
@end

View File

@ -0,0 +1,65 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemFromSellingManagerTemplateResponseType.h"
#import "Trading_FeesType.h"
@implementation Trading_AddItemFromSellingManagerTemplateResponseType
@synthesize itemID = _itemID;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
@synthesize fees = _fees;
@synthesize categoryID = _categoryID;
@synthesize category2ID = _category2ID;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddItemFromSellingManagerTemplateResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"startTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"endTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Fees" propertyName:@"fees" type:PICO_TYPE_OBJECT clazz:[Trading_FeesType class]];
[map setObject:ps forKey:@"fees"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CategoryID" propertyName:@"categoryID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"categoryID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Category2ID" propertyName:@"category2ID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"category2ID"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.startTime = nil;
self.endTime = nil;
self.fees = nil;
self.categoryID = nil;
self.category2ID = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,67 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_ItemType;
/**
Similar to AddItemRequestType, the AddItemRequestContainerType defines a single
item to be listed. The AddItems request will support up to five (5) request
containers.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemRequestContainerType : NSObject <PicoBindable> {
@private
Trading_ItemType *_item;
NSString *_messageID;
NSMutableArray *_any;
}
/**
Container holding all values that define a new listing. One <b>Item</b>
container is required for each <b>AddItemRequestContainer</b>.
type : class Trading_ItemType
*/
@property (nonatomic, retain) Trading_ItemType *item;
/**
Most Trading API calls support a <b>MessageID</b> element in the request
and a <b>CorrelationID</b> element in the response. With
<b>AddItems</b>, a unique <b>MessageID</b> value is required for
each <b>AddItemRequestContainer<b> container that is used in the request. The
<b>CorrelationID</b> value returned under each
<b>AddItemResponseContainer</b> container is used to correlate each
item request container with its corresponding response container. The same <b>MessageID</b> value that you pass into a request will
be returned in the <b>CorrelationID</b> field in the response.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *messageID;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,48 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemRequestContainerType.h"
#import "Trading_ItemType.h"
@implementation Trading_AddItemRequestContainerType
@synthesize item = _item;
@synthesize messageID = _messageID;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Item" propertyName:@"item" type:PICO_TYPE_OBJECT clazz:[Trading_ItemType class]];
[map setObject:ps forKey:@"item"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MessageID" propertyName:@"messageID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"messageID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.item = nil;
self.messageID = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,46 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_ItemType;
/**
Defines a single new item and lists it on a specified eBay site.&nbsp;<b>Also for Half.com</b>.
Returns the item ID for the new listing, and returns fees the seller will incur for the
listing (not including the Final Value Fee, which cannot be calculated until
the item is sold).
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemRequestType : Trading_AbstractRequestType {
@private
Trading_ItemType *_item;
}
/**
Root container holding all values that define a new
listing.
<br>
<br>
Applicable to Half.com.
type : class Trading_ItemType
*/
@property (nonatomic, retain) Trading_ItemType *item;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemRequestType.h"
#import "Trading_ItemType.h"
@implementation Trading_AddItemRequestType
@synthesize item = _item;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddItemRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Item" propertyName:@"item" type:PICO_TYPE_OBJECT clazz:[Trading_ItemType class]];
[map setObject:ps forKey:@"item"];
[ps release];
return map;
}
-(void)dealloc {
self.item = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,199 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_ErrorType;
@class Trading_FeesType;
/**
This container has all of the resulting information from an AddItems call. There will be one
container per container specified in the request.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemResponseContainerType : NSObject <PicoBindable> {
@private
NSString *_itemID;
NSDate *_startTime;
NSDate *_endTime;
Trading_FeesType *_fees;
NSString *_categoryID;
NSString *_category2ID;
NSString *_correlationID;
NSMutableArray *_errors;
NSString *_message;
NSMutableArray *_discountReason;
NSMutableArray *_any;
}
/**
Unique item ID for the new listing.
Also applicable to Half.com.
<br><br>
<span class="tablenote"><b>Note:</b> Although we
represent item IDs as strings in the schema, we recommend you store them
as 64-bit signed integers. If you choose to store item IDs as strings,
allocate at least 19 characters (assuming decimal digits are used) to hold
them. eBay will increase the size of IDs over time. Your code should be
prepared to handle IDs of up to 19 digits. For more information about item
IDs, see <a
href="http://ebay.custhelp.com/cgi-bin/ebay.cfg/php/enduser/std_adp.php?p_faqid=468">Common
FAQs on eBay Item IDs and other eBay IDs</a> in the Knowledge
Base.</span>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Starting date and time for the new listing.
Also returned for Half.com (for Half.com, the start time is always the time the item was listed).
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *startTime;
/**
Date and time when the new listing ends. This is the starting time
plus the listing duration.
Also returned for Half.com, but for Half.com the actual end time is GTC
(not the end time returned in the response).
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *endTime;
/**
Child elements contain the estimated listing fees for the new item listing.
The fees do not include the Final Value Fee (FVF), which cannot be determined
until an item is sold.
Also returned for Half.com, but the values are not applicable to Half.com listings.
type : class Trading_FeesType
*/
@property (nonatomic, retain) Trading_FeesType *fees;
/**
ID of the primary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in PrimaryCategory was mapped to a new ID by eBay.
If the primary category has not changed or it has expired with no replacement,
CategoryID does not return a value.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *categoryID;
/**
ID of the secondary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in SecondaryCategory was mapped to a new ID by eBay.
If the secondary category has not changed or it has expired with no replacement,
Category2ID does not return a value.
Not applicable to Half.com.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *category2ID;
/**
Most Trading API calls support a <b>MessageID</b> element in the request
and a <b>CorrelationID</b> element in the response. With
<b>AddItems</b>, a unique <b>MessageID</b> value is required for
each <b>AddItemRequestContainer<b> container that is used in the request. The
<b>CorrelationID</b> value returned under each
<b>AddItemResponseContainer</b> container is used to correlate each
item request container with its corresponding response container. The same <b>MessageID</b> value that you pass into a request will
be returned in the <b>CorrelationID</b> field in the response.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *correlationID;
/**
A list of application-level errors or warnings (if any) that were raised
when eBay processed the request. <br>
<br>
Application-level errors occur due to
problems with business-level data on the client side or on the eBay
server side. For example, an error would occur if the request contains
an invalid combination of fields, or it is missing a required field,
or the value of the field is not recognized. An error could also occur
if eBay encountered a problem in our internal business logic while
processing the request.<br>
<br>
Only returned if there were warnings or errors.
entry type : class Trading_ErrorType
*/
@property (nonatomic, retain) NSMutableArray *errors;
/**
Supplemental information from eBay, if applicable. May elaborate on errors or
provide useful hints for the seller. This data can accompany the call's normal
data result set or a result set that contains only errors. The string can
return HTML, including TABLE, IMG, and HREF elements. In this case, an HTML-
based application should be able to include the HTML as-is in the HTML page
that displays the results. A non-HTML application would need to parse the HTML
and convert the table elements and image references into UI elements
particular to the programming language used. Because this data is returned as
a string, the HTML markup elements are escaped with character entity
references (e.g.,&lt;table&gt;&lt;tr&gt;...). See the
appendices in the eBay Web Services guide for general information about string
data types.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *message;
/**
The nature of the discount, if a discount applied.
entry type : string constant in Trading_DiscountReasonCodeType.h
*/
@property (nonatomic, retain) NSMutableArray *discountReason;
/**
(public property)
entry type : PicoAnyElement, wrapper for primitive anyelement
*/
@property (nonatomic, retain) NSMutableArray *any;
@end

View File

@ -0,0 +1,89 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemResponseContainerType.h"
#import "Trading_ErrorType.h"
#import "Trading_FeesType.h"
@implementation Trading_AddItemResponseContainerType
@synthesize itemID = _itemID;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
@synthesize fees = _fees;
@synthesize categoryID = _categoryID;
@synthesize category2ID = _category2ID;
@synthesize correlationID = _correlationID;
@synthesize errors = _errors;
@synthesize message = _message;
@synthesize discountReason = _discountReason;
@synthesize any = _any;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"startTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"endTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Fees" propertyName:@"fees" type:PICO_TYPE_OBJECT clazz:[Trading_FeesType class]];
[map setObject:ps forKey:@"fees"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CategoryID" propertyName:@"categoryID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"categoryID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Category2ID" propertyName:@"category2ID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"category2ID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CorrelationID" propertyName:@"correlationID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"correlationID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"Errors" propertyName:@"errors" type:PICO_TYPE_OBJECT clazz:[Trading_ErrorType class]];
[map setObject:ps forKey:@"errors"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Message" propertyName:@"message" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"message"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DiscountReason" propertyName:@"discountReason" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"discountReason"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ANY_ELEMENT xmlName:@"any" propertyName:@"any" type:PICO_TYPE_ANYELEMENT clazz:nil];
[map setObject:ps forKey:@"any"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.startTime = nil;
self.endTime = nil;
self.fees = nil;
self.categoryID = nil;
self.category2ID = nil;
self.correlationID = nil;
self.errors = nil;
self.message = nil;
self.discountReason = nil;
self.any = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,155 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
@class Trading_ProductSuggestionsType;
@class Trading_FeesType;
/**
Returns the item ID and the estimated fees for the new listing, as well as
the start and end times of the listing.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemResponseType : Trading_AbstractResponseType {
@private
NSString *_itemID;
NSDate *_startTime;
NSDate *_endTime;
Trading_FeesType *_fees;
NSString *_categoryID;
NSString *_category2ID;
NSMutableArray *_discountReason;
Trading_ProductSuggestionsType *_productSuggestions;
}
/**
Unique item ID for the new listing.
<br>
<br>
Applicable to Half.com.
<br>
<br>
<span class="tablenote"><b>Note:</b>
Although eBay represents item IDs as strings in the schema, we recommend you store
them as 64-bit signed integers. If you choose to store item IDs as strings, allocate
at least 19 characters (assuming decimal digits are used) to hold them. eBay will
increase the size of IDs over time, and your code should be prepared to handle IDs of
up to 19 digits. For more information about item IDs, see <a href="
http://ebay.custhelp.com/cgi-bin/ebay.cfg/php/enduser/std_adp.php?p_faqid=468">
Common FAQs on eBay Item IDs and other eBay IDs</a> in the Knowledge Base.
</span>
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Starting date and time for the new listing.
<br>
<br>
Applicable to Half.com (for Half.com, the start time is always the time the item was listed).
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *startTime;
/**
Date and time when the new listing ends. This is the starting time plus the listing
duration.
<br>
<br>
Applicable to Half.com (for Half.com the actual end time is GTC, not the end time
returned in the response).
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *endTime;
/**
Child elements contain the estimated listing fees for the new item listing.
The fees do not include the Final Value Fee (FVF), which cannot be determined
until an item is sold.
<br>
<br>
Applicable to Half.com, but the values are not applicable to Half.com listings.
type : class Trading_FeesType
*/
@property (nonatomic, retain) Trading_FeesType *fees;
/**
ID of the primary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in PrimaryCategory was mapped to a new ID by eBay.
If the primary category has not changed or it has expired with no replacement,
CategoryID does not return a value.
<br>
<br>
Not applicable to Half.com.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *categoryID;
/**
ID of the secondary category in which the item was listed.
Only returned if you set Item.CategoryMappingAllowed to true in the request
and the ID you passed in SecondaryCategory was mapped to a new ID by eBay.
If the secondary category has not changed or it has expired with no replacement,
Category2ID does not return a value.
<br>
<br>
Not applicable to Half.com.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *category2ID;
/**
The nature of the discount, if a discount applied.
entry type : string constant in Trading_DiscountReasonCodeType.h
*/
@property (nonatomic, retain) NSMutableArray *discountReason;
/**
Provides a list of products recommended by eBay which match the item information
provided by the seller.
Not applicable to Half.com.
type : class Trading_ProductSuggestionsType
*/
@property (nonatomic, retain) Trading_ProductSuggestionsType *productSuggestions;
@end

View File

@ -0,0 +1,76 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemResponseType.h"
#import "Trading_ProductSuggestionsType.h"
#import "Trading_FeesType.h"
@implementation Trading_AddItemResponseType
@synthesize itemID = _itemID;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
@synthesize fees = _fees;
@synthesize categoryID = _categoryID;
@synthesize category2ID = _category2ID;
@synthesize discountReason = _discountReason;
@synthesize productSuggestions = _productSuggestions;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddItemResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"startTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"endTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Fees" propertyName:@"fees" type:PICO_TYPE_OBJECT clazz:[Trading_FeesType class]];
[map setObject:ps forKey:@"fees"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CategoryID" propertyName:@"categoryID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"categoryID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Category2ID" propertyName:@"category2ID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"category2ID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"DiscountReason" propertyName:@"discountReason" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"discountReason"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ProductSuggestions" propertyName:@"productSuggestions" type:PICO_TYPE_OBJECT clazz:[Trading_ProductSuggestionsType class]];
[map setObject:ps forKey:@"productSuggestions"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.startTime = nil;
self.endTime = nil;
self.fees = nil;
self.categoryID = nil;
self.category2ID = nil;
self.discountReason = nil;
self.productSuggestions = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,42 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_AddItemRequestContainerType;
/**
Defines from one to five items and lists them on a specified eBay site.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemsRequestType : Trading_AbstractRequestType {
@private
NSMutableArray *_addItemRequestContainer;
}
/**
Defines a single item to be listed on eBay. This container is similar
to an AddItem request. Up to five (5) containers can be included
per a given AddItems request.
entry type : class Trading_AddItemRequestContainerType
*/
@property (nonatomic, retain) NSMutableArray *addItemRequestContainer;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemsRequestType.h"
#import "Trading_AddItemRequestContainerType.h"
@implementation Trading_AddItemsRequestType
@synthesize addItemRequestContainer = _addItemRequestContainer;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddItemsRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"AddItemRequestContainer" propertyName:@"addItemRequestContainer" type:PICO_TYPE_OBJECT clazz:[Trading_AddItemRequestContainerType class]];
[map setObject:ps forKey:@"addItemRequestContainer"];
[ps release];
return map;
}
-(void)dealloc {
self.addItemRequestContainer = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,46 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
@class Trading_AddItemResponseContainerType;
/**
The response of the <b>AddItems<b> call. The response includes the
Item IDs of the newly created listings, the eBay category each item is listed under, the
start and end time of each listing, and the estimated fees that each listing will incur.
@ingroup EBayAPIInterface
*/
@interface Trading_AddItemsResponseType : Trading_AbstractResponseType {
@private
NSMutableArray *_addItemResponseContainer;
}
/**
One <b>AddItemResponseContainer</b> container is returned for each
listing that is being created with the <b>AddItems</b> call.
Each container includes the <b>ItemID</b> of each newly created
listings, the eBay category each item is listed under, the start and end time of
each listing, and the estimated fees that each listing will incur.
entry type : class Trading_AddItemResponseContainerType
*/
@property (nonatomic, retain) NSMutableArray *addItemResponseContainer;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddItemsResponseType.h"
#import "Trading_AddItemResponseContainerType.h"
@implementation Trading_AddItemsResponseType
@synthesize addItemResponseContainer = _addItemResponseContainer;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddItemsResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"AddItemResponseContainer" propertyName:@"addItemResponseContainer" type:PICO_TYPE_OBJECT clazz:[Trading_AddItemResponseContainerType class]];
[map setObject:ps forKey:@"addItemResponseContainer"];
[ps release];
return map;
}
-(void)dealloc {
self.addItemResponseContainer = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,51 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_MemberMessageType;
/**
Enables a buyer and seller in an order relationship to
send messages to each other's My Messages Inboxes.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessageAAQToPartnerRequestType : Trading_AbstractRequestType {
@private
NSString *_itemID;
Trading_MemberMessageType *_memberMessage;
}
/**
The unique ID of the item about which the question was asked.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Container for the message. Includes the message body, plus other values
related to the message.
type : class Trading_MemberMessageType
*/
@property (nonatomic, retain) Trading_MemberMessageType *memberMessage;
@end

View File

@ -0,0 +1,45 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessageAAQToPartnerRequestType.h"
#import "Trading_MemberMessageType.h"
@implementation Trading_AddMemberMessageAAQToPartnerRequestType
@synthesize itemID = _itemID;
@synthesize memberMessage = _memberMessage;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddMemberMessageAAQToPartnerRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MemberMessage" propertyName:@"memberMessage" type:PICO_TYPE_OBJECT clazz:[Trading_MemberMessageType class]];
[map setObject:ps forKey:@"memberMessage"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.memberMessage = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,28 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
/**
Response to AddMemberMessageAAQToPartner request.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessageAAQToPartnerResponseType : Trading_AbstractResponseType {
@private
}
@end

View File

@ -0,0 +1,33 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessageAAQToPartnerResponseType.h"
@implementation Trading_AddMemberMessageAAQToPartnerResponseType
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddMemberMessageAAQToPartnerResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
return map;
}
-(void)dealloc {
[super dealloc];
}
@end

View File

@ -0,0 +1,53 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_MemberMessageType;
/**
Enables a seller to reply to a question about an active item listing.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessageRTQRequestType : Trading_AbstractRequestType {
@private
NSString *_itemID;
Trading_MemberMessageType *_memberMessage;
}
/**
The unique ID of the item about which the question was asked. This field
is not required in the request, if the request includes a RecipientID
in the MemberMessage container.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Container for the message. Includes the message body (which should answer
the question that an eBay user asks you (the seller) about an active
listing), plus other values related to the message.
type : class Trading_MemberMessageType
*/
@property (nonatomic, retain) Trading_MemberMessageType *memberMessage;
@end

View File

@ -0,0 +1,45 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessageRTQRequestType.h"
#import "Trading_MemberMessageType.h"
@implementation Trading_AddMemberMessageRTQRequestType
@synthesize itemID = _itemID;
@synthesize memberMessage = _memberMessage;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddMemberMessageRTQRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MemberMessage" propertyName:@"memberMessage" type:PICO_TYPE_OBJECT clazz:[Trading_MemberMessageType class]];
[map setObject:ps forKey:@"memberMessage"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.memberMessage = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,28 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
/**
Response to AddMemberMessageRTQ request.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessageRTQResponseType : Trading_AbstractResponseType {
@private
}
@end

View File

@ -0,0 +1,33 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessageRTQResponseType.h"
@implementation Trading_AddMemberMessageRTQResponseType
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddMemberMessageRTQResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
return map;
}
-(void)dealloc {
[super dealloc];
}
@end

View File

@ -0,0 +1,65 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
@class Trading_MemberMessageType;
/**
Holds the content of the request.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessagesAAQToBidderRequestContainerType : NSObject <PicoBindable> {
@private
NSString *_correlationID;
NSString *_itemID;
Trading_MemberMessageType *_memberMessage;
}
/**
A <b>CorrelationID</b> value is required for
each <b>AddMemberMessagesAAQToBidderRequestContainer<b> container that is used in the request. The
<b>CorrelationID</b> value returned under each
<b>AddMemberMessagesAAQToBidderResponseContainer</b> container is used to correlate each
member message container in the request with its corresponding member message container in the
response. The same <b>CorrelationID</b> value that you pass into a request will
be returned in the <b>CorrelationID</b> field in the response.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *correlationID;
/**
An eBay ID that uniquely identifies a given
item. Must be a currently active item.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Holds the content of the message.
type : class Trading_MemberMessageType
*/
@property (nonatomic, retain) Trading_MemberMessageType *memberMessage;
@end

View File

@ -0,0 +1,48 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessagesAAQToBidderRequestContainerType.h"
#import "Trading_MemberMessageType.h"
@implementation Trading_AddMemberMessagesAAQToBidderRequestContainerType
@synthesize correlationID = _correlationID;
@synthesize itemID = _itemID;
@synthesize memberMessage = _memberMessage;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CorrelationID" propertyName:@"correlationID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"correlationID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"MemberMessage" propertyName:@"memberMessage" type:PICO_TYPE_OBJECT clazz:[Trading_MemberMessageType class]];
[map setObject:ps forKey:@"memberMessage"];
[ps release];
return map;
}
-(void)dealloc {
self.correlationID = nil;
self.itemID = nil;
self.memberMessage = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,43 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_AddMemberMessagesAAQToBidderRequestContainerType;
/**
Enables a seller to send up to 10 messages to bidders, or to users who have
made offers via Best Offer, regarding an active item listing.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessagesAAQToBidderRequestType : Trading_AbstractRequestType {
@private
NSMutableArray *_addMemberMessagesAAQToBidderRequestContainer;
}
/**
Allows a seller to send up to 10 messages to
bidders and users who have made offers (via Best
Offer) during an active listing.
entry type : class Trading_AddMemberMessagesAAQToBidderRequestContainerType
*/
@property (nonatomic, retain) NSMutableArray *addMemberMessagesAAQToBidderRequestContainer;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessagesAAQToBidderRequestType.h"
#import "Trading_AddMemberMessagesAAQToBidderRequestContainerType.h"
@implementation Trading_AddMemberMessagesAAQToBidderRequestType
@synthesize addMemberMessagesAAQToBidderRequestContainer = _addMemberMessagesAAQToBidderRequestContainer;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddMemberMessagesAAQToBidderRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"AddMemberMessagesAAQToBidderRequestContainer" propertyName:@"addMemberMessagesAAQToBidderRequestContainer" type:PICO_TYPE_OBJECT clazz:[Trading_AddMemberMessagesAAQToBidderRequestContainerType class]];
[map setObject:ps forKey:@"addMemberMessagesAAQToBidderRequestContainer"];
[ps release];
return map;
}
-(void)dealloc {
self.addMemberMessagesAAQToBidderRequestContainer = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,53 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
/**
Contains the response information.
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessagesAAQToBidderResponseContainerType : NSObject <PicoBindable> {
@private
NSString *_correlationID;
NSString *_ack;
}
/**
A <b>CorrelationID</b> value is required for
each <b>AddMemberMessagesAAQToBidderRequestContainer<b> container that is used in the request. The
<b>CorrelationID</b> value returned under each
<b>AddMemberMessagesAAQToBidderResponseContainer</b> container is used to correlate each
member message container in the request with its corresponding member message container in the
response. The same <b>CorrelationID</b> value that you pass into a request will
be returned in the <b>CorrelationID</b> field in the response.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *correlationID;
/**
Indicates the response status (e.g., success).
type: string constant in Trading_AckCodeType.h
*/
@property (nonatomic, retain) NSString *ack;
@end

View File

@ -0,0 +1,42 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessagesAAQToBidderResponseContainerType.h"
@implementation Trading_AddMemberMessagesAAQToBidderResponseContainerType
@synthesize correlationID = _correlationID;
@synthesize ack = _ack;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
return nil;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CorrelationID" propertyName:@"correlationID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"correlationID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Ack" propertyName:@"ack" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"ack"];
[ps release];
return map;
}
-(void)dealloc {
self.correlationID = nil;
self.ack = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,44 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
@class Trading_AddMemberMessagesAAQToBidderResponseContainerType;
/**
Type defining the <b>AddMemberMessagesAAQToBidderResponseContainer</b> container, which consists
of the <b>Ack</b> field (indicating the result of the send message operation) and the <b>CorrelationID</b>
field (used to track multiple send message operations performed in one call).
@ingroup EBayAPIInterface
*/
@interface Trading_AddMemberMessagesAAQToBidderResponseType : Trading_AbstractResponseType {
@private
NSMutableArray *_addMemberMessagesAAQToBidderResponseContainer;
}
/**
Container consisting of the <b>Ack</b> field (indicating the result of the send message
operation) and the <b>CorrelationID</b> field (used to track multiple send
message operations performed in one call).
entry type : class Trading_AddMemberMessagesAAQToBidderResponseContainerType
*/
@property (nonatomic, retain) NSMutableArray *addMemberMessagesAAQToBidderResponseContainer;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddMemberMessagesAAQToBidderResponseType.h"
#import "Trading_AddMemberMessagesAAQToBidderResponseContainerType.h"
@implementation Trading_AddMemberMessagesAAQToBidderResponseType
@synthesize addMemberMessagesAAQToBidderResponseContainer = _addMemberMessagesAAQToBidderResponseContainer;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddMemberMessagesAAQToBidderResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT_ARRAY xmlName:@"AddMemberMessagesAAQToBidderResponseContainer" propertyName:@"addMemberMessagesAAQToBidderResponseContainer" type:PICO_TYPE_OBJECT clazz:[Trading_AddMemberMessagesAAQToBidderResponseContainerType class]];
[map setObject:ps forKey:@"addMemberMessagesAAQToBidderResponseContainer"];
[ps release];
return map;
}
-(void)dealloc {
self.addMemberMessagesAAQToBidderResponseContainer = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,39 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_OrderType;
/**
Combines two or more order line items into a single order, enabling a buyer to pay for all of those order line items with a single payment (and, if so arranged, ship all of the items together).
@ingroup EBayAPIInterface
*/
@interface Trading_AddOrderRequestType : Trading_AbstractRequestType {
@private
Trading_OrderType *_order;
}
/**
The order that is being created.
type : class Trading_OrderType
*/
@property (nonatomic, retain) Trading_OrderType *order;
@end

View File

@ -0,0 +1,40 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddOrderRequestType.h"
#import "Trading_OrderType.h"
@implementation Trading_AddOrderRequestType
@synthesize order = _order;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddOrderRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Order" propertyName:@"order" type:PICO_TYPE_OBJECT clazz:[Trading_OrderType class]];
[map setObject:ps forKey:@"order"];
[ps release];
return map;
}
-(void)dealloc {
self.order = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,50 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
/**
Returns a unique identifier for the order. A buyer may make a single
payment to purchase all of the order line items included
in the order.
@ingroup EBayAPIInterface
*/
@interface Trading_AddOrderResponseType : Trading_AbstractResponseType {
@private
NSString *_orderID;
NSDate *_createdTime;
}
/**
The unique identifier for the Combined Payment order. This OrderID can be used as an input filter in GetOrders.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *orderID;
/**
The date and time the Combined Payment order was created.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *createdTime;
@end

View File

@ -0,0 +1,44 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddOrderResponseType.h"
@implementation Trading_AddOrderResponseType
@synthesize orderID = _orderID;
@synthesize createdTime = _createdTime;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddOrderResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"OrderID" propertyName:@"orderID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"orderID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"CreatedTime" propertyName:@"createdTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"createdTime"];
[ps release];
return map;
}
-(void)dealloc {
self.orderID = nil;
self.createdTime = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,97 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
@class Trading_AmountType;
/**
Creates a new Second Chance Offer (that is, an offer for an unsold item)
for one of that item's non-winning bidders.
@ingroup EBayAPIInterface
*/
@interface Trading_AddSecondChanceItemRequestType : Trading_AbstractRequestType {
@private
NSString *_recipientBidderUserID;
Trading_AmountType *_buyItNowPrice;
NSString *_duration;
NSString *_itemID;
NSString *_sellerMessage;
}
/**
Specifies the bidder from the original, ended listing to whom the seller
is extending the second chance offer. Specify only one
RecipientBidderUserID per call. If multiple users are specified (each in a
RecipientBidderUserID node), only the last one specified receives the
offer.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *recipientBidderUserID;
/**
The amount the offer recipient must pay to purchase the item
from the second chance offer listing. Use only when the original
item was listed in an eBay Motors vehicle category (or in some
categories on U.S. and international sites for
high-priced items, such as items in many U.S. and Canada
Business and Industrial categories) and it ended unsold
because the reserve price was not met. Otherwise, eBay
establishes the price and no price should be submitted.
type : class Trading_AmountType
*/
@property (nonatomic, retain) Trading_AmountType *buyItNowPrice;
/**
Specifies the length of time the second chance offer listing will be
active. The recipient bidder has that much time to purchase the item or
the listing expires.
type: string constant in Trading_SecondChanceOfferDurationCodeType.h
*/
@property (nonatomic, retain) NSString *duration;
/**
Specifies the item ID for the original, ended listing from which the
second chance offer item comes. A new ItemID is returned for the second
chance offer item.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Message content. Cannot contain HTML, asterisks, or quotes. This content
is included in the second chance offer email sent to the recipient, which
can be retrieved with GetMyMessages.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *sellerMessage;
@end

View File

@ -0,0 +1,60 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddSecondChanceItemRequestType.h"
#import "Trading_AmountType.h"
@implementation Trading_AddSecondChanceItemRequestType
@synthesize recipientBidderUserID = _recipientBidderUserID;
@synthesize buyItNowPrice = _buyItNowPrice;
@synthesize duration = _duration;
@synthesize itemID = _itemID;
@synthesize sellerMessage = _sellerMessage;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddSecondChanceItemRequest" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"RecipientBidderUserID" propertyName:@"recipientBidderUserID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"recipientBidderUserID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"BuyItNowPrice" propertyName:@"buyItNowPrice" type:PICO_TYPE_OBJECT clazz:[Trading_AmountType class]];
[map setObject:ps forKey:@"buyItNowPrice"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"Duration" propertyName:@"duration" type:PICO_TYPE_ENUM clazz:nil];
[map setObject:ps forKey:@"duration"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"SellerMessage" propertyName:@"sellerMessage" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"sellerMessage"];
[ps release];
return map;
}
-(void)dealloc {
self.recipientBidderUserID = nil;
self.buyItNowPrice = nil;
self.duration = nil;
self.itemID = nil;
self.sellerMessage = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,62 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractResponseType.h"
/**
AddSecondChanceItem response for a new Second Chance Offer listing.
@ingroup EBayAPIInterface
*/
@interface Trading_AddSecondChanceItemResponseType : Trading_AbstractResponseType {
@private
NSString *_itemID;
NSDate *_startTime;
NSDate *_endTime;
}
/**
Contains the item ID for the new second chance
offer listing. Different from the original ItemID passed in the request.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *itemID;
/**
Indicates the date and time when the the new second chance offer listing
became active and the recipient user could purchase the item.
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *startTime;
/**
Indicates the date and time when the second chance offer listing expires,
at which time the listing ends (if the recipient user does not purchase
the item first).
type : NSDate, wrapper for primitive date
*/
@property (nonatomic, retain) NSDate *endTime;
@end

View File

@ -0,0 +1,49 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "Trading_AddSecondChanceItemResponseType.h"
@implementation Trading_AddSecondChanceItemResponseType
@synthesize itemID = _itemID;
@synthesize startTime = _startTime;
@synthesize endTime = _endTime;
// class meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(PicoClassSchema *)getClassMetaData {
PicoClassSchema *cs = [[PicoClassSchema alloc] initWithXmlName:@"AddSecondChanceItemResponse" nsUri:@"urn:ebay:apis:eBLBaseComponents"];
[cs autorelease];
return cs;
}
// property meta-data method
// note: this method is only for internal use, DO NOT CHANGE!
+(NSMutableDictionary *)getPropertyMetaData {
NSMutableDictionary *map = [NSMutableDictionary dictionary];
PicoPropertySchema *ps = nil;
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"ItemID" propertyName:@"itemID" type:PICO_TYPE_STRING clazz:nil];
[map setObject:ps forKey:@"itemID"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"StartTime" propertyName:@"startTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"startTime"];
[ps release];
ps = [[PicoPropertySchema alloc] initWithKind:PICO_KIND_ELEMENT xmlName:@"EndTime" propertyName:@"endTime" type:PICO_TYPE_DATE clazz:nil];
[map setObject:ps forKey:@"endTime"];
[ps release];
return map;
}
-(void)dealloc {
self.itemID = nil;
self.startTime = nil;
self.endTime = nil;
[super dealloc];
}
@end

View File

@ -0,0 +1,61 @@
// Generated by xsd compiler for ios/objective-c
// DO NOT CHANGE!
#import <Foundation/Foundation.h>
#import "PicoClassSchema.h"
#import "PicoPropertySchema.h"
#import "PicoConstants.h"
#import "PicoBindable.h"
#import "Trading_AbstractRequestType.h"
/**
Adds a new product folder to a user's Selling Manager account.
This call is subject to change without notice; the deprecation process is
inapplicable to this call.
@ingroup EBayAPIInterface
*/
@interface Trading_AddSellingManagerInventoryFolderRequestType : Trading_AbstractRequestType {
@private
NSString *_folderName;
NSNumber *_parentFolderID;
NSString *_comment;
}
/**
Name of the new Selling Manager inventory folder.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *folderName;
/**
Unique Folder ID of parent folder. If no ParentFolderID is submitted, Folder
is added to root level.
type : NSNumber, wrapper for primitive long
*/
@property (nonatomic, retain) NSNumber *parentFolderID;
/**
Contains comments that will be associated with this folder.
type : NSString, wrapper for primitive string
*/
@property (nonatomic, retain) NSString *comment;
@end

Some files were not shown because too many files have changed in this diff Show More