text stringlengths 14 6.51M |
|---|
// MIT License
// Copyright (c) Wuping Xin 2020.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
namespace Vissim.ComProvider.Utilities;
uses
rtl, RemObjects.Elements.System;
type
{$HIDE H6} {$HIDE H7} {$HIDE H8}
// A hack to sniff the PID out of the header. Only works for PID (<= 65535) of local server.
ComObjRefHeader = packed record
Signature: DWORD; // Signature "MEOW", Offset 0, Size 4
Flag: DWORD; // Flag indicating the kind of structure. 1: Standard
IID: array[0..15] of Byte; // Interface Identifier
ReservedFlags: DWORD; // Flags reserved for the system
RefCount: DWORD; // Reference count
OXID: array[0..7] of Byte; // Object Exporter Identifier
OID: array[0..7] of Byte; // Object Identifier
IPID: array[0..15] of Byte; // Interface Pointer Identifier
end;
{$SHOW H6} {$SHOW H7} {$SHOW H8}
type
EnumWindowsData = record
Pid: DWORD;
Hnd: HWND;
end;
method Succeeded(aStatus: HRESULT): Boolean;
begin
result := aStatus and HRESULT($80000000) = 0;
end;
method Failed(aStatus: HRESULT): Boolean;
begin
result := aStatus and HRESULT($80000000) <> 0;
end;
method CoGetServerPID(const aUnk: IUnknown; var aPid: DWORD): HRESULT;
begin
if not assigned(aUnk) then exit E_INVALIDARG;
// Check if not standard proxy. The ComObjRefHeader packet must be in the standard format.
var proxyManager: IUnknown;
result := aUnk.QueryInterface(@IID_IProxyManager, ^^Void(@proxyManager));
if Failed(result) then exit;
// Marshall the interface to get a new OBJREF. The CreateStreamOnHGlobalfunction creates a stream
// object that uses an HGLOBAL memory handle to store the stream contents. This object is the
// OLE-provided implementation of the IStream interface.
var marshalStream: IStream;
result := CreateStreamOnHGlobal(
nil, // HGLOBAL memory handle; nil to allocate a new one.
True, // Whether automatically free the handle when releasing stream object.
@marshalStream // Address of IStream variable for the new stream object.
);
if Failed(Result) then exit;
// Writes the passed-in unk interface object into a stream with the data required to
// initialize a proxy object in seperate client process.
result := CoMarshalInterface(
marshalStream,
@IID_IUnknown,
aUnk,
DWORD(MSHCTX.MSHCTX_INPROC), // Unmarshaling to be done in another apartment in the same process.
nil, // Destination context.
DWORD(MSHLFLAGS.MSHLFLAGS_NORMAL) // Marshaling for intf pointer passed from one process to another.
);
if Failed(result) then exit;
// Using the created stream, restore to a raw pointer.
var hg: HGLOBAL;
result := GetHGlobalFromStream(marshalStream, @hg);
if Succeeded(result) then begin
try
result := RPC_E_INVALID_OBJREF; // Start out pessimistic
var objRefHdr: ^ComObjRefHeader := ^ComObjRefHeader(GlobalLock(hg));
if assigned(objRefHdr) then begin // Verify that the signature is MEOW
if objRefHdr^.Signature = $574F454D then begin
aPid := objRefHdr^.IPID[4] + objRefHdr^.IPID[5] shl 8; // Make WORD for PID.
result := S_OK;
end;
end;
finally
GlobalUnlock(hg);
end;
end;
// Rewind stream and release marshaled data to keep refcount in order. The Seek method changes
// the seek pointer to a new location. The new location is relative to either the beginning of
// the stream (STREAM_SEEK_SET), the end of the stream (STREAM_SEEK_END), or the current seek
// pointer (STREAM_SEEK_CUR).
var libNewPosition: ULARGE_INTEGER;
var dlibMove: LARGE_INTEGER := new LARGE_INTEGER(QuadPart := 0); // or default(LARGE_INTEGER)
marshalStream.Seek(
dlibMove, // Offset to ref point, which is specified by 2nd arg.
DWORD(STREAM_SEEK.STREAM_SEEK_SET), // Use stream begin as the origin.
@libNewPosition // New position of the seek pointer.
);
// Destroys a previously marshaled data packet.
CoReleaseMarshalData(marshalStream);
end;
method EnumWindowsCallback(aHnd: HWND; aLParam: LPARAM): Boolean; stdcall;
begin
var data := ^EnumWindowsData(aLParam);
var pid: DWORD := 0;
// Retrieves the id of the thread that created the specified window and, optionally,
// the id of the parent process.
GetWindowThreadProcessId(aHnd, @pid); // Discard the returned thread id.
if ((data^.Pid <> pid) or (not IsMainWindow(aHnd))) then begin
result := true;
end else begin
if not assigned(data.Hnd) then data.Hnd := aHnd;
result := false;
end;
end;
method IsMainWindow(aHnd: HWND): Boolean;
begin
// This is good enough for searching Vissim main window
result := (GetWindow(aHnd, GW_OWNER) = nil) and IsWindowVisible(aHnd);
end;
method FindMainWindow(aPid: DWORD): HWND;
begin
if aPid = 0 then exit nil;
var data: EnumWindowsData := new EnumWindowsData (Pid := aPid, Hnd := nil);
EnumWindows(@EnumWindowsCallback, LPARAM(@data));
result := data.Hnd;
end;
type
VissimComProviderHelper = public class
private
class var fHwndCache: Dictionary<NativeUInt, HWND> := nil;
public
class method ShowVissim(aVissim: IUnknown);
begin
var hnd := GetVissimMainWindowHandle(aVissim);
if assigned(hnd) then ShowWindow(hnd, SW_NORMAL);
end;
class method HideVissim(aVissim: IUnknown);
begin
var hnd := GetVissimMainWindowHandle(aVissim);
if assigned(hnd) then ShowWindow(hnd, SW_HIDE);
end;
class method GetVissimMainWindowHandle(aVissim: IUnknown): HWND;
begin
var key := NativeUInt(^Void(aVissim));
if fHwndCache.ContainsKey(key) then begin
result := fHwndCache[key];
end else begin
var pid: DWORD := GetVissimSeverPID(aVissim);
result := FindMainWindow(pid);
if assigned(result) then fHwndCache.Add(key, result);
end;
end;
class method GetVissimSeverPID(aVissim: IUnknown): DWORD;
begin
result := 0;
CoGetServerPID(aVissim, var result);
end;
class method Initialize;
begin
fHwndCache := new Dictionary<NativeUInt, HWND>;
end;
end;
end.
|
unit DifferenceEngineTests;
{
Copyright (c) 2011+, HL7 and Health Intersections Pty Ltd (http://www.healthintersections.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of HL7 nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
}
interface
uses
Windows, SysUtils, classes,
StringSupport, AdvGenerics, TextUtilities,
FHIRTestWorker, FHIRResources, FHIRBase, FHIRParser, FHIRTypes, DifferenceEngine,
MXML, DUnitX.TestFramework;
Type
[TextFixture]
TDifferenceEngineTests = Class (TObject)
Private
Published
End;
DifferenceEngineTestCaseAttribute = class (CustomTestCaseSourceAttribute)
protected
function GetCaseInfoArray : TestCaseInfoArray; override;
end;
[TextFixture]
TDifferenceEngineTest = Class (TObject)
private
tests : TMXmlElement;
function findTest(index : integer) : TMXmlElement;
function parseResource(elem : TMXmlElement) : TFhirResource;
function AsXml(res : TFHIRResource) : String;
procedure CompareXml(name, mode : String; expected, obtained : TFHIRResource);
procedure execCase(name : String; mode : String; input : TFhirResource; diff : TFhirParameters; output : TFhirResource);
Published
[SetupFixture] procedure setup;
[TearDownFixture] procedure teardown;
[DifferenceEngineTestCase]
procedure DifferenceEngineTest(Name : String);
End;
implementation
{ DifferenceEngineTestCaseAttribute }
function DifferenceEngineTestCaseAttribute.GetCaseInfoArray: TestCaseInfoArray;
var
test : TMXmlElement;
tests : TMXmlElement;
i : integer;
s : String;
begin
tests := TMXmlParser.ParseFile('C:\work\org.hl7.fhir\build\tests\patch\fhir-path-tests.xml', [xpDropWhitespace]);
try
test := tests.document.first;
i := 0;
while test <> nil do
begin
if test.NodeType = ntElement then
begin
s := test.attribute['name'];
SetLength(result, i+1);
result[i].Name := s;
SetLength(result[i].Values, 1);
result[i].Values[0] := inttostr(i);
inc(i);
end;
test := test.nextElement;
end;
finally
tests.free;
end;
end;
{ TDifferenceEngineTest }
function TDifferenceEngineTest.findTest(index : integer): TMXmlElement;
var
test : TMXmlElement;
i : integer;
begin
test := tests.document.first;
i := 0;
while test <> nil do
begin
if test.NodeType = ntElement then
begin
if i = index then
exit(test);
inc(i);
end;
test := test.nextElement;
end;
result := nil;
end;
procedure TDifferenceEngineTest.DifferenceEngineTest(Name: String);
var
test : TMXmlElement;
input, output : TFhirResource;
diff : TFhirParameters;
begin
test := findTest(StrToInt(name));
input := parseResource(test.element('input'));
try
output := parseResource(test.element('output'));
try
diff := parseResource(test.element('diff')) as TFHIRParameters;
try
execCase(test.attribute['name'], test.attribute['mode'], input, diff, output);
finally
diff.Free;
end;
finally
output.free;
end;
finally
input.Free;
end;
end;
function TDifferenceEngineTest.AsXml(res: TFHIRResource): String;
var
p : TFHIRXmlComposer;
s : TStringStream;
begin
p := TFHIRXmlComposer.Create(nil, 'en');
try
s := TStringStream.Create;
try
p.Compose(s, res, true);
result := s.DataString;
finally
s.Free;
end;
finally
p.Free;
end;
end;
procedure TDifferenceEngineTest.CompareXml(name, mode : String; expected, obtained: TFHIRResource);
var
e, o : String;
begin
e := asXml(expected);
o := asXml(obtained);
StringToFile(e, 'c:\temp\expected.xml', TEncoding.UTF8);
StringToFile(o, 'c:\temp\obtained.xml', TEncoding.UTF8);
Assert.IsTrue(e = o, mode+' does not match for '+name);
end;
procedure TDifferenceEngineTest.execCase(name: String; mode : String; input: TFhirResource; diff: TFhirParameters; output: TFhirResource);
var
engine : TDifferenceEngine;
delta : TFhirParameters;
outcome : TFhirResource;
html : String;
begin
if (mode = 'both') or (mode = 'reverse') then
begin
engine := TDifferenceEngine.Create(TTestingWorkerContext.Use);
try
delta := engine.generateDifference(input, output, html);
try
compareXml(name, 'Difference', diff, delta);
finally
delta.Free;
end;
finally
engine.free;
end;
end;
if (mode = 'both') or (mode = 'forwards') then
begin
engine := TDifferenceEngine.Create(TTestingWorkerContext.Use);
try
outcome := engine.applyDifference(input, diff) as TFhirResource;
try
compareXml(name, 'Output', output, outcome);
finally
outcome.Free;
end;
finally
engine.free;
end;
end;
end;
function TDifferenceEngineTest.parseResource(elem: TMXmlElement): TFhirResource;
var
p : TFHIRXmlParser;
begin
p := TFHIRXmlParser.Create(nil, 'en');
try
p.Element := elem.firstElement.Link;
p.Parse;
result := p.resource.Link;
finally
p.Free;
end;
end;
procedure TDifferenceEngineTest.setup;
begin
tests := TMXmlParser.ParseFile('C:\work\org.hl7.fhir\build\tests\patch\fhir-path-tests.xml', [xpResolveNamespaces]);
end;
procedure TDifferenceEngineTest.teardown;
begin
tests.Free;
end;
initialization
TDUnitX.RegisterTestFixture(TDifferenceEngineTest);
TDUnitX.RegisterTestFixture(TDifferenceEngineTests);
end.
|
unit CatJINI;
{
Catarinka TJIniList - JSON INIList-Like component
Copyright (c) 2010-2017 Felipe Daragon
License: 3-clause BSD
See https://github.com/felipedaragon/catarinka/ for details
This component was made to replace the TIniList component.
It is also similar to TStringList (with the property Values, Strings and Count).
}
interface
{$I Catarinka.inc}
uses
{$IFDEF DXE2_OR_UP}
System.SysUtils, System.Classes, Winapi.Windows,
{$ELSE}
Classes, SysUtils, Windows,
{$ENDIF}
Superobject;
type
TJIniList = class
private
fBackup: Boolean;
fCaseSensitive: Boolean;
fFileName: string;
fModified: Boolean;
fObject: ISuperObject;
fVersion: string;
function GetJSONLines: string;
procedure SetJSONLines(json: string);
function GetValue(const Key: string): string;
procedure SetValue(const Key: string; const Value: string);
function GetCount: integer;
function FilterPath(s: string): string;
procedure GetSectionKeyPath(var Section,Key,Path:string);
public
constructor Create;
destructor Destroy; override;
function SaveJSON: Boolean; overload;
function SaveJSON(const FileName: string): Boolean; overload;
function SectionExists(Section:string):boolean;
function SectionKeyExists(Section, Key: string):boolean;
procedure Clear;
function LoadJSON: Boolean; overload;
function LoadJSON(const FileName: string): Boolean; overload;
function ReadString(Section, Key, default: string): string;
procedure WriteString(Section, Key, Value: string; Format: string = '');
function ReadInteger(const Section, Key: string; default: integer): integer;
procedure WriteInteger(const Section, Key: string; Value: integer);
function ReadBool(const Section, Key: string; default: Boolean): Boolean;
procedure WriteBool(const Section, Key: string; Value: Boolean);
procedure DeleteSection(Section: string);
procedure DeleteSectionKey(Section, Key: string);
procedure AddString(const Section, Key, Value: String;
AddIfRepeated: Boolean);
// properties
property Backup: Boolean read fBackup write fBackup;
property CaseSensitive: boolean read fCaseSensitive write fCaseSensitive;
property Count: integer read GetCount;
property FileName: string read fFileName write fFileName;
property Text: string read GetJSONLines write SetJSONLines;
property Values[const Key: string]: string read GetValue
write SetValue; default;
property Version: string read fVersion;
property sObject: ISuperObject read fObject;
end;
implementation
uses CatStrings, CatFiles;
const
cBase64 = 'base64';
cFormatKey = '.format';
cKeySeparator = '.';
cValuesSection = 'data';
cVersion = '1.0';
{ TJIniList }
function TJIniList.FilterPath(s: string): string;
begin
Result := ReplaceStr(s, cKeySeparator, '_dot_'); // dots not allowed
if fCaseSensitive = false then
Result := lowercase(Result);
end;
procedure TJIniList.GetSectionKeyPath(var Section,Key,Path:string);
begin
Section := FilterPath(Section);
Key := FilterPath(Key);
Path := Section + cKeySeparator + Key;
end;
function TJIniList.GetValue(const Key: string): string;
begin
Result := ReadString(cValuesSection, Key, emptystr);
end;
procedure TJIniList.SetValue(const Key: string; const Value: string);
begin
WriteString(cValuesSection, Key, Value);
end;
function TJIniList.GetJSONLines: string;
begin
Result := fObject.AsJson(true);
end;
procedure TJIniList.SetJSONLines(json: string);
begin
fObject := nil;
fObject := TSuperObject.ParseString(StrToPWideChar(json), false)
end;
procedure TJIniList.Clear;
begin
fObject.Clear;
end;
function TJIniList.LoadJSON: Boolean;
begin
Result := LoadJSON(fFileName);
end;
function TJIniList.LoadJSON(const FileName: string): Boolean;
var
Stream: TStream;
FLines: TStringlist;
begin
Result := false;
FLines := TStringlist.Create;
if FileName <> emptystr then
begin
Stream := TFileStream.Create(FileName, fmOpenRead or fmShareDenyNone);
try
FLines.LoadFromStream(Stream);
SetJSONLines(FLines.Text);
Result := true;
except
Result := false;
end;
Stream.Free;
end;
FLines.Free;
end;
function TJIniList.ReadBool(const Section, Key: string;
default: Boolean): Boolean;
begin
Result := Boolean(ReadInteger(Section, Key, integer(default)));
end;
function TJIniList.ReadInteger(const Section, Key: string;
default: integer): integer;
begin
Result := StrToInt(ReadString(Section, Key, IntToStr(default)));
end;
function TJIniList.SaveJSON: Boolean;
begin
Result := SaveJSON(fFileName);
end;
function TJIniList.SaveJSON(const FileName: string): Boolean;
var
SL: TStringlist;
Stream: TStream;
begin
Result := false;
if FileName = emptystr then
exit;
if fileexists(FileName) then begin
if fBackup then
FileCopy(FileName,FileName + '.bak');
end else begin
Stream := TFileStream.Create(FileName, fmCreate or fmOpenWrite or
fmShareDenyWrite);
Stream.Free;
end;
SL := TStringlist.Create;
SL.Text := fObject.AsJson(true);
Stream := TFileStream.Create(FileName, fmOpenWrite or fmShareDenyWrite);
Stream.size := 0;
try
SL.SaveToStream(Stream);
Result := true;
except
Result := false;
end;
Stream.Free;
SL.Free;
fModified := false;
end;
procedure TJIniList.WriteBool(const Section, Key: string; Value: Boolean);
begin
WriteInteger(Section, Key, integer(Value));
end;
procedure TJIniList.WriteInteger(const Section, Key: string; Value: integer);
begin
WriteString(Section, Key, IntToStr(Value));
end;
procedure TJIniList.WriteString(Section, Key, Value: string;
Format: string = '');
var
path: string;
begin
GetSectionKeyPath(Section, Key, path);
if ReadString(Section, Key, emptystr) = Value then
exit;
if Format <> emptystr then
fObject.s[path + cFormatKey] := Format;
if Format = cBase64 then
Value := Base64EnCode(Value);
fObject.s[path] := Value;
fModified := true;
end;
function TJIniList.ReadString(Section, Key, default: string): string;
var
fmt: string;
path: string;
begin
GetSectionKeyPath(Section, Key, path);
Result := default;
if fObject.s[path] <> emptystr then
Result := fObject.s[path]
else
Result := default;
if fObject.s[path + cFormatKey] <> emptystr then
begin
fmt := fObject.s[path + cFormatKey];
if fmt = cBase64 then
Result := Base64DeCode(Result);
end;
end;
function TJIniList.SectionExists(Section:string):boolean;
begin
Section := FilterPath(Section);
Result := False;
if fObject.O[Section] <> nil then
Result := True;
end;
function TJIniList.SectionKeyExists(Section, Key: string):boolean;
var
path: string;
begin
GetSectionKeyPath(Section, Key, path);
Result := False;
if fObject.O[Section] <> nil then
Result := True;
end;
procedure TJIniList.AddString(const Section, Key, Value: String;
AddIfRepeated: Boolean);
var
SL: TStringlist;
begin
SL := TStringlist.Create;
SL.commatext := ReadString(Section, Key, emptystr);
if AddIfRepeated = true then
SL.Add(Value)
else
begin
if SL.indexof(Value) = -1 then
SL.Add(Value);
end;
WriteString(Section, Key, SL.commatext);
SL.Free;
end;
procedure TJIniList.DeleteSection(Section: string);
begin
Section := FilterPath(Section);
fObject.o[Section].Clear;
fModified := true;
end;
procedure TJIniList.DeleteSectionKey(Section, Key: string);
var
path: string;
begin
GetSectionKeyPath(Section, Key, path);
fObject.o[path].Clear;
fModified := true;
end;
function TJIniList.GetCount: integer;
var
ite: TSuperObjectIter;
begin
Result := 0;
if ObjectFindFirst(fObject, ite) then
repeat
Inc(Result)
until not ObjectFindNext(ite);
ObjectFindClose(ite);
end;
constructor TJIniList.Create;
begin
inherited Create;
fBackup := false;
fCaseSensitive := false;
fVersion := cVersion;
fObject := TSuperObject.Create(stObject);
end;
destructor TJIniList.Destroy;
begin
fObject := nil;
inherited;
end;
end.
|
// Copyright 2018 The Casbin Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
unit Tests.Matcher;
interface
uses
DUnitX.TestFramework, Casbin.Matcher.Types, Casbin.Effect.Types;
type
[TestFixture]
TTestMatcher = class(TObject)
private
fMatcher: IMatcher;
public
[Setup]
procedure Setup;
[TearDown]
procedure TearDown;
// Test with TestCase Attribute to supply parameters.
[Test]
[TestCase('Common-Go.1','john==john && kour==kour && m==m#erAllow', '#')]
[TestCase('Common-Go.2','john==alice && kour==kour && m==m#erDeny', '#')]
[TestCase('Common-Delphi.1','john==john and kour=kour and m=m#erAllow', '#')]
[TestCase('Common-Delphi.2','kour=kour or !(root=root)#erAllow', '#')]
[TestCase('Remove apostrophe','john==john and ''kour''=''kour'' and m=m#erAllow', '#')]
[TestCase('Expression With Spaces','john ==john and ''kour''= ''kour'' and m=m#erAllow', '#')]
[TestCase('1 part.1-Allow','john==john#erAllow', '#')]
[TestCase('1 part.2-Deny','john==alice#erDeny', '#')]
[TestCase('2 parts.1-Deny','alice==kour and john=john#erDeny', '#')]
[TestCase('john<>johnny','johnny==john && kour==kour && m==m#erDeny', '#')]
procedure testMatcher(const aExpression: string; const aExpected:
TEffectResult);
end;
implementation
uses
Casbin.Matcher;
procedure TTestMatcher.Setup;
begin
fMatcher:=TMatcher.Create;
fMatcher.addIdentifier('john');
fMatcher.addIdentifier('johnny');
fMatcher.addIdentifier('alice');
fMatcher.addIdentifier('kour');
fMatcher.addIdentifier('m');
end;
procedure TTestMatcher.TearDown;
begin
end;
procedure TTestMatcher.testMatcher(const aExpression: string; const aExpected:
TEffectResult);
begin
Assert.AreEqual(aExpected, fMatcher.evaluateMatcher(aExpression));
end;
initialization
TDUnitX.RegisterTestFixture(TTestMatcher);
end.
|
(*
* Copyright (c) 2017 Yuriy Kotsarenko. All rights reserved.
* This software is subject to The MIT License.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and
* associated documentation files (the "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the
* following conditions:
*
* The above copyright notice and this permission notice shall be included in all copies or substantial
* portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT
* LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*)
unit Resources;
interface
{$SCOPEDENUMS ON}
uses
Winapi.D3D11, System.SysUtils;
type
// Type of Direct3D context.
TContextType = (
// Hardware-accelerated context.
Hardware,
// Software rasterization using WARP device.
Software,
// Reference implementation (very slow).
Reference);
// Context-related exception.
ContextException = class(Exception);
// Context that has interfaces to important Direct3D interfaces.
TContext = record
private
FDevice: ID3D11Device;
FImmediateContext: ID3D11DeviceContext;
class function TryCreate(out Context: TContext; const ContextType: TContextType;
const DebugMode: Boolean): HResult; static;
public
// Creates Direct3D device and its immediate context for the specified context type and debug mode.
class function Create(const ContextType: TContextType;
const DebugMode: Boolean = False): TContext; overload; static;
{ In an automatic fashion, attempts to create hardware-accelerated context and if that fails, a WARP device, and
finally, a reference device, if any other option fails. Debug mode is enabled when compiled for Debug target.
When "TryWARPFirst" is set to True, the function tries creating WARP device before hardware-accelerated context. }
class function Create(const TryWARPFirst: Boolean = False): TContext; overload; static;
// Releases contained interfaces.
procedure Free;
// Creates Compute shader from external file.
function CreateShaderFromFile(const FileName: string): ID3D11ComputeShader;
// Reference to Direct3D 11 device.
property Device: ID3D11Device read FDevice;
// Reference to Direct3D 11 immediate context.
property ImmediateContext: ID3D11DeviceContext read FImmediateContext;
end;
// Calculates number of milliseconds that passed since application startup.
function GetStartTickCount: Cardinal;
implementation
uses
Winapi.Windows, Winapi.D3DCommon, Winapi.D3D11_1, System.Classes;
var
PerfFrequency: Int64 = 0;
PerfCounterStart: Int64 = 0;
function GetStartTickCount: Cardinal;
var
Counter: Int64;
begin
if PerfFrequency = 0 then
begin
QueryPerformanceFrequency(PerfFrequency);
QueryPerformanceCounter(PerfCounterStart);
end;
QueryPerformanceCounter(Counter);
Result := ((Counter - PerfCounterStart) * 1000) div PerfFrequency;
end;
class function TContext.TryCreate(out Context: TContext; const ContextType: TContextType;
const DebugMode: Boolean): HResult;
const
FeatureLevels: array[0..1] of D3D_FEATURE_LEVEL = (D3D_FEATURE_LEVEL_11_1, D3D_FEATURE_LEVEL_11_0);
DriverTypes: array[TContextType] of D3D_DRIVER_TYPE = (D3D_DRIVER_TYPE_HARDWARE, D3D_DRIVER_TYPE_WARP,
D3D_DRIVER_TYPE_REFERENCE);
var
DeviceCreationFlags: Cardinal;
begin
DeviceCreationFlags := 0;
if DebugMode then
DeviceCreationFlags := DeviceCreationFlags or Cardinal(D3D11_CREATE_DEVICE_DEBUG);
Result := D3D11CreateDevice(nil, DriverTypes[ContextType], 0, DeviceCreationFlags, @FeatureLevels[0], 2,
D3D11_SDK_VERSION, Context.FDevice, PCardinal(nil)^, Context.FImmediateContext);
end;
class function TContext.Create(const ContextType: TContextType; const DebugMode: Boolean): TContext;
var
Res: HResult;
begin
Res := TryCreate(Result, ContextType, DebugMode);
if Failed(Res) then
raise ContextException.Create(SysErrorMessage(Res));
end;
class function TContext.Create(const TryWARPFirst: Boolean): TContext;
const
DebugMode: Boolean = {$IFDEF DEBUG} True {$ELSE} False {$ENDIF};
var
Res, SecondRes: HResult;
begin
if not TryWARPFirst then
begin // Attempt to create hardware-accelerated Direct3D 11.x device and if such fails, try WARP device instead.
Res := TryCreate(Result, TContextType.Hardware, DebugMode);
if Failed(Res) then
begin
SecondRes := TryCreate(Result, TContextType.Software, DebugMode);
if Succeeded(SecondRes) then
Res := SecondRes;
end;
end
else
begin // Attempt to create WARP Direct3D 11.x device first and if this fails, try hardware-accelerated one.
Res := TryCreate(Result, TContextType.Software, DebugMode);
if Failed(Res) then
begin
SecondRes := TryCreate(Result, TContextType.Hardware, DebugMode);
if Succeeded(SecondRes) then
Res := SecondRes;
end;
end;
// If device creation failed, try creating a reference device.
if Failed(Res) then
begin
SecondRes := TryCreate(Result, TContextType.Reference, DebugMode);
if Succeeded(SecondRes) then
Res := SecondRes;
end;
if Failed(Res) then
raise ContextException.Create(SysErrorMessage(Res));
end;
procedure TContext.Free;
begin
FImmediateContext := nil;
FDevice := nil;
end;
function TContext.CreateShaderFromFile(const FileName: string): ID3D11ComputeShader;
var
MemStream: TMemoryStream;
FileStream: TFileStream;
Res: HResult;
begin
MemStream := TMemoryStream.Create;
try
FileStream := TFileStream.Create(FileName, fmOpenRead or fmShareDenyWrite);
try
MemStream.LoadFromStream(FileStream);
finally
FileStream.Free;
end;
Res := FDevice.CreateComputeShader(MemStream.Memory, MemStream.Size, nil, Result);
finally
MemStream.Free;
end;
if Failed(Res) then
raise ContextException.Create(SysErrorMessage(Res));
end;
end.
|
unit TestDependencyRaisesException;
interface
uses
DUnitX.TestFramework
;
type
[TestFixture]
TTestWidgetProcessor = class
public
[Test]
procedure TestBadWidgetRaisedException;
end;
implementation
uses
uDependencyRaisesObjection
, Delphi.Mocks
;
{ TTestWidgetProcessor }
procedure TTestWidgetProcessor.TestBadWidgetRaisedException;
var
CUT: IWidgetProcessor;
MockWidget: TMock<IWidget>;
begin
// Arrange
MockWidget := TMock<IWidget>.Create;
MockWidget.Setup.WillRaise(EInvalidWidgetException).When.IsValid;
MockWidget.Setup.Expect.Once.When.IsValid;
CUT := TWidgetProcessor.Create;
// Act
CUT.ProcessWidget(MockWidget);
// Assert
MockWidget.Verify();
end;
initialization
TDUnitX.RegisterTestFixture(TTestWidgetProcessor);
end.
|
unit qconverter_cdsxml;
interface
{
#define szDATAPACKET "DATAPACKET"
#define szDATA "ROWDATA"
#define szMETADATA "METADATA"
#define szFIELDS "FIELDS"
#define szFIELDDEF "FIELD"
#define szPARAMS "PARAMS"
#define szOPTPARAM "PARAM"
#define szNULL "NULL"
#define szROW "ROW"
#define szAttrFld "ROWATTR"
#define szROUNDTRIP "Roundtrip"
#define szVersion "Version"
#define szVersion20 "2.0"
#define szRowState "RowState"
#define szAttrName "Name"
#define szAttrValue "Value"
#define szAttrType "Type"
//Field attributes
#define szAttrTagName "tagname"
#define szAttrAttrName "attrname"
#define szAttrFieldName "fieldname"
#define szAttrFieldType "fieldtype"
#define szAttrReadOnly "readonly"
#define szAttrHidden "hidden"
#define szAttrRequired "required"
#define szAttrLinkFld "linkfield"
#define szXMLInt8 "i1"
#define szXMLInt16 "i2"
#define szXMLInt32 "i4"
#define szXMLInt64 "i8"
#define szXMLUInt8 "ui1"
#define szXMLUInt16 "ui2"
#define szXMLUInt32 "ui4"
#define szXMLUInt64 "ui8"
#define szXMLSingle "r4"
#define szXMLFloat "r8"
#define szXMLFloat10 "r10"
#define szXMLNumber "r8"
#define szXMLFixed "fixed"
#define szXMLFixedFMT "fixedFMT"
#define szXMLBool "boolean"
#define szXMLDate "date"
#define szXMLDateTime "dateTime"
#define szXMLTime "time"
#define szXMLArray "array"
#define szXMLADT "struct"
#define szXMLNested "nested"
#define szXMLStringUni "string.uni"
#define szXMLStringAnsi "string"
#define szXMLBinHex "bin.hex"
#define szXMLIntArray "IntArray"
#define szXMLUIntArray "UIntArray"
#define szXMLSQLDateTime "SQLdateTime"
#define szXMLSQLDateTimeOffset "SQLdateTimeOffset"
}
uses classes, qdb, qstring, qxml;
type
TQCDSXMLConverter = class(TQConverter)
protected
FXML, FRootNode, FDataRoot: TQXMLNode;
FRowIndex: Integer;
FFieldIndexes: TStringList;
// µ¼Èë
procedure BeforeImport; override;
procedure BeginImport(AIndex: Integer); override;
procedure LoadFieldDefs(ADefs: TQFieldDefs); override;
function ReadRecord(ARec: TQRecord): Boolean; override;
procedure EndImport(AIndex: Integer); override;
procedure AfterImport; override;
// µ¼³ö
procedure BeforeExport; override;
procedure BeginExport(AIndex: Integer); override;
procedure SaveFieldDefs(ADefs: TQFieldDefs); override;
function WriteRecord(ARec: TQRecord): Boolean; override;
procedure EndExport(AIndex: Integer); override;
procedure AfterExport; override;
end;
implementation
{ TQCDSXMLConverter }
procedure TQCDSXMLConverter.AfterExport;
begin
inherited;
end;
procedure TQCDSXMLConverter.AfterImport;
begin
inherited;
end;
procedure TQCDSXMLConverter.BeforeExport;
begin
inherited;
end;
procedure TQCDSXMLConverter.BeforeImport;
begin
inherited;
end;
procedure TQCDSXMLConverter.BeginExport(AIndex: Integer);
begin
inherited;
end;
procedure TQCDSXMLConverter.BeginImport(AIndex: Integer);
begin
inherited;
end;
procedure TQCDSXMLConverter.EndExport(AIndex: Integer);
begin
inherited;
end;
procedure TQCDSXMLConverter.EndImport(AIndex: Integer);
begin
inherited;
end;
procedure TQCDSXMLConverter.LoadFieldDefs(ADefs: TQFieldDefs);
begin
inherited;
end;
function TQCDSXMLConverter.ReadRecord(ARec: TQRecord): Boolean;
begin
end;
procedure TQCDSXMLConverter.SaveFieldDefs(ADefs: TQFieldDefs);
begin
inherited;
end;
function TQCDSXMLConverter.WriteRecord(ARec: TQRecord): Boolean;
begin
end;
end.
|
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://localhost:8080/wsdl/IUpdateService
// >Import : http://localhost:8080/wsdl/IUpdateService>0
// Version : 1.0
// (10/16/2012 12:51:07 PM - - $Rev: 45757 $)
// ************************************************************************ //
unit unIUpdateService;
interface
uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;
type
// ************************************************************************ //
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to predefined/known XML or Embarcadero types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:base64Binary - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:string - "http://www.w3.org/2001/XMLSchema"[Gbl]
// !:boolean - "http://www.w3.org/2001/XMLSchema"[Gbl]
ApplicationUpdateResult = class; { "urn:UpdateServiceIntf"[GblCplx] }
ApplicationManifestEntry = class; { "urn:UpdateServiceIntf"[GblCplx] }
ApplicationManifest = class; { "urn:UpdateServiceIntf"[GblCplx] }
ArrayOfApplicationManifestEntry = array of ApplicationManifestEntry; { "urn:UpdateServiceIntf"[GblCplx] }
// ************************************************************************ //
// XML : ApplicationUpdateResult, global, <complexType>
// Namespace : urn:UpdateServiceIntf
// ************************************************************************ //
ApplicationUpdateResult = class(TRemotable)
private
FUpdateIsAvailable: Boolean;
FNewManifest: ApplicationManifest;
FLocationGUID: string;
FApplicationGUID: string;
public
destructor Destroy; override;
published
property UpdateIsAvailable: Boolean read FUpdateIsAvailable write FUpdateIsAvailable;
property NewManifest: ApplicationManifest read FNewManifest write FNewManifest;
property LocationGUID: string read FLocationGUID write FLocationGUID;
property ApplicationGUID: string read FApplicationGUID write FApplicationGUID;
end;
// ************************************************************************ //
// XML : ApplicationManifestEntry, global, <complexType>
// Namespace : urn:UpdateServiceIntf
// ************************************************************************ //
ApplicationManifestEntry = class(TRemotable)
private
FVersion: string;
FFileName: string;
FIsAPatch: Boolean;
FIsAZip: Boolean; //is this file a ZIP archive that needs to be expanded on delivery
FLaunch: Boolean;
FTargetPath: string;
FFileData: TByteDynArray;
published
property Version: string read FVersion write FVersion;
property FileName: string read FFileName write FFileName;
property IsAPatch: Boolean read FIsAPatch write FIsAPatch;
property IsAZip: Boolean read FIsAZip write FIsAZip;
property Launch: Boolean read FLaunch write FLaunch;
property TargetPath: string read FTargetPath write FTargetPath;
property FileData: TByteDynArray read FFileData write FFileData;
end;
// ************************************************************************ //
// XML : ApplicationManifest, global, <complexType>
// Namespace : urn:UpdateServiceIntf
// ************************************************************************ //
ApplicationManifest = class(TRemotable)
private
FItems: ArrayOfApplicationManifestEntry;
FWhatsNew: string;
FUpdateVersion: string;
FIsMandatory: Boolean;
FIsSilent: Boolean;
FIsImmediate: Boolean;
{$ifdef FABUTAN}
FSyncProgrammability: Boolean;
FSyncData: Boolean;
{$ENDIF}
public
destructor Destroy; override;
published
property Items: ArrayOfApplicationManifestEntry read FItems write FItems;
property WhatsNew: string read FWhatsNew write FWhatsNew;
property UpdateVersion: string read FUpdateVersion write FUpdateVersion;
property IsMandatory: Boolean read FIsMandatory write FIsMandatory;
property IsSilent: Boolean read FIsSilent write FIsSilent;
property IsImmediate: Boolean read FIsImmediate write FIsImmediate;
{$ifdef FABUTAN}
property SyncProgrammability: Boolean read FSyncProgrammability write FSyncProgrammability;
property SyncData: Boolean read FSyncData write FSyncData;
{$ENDIF}
end;
// ************************************************************************ //
// Namespace : urn:UpdateServiceIntf-IUpdateService
// soapAction: urn:UpdateServiceIntf-IUpdateService#%operationName%
// transport : http://schemas.xmlsoap.org/soap/http
// style : rpc
// use : encoded
// binding : IUpdateServicebinding
// service : IUpdateServiceservice
// port : IUpdateServicePort
// URL : http://localhost:8080/soap/IUpdateService
// ************************************************************************ //
IUpdateService = interface(IInvokable)
['{7115F6C6-418F-AC9A-1460-C8F433092514}']
function GetUpdate(const ApplicationGUID: string; const InstallationGUID: string; const Manifest: string): ApplicationUpdateResult; stdcall;
procedure UpdateReceived(const ApplicationGUID: string; const InstallationGUID: string; const UpdateVersion: string); stdcall;
procedure UpdateApplied(const ApplicationGUID: string; const InstallationGUID: string; const UpdateVersion: string; const UpdateResult: string; const UpdateLog: string); stdcall;
function RegisterInstall(const ApplicationGUID, DeviceGUID, DeviceFingerPrint: string) :string; stdcall; //returns InstallationGUID aka LocationGUID
end;
function GetIUpdateService(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): IUpdateService;
implementation
uses SysUtils;
function GetIUpdateService(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): IUpdateService;
const
defWSDL = 'http://localhost:8080/wsdl/IUpdateService';
defURL = 'http://localhost:8080/soap/IUpdateService';
defSvc = 'IUpdateServiceservice';
defPrt = 'IUpdateServicePort';
var
RIO: THTTPRIO;
begin
Result := nil;
if (Addr = '') then
begin
if UseWSDL then
Addr := defWSDL
else
Addr := defURL;
end;
if HTTPRIO = nil then
RIO := THTTPRIO.Create(nil)
else
RIO := HTTPRIO;
try
Result := (RIO as IUpdateService);
if UseWSDL then
begin
RIO.WSDLLocation := Addr;
RIO.Service := defSvc;
RIO.Port := defPrt;
end else
RIO.URL := Addr;
finally
if (Result = nil) and (HTTPRIO = nil) then
RIO.Free;
end;
end;
destructor ApplicationUpdateResult.Destroy;
begin
SysUtils.FreeAndNil(FNewManifest);
inherited Destroy;
end;
destructor ApplicationManifest.Destroy;
var
I: Integer;
begin
for I := 0 to System.Length(FItems)-1 do
SysUtils.FreeAndNil(FItems[I]);
System.SetLength(FItems, 0);
inherited Destroy;
end;
initialization
{ IUpdateService }
InvRegistry.RegisterInterface(TypeInfo(IUpdateService), 'urn:UpdateServiceIntf-IUpdateService', '');
InvRegistry.RegisterDefaultSOAPAction(TypeInfo(IUpdateService), 'urn:UpdateServiceIntf-IUpdateService#%operationName%');
RemClassRegistry.RegisterXSInfo(TypeInfo(ArrayOfApplicationManifestEntry), 'urn:UpdateServiceIntf', 'ArrayOfApplicationManifestEntry');
RemClassRegistry.RegisterXSClass(ApplicationUpdateResult, 'urn:UpdateServiceIntf', 'ApplicationUpdateResult');
RemClassRegistry.RegisterXSClass(ApplicationManifestEntry, 'urn:UpdateServiceIntf', 'ApplicationManifestEntry');
RemClassRegistry.RegisterXSClass(ApplicationManifest, 'urn:UpdateServiceIntf', 'ApplicationManifest');
end.
|
unit TestuOrderValidator;
interface
uses
TestFramework,
uOrderInterfaces;
type
TestTOrderValidator = class(TTestCase)
strict private
FOrderValidator: IOrderValidator;
public
procedure SetUp; override;
published
procedure TestValidateOrder;
end;
implementation
uses
uOrder,
Spring.Container,
Spring.Services;
procedure TestTOrderValidator.SetUp;
begin
GlobalContainer.Build();
FOrderValidator := ServiceLocator.GetService<IOrderValidator>();
end;
procedure TestTOrderValidator.TestValidateOrder;
var
ReturnValue: Boolean;
Order: TOrder;
begin
Order := TOrder.Create();
try
ReturnValue := FOrderValidator.ValidateOrder(Order);
Check(ReturnValue);
finally
Order.Free;
end;
end;
initialization
RegisterTest(TestTOrderValidator.Suite);
end.
|
unit TablePoster;
interface
uses PersistentObjects, DBGate, BaseObjects, DB, Table;
type
TRICCTableDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; ACollection: TIDObjects): integer; override;
function DeleteFromDB(AObject: TIDObject; ACollection: TIDObjects): integer; override;
constructor Create; override;
end;
TRICCAttributeDataPoster = class(TImplementedDataPoster)
public
function GetFromDB(AFilter: string; AObjects: TIdObjects): integer; override;
function PostToDB(AObject: TIDObject; ACollection: TIDObjects): integer; override;
function DeleteFromDB(AObject: TIDObject; ACollection: TIDObjects): integer; override;
constructor Create; override;
end;
implementation
uses Facade, SysUtils;
{ TRICCTableDataPoster }
constructor TRICCTableDataPoster.Create;
begin
inherited;
Options := [soNoInsert, soNoUpdate, soNoDelete];
DataSourceString := 'tbl_Table';
KeyFieldNames := 'TABLE_ID';;
FieldNames := 'TABLE_ID, VCH_TABLE_NAME, VCH_RUS_TABLE_NAME';
AccessoryFieldNames := 'TABLE_ID, VCH_TABLE_NAME, VCH_RUS_TABLE_NAME';;
AutoFillDates := false;
Sort := 'VCH_TABLE_NAME';
end;
function TRICCTableDataPoster.DeleteFromDB(AObject: TIDObject;
ACollection: TIDObjects): integer;
begin
Result := 0;
end;
function TRICCTableDataPoster.GetFromDB(AFilter: string;
AObjects: TIdObjects): integer;
var ds: TDataSet;
o: TRiccTable;
begin
Result := inherited GetFromDB(AFilter, AObjects);
ds := TMainFacade.GetInstance.DBGates.Add(Self);
if not ds.Eof then
begin
ds.First;
while not ds.Eof do
begin
o := AObjects.Add as TRiccTable;
o.ID := ds.FieldByName('Table_ID').AsInteger;
o.Name := trim(ds.FieldByName('vch_Table_Name').AsString);
o.RusTableName := trim(ds.FieldByName('vch_Rus_Table_Name').AsString);
ds.Next;
end;
ds.First;
end;
end;
function TRICCTableDataPoster.PostToDB(AObject: TIDObject;
ACollection: TIDObjects): integer;
begin
Result := 0;
end;
{ TRICCAttributeDataPoster }
constructor TRICCAttributeDataPoster.Create;
begin
inherited;
Options := [];
DataSourceString := 'TBL_ATTRIBUTE';
DataDeletionString := 'TBL_ATTRIBUTE';
DataPostString := 'TBL_ATTRIBUTE';
KeyFieldNames := 'ATTRIBUTE_ID';
FieldNames := 'ATTRIBUTE_ID, VCH_ATTRIBUTE_NAME, VCH_RUS_ATTRIBUTE_NAME, NUM_DICT_VALUE';
AccessoryFieldNames := 'ATTRIBUTE_ID, VCH_ATTRIBUTE_NAME, VCH_RUS_ATTRIBUTE_NAME, NUM_DICT_VALUE';
AutoFillDates := false;
Sort := 'VCH_ATTRIBUTE_NAME';
end;
function TRICCAttributeDataPoster.DeleteFromDB(AObject: TIDObject;
ACollection: TIDObjects): integer;
begin
Result := inherited DeleteFromDB(AObject, ACollection);
end;
function TRICCAttributeDataPoster.GetFromDB(AFilter: string;
AObjects: TIdObjects): integer;
var ds: TDataSet;
o: TRiccAttribute;
begin
Result := inherited GetFromDB(AFilter, AObjects);
ds := TMainFacade.GetInstance.DBGates.Add(Self);
if not ds.Eof then
begin
ds.First;
while not ds.Eof do
begin
o := AObjects.Add as TRiccAttribute;
o.ID := ds.FieldByName('Attribute_ID').AsInteger;
o.Name := trim(ds.FieldByName('vch_Attribute_Name').AsString);
o.RusAttributeName := trim(ds.FieldByName('vch_Rus_Attribute_Name').AsString);
ds.Next;
end;
ds.First;
end;
end;
function TRICCAttributeDataPoster.PostToDB(AObject: TIDObject;
ACollection: TIDObjects): integer;
begin
Result:=0;
end;
end.
|
unit BTUtils;
interface
uses
Windows, AvL, avlUtils;
type
TBEElement = class
protected
FPos, FLen: Int64;
function WriteStr(Stream: TStream; const Str: string): Integer;
public
procedure Write(Stream: TStream); virtual; abstract;
property Len: Int64 read FLen;
property Pos: Int64 read FPos;
end;
TBEString = class(TBEElement)
private
FValue: string;
public
constructor Create(const Value: string = '');
procedure Write(Stream: TStream); override;
property Value: string read FValue write FValue;
end;
TBEInt = class(TBEElement)
private
FValue: Int64;
public
constructor Create(Value: Int64 = 0);
procedure Write(Stream: TStream); override;
property Value: Int64 read FValue write FValue;
end;
TBEList = class(TBEElement)
private
FList: TList;
function GetCount: Integer;
function GetItems(Index: Integer): TBEElement;
procedure SetItems(Index: Integer; Value: TBEElement);
public
constructor Create;
destructor Destroy; override;
procedure Write(Stream: TStream); override;
procedure Add(Item: TBEElement);
procedure Delete(Idx: Integer);
procedure Insert(At: Integer; Item: TBEElement);
property Count: Integer read GetCount;
property Items[Index: Integer]: TBEElement read GetItems write SetItems; default;
end;
TBEMap = class(TBEElement)
private
FMap: TStringList;
function GetCount: Integer;
function GetItems(Index: string): TBEElement;
function GetNames(Index: Integer): string;
procedure SetItems(Index: string; Value: TBEElement);
public
constructor Create;
destructor Destroy; override;
procedure Write(Stream: TStream); override;
procedure Delete(const Name: string);
property Count: Integer read GetCount;
property Items[Index: string]: TBEElement read GetItems write SetItems; default;
property Names[Index: Integer]: string read GetNames;
end;
TFileRec = record
Name: WideString;
Pos, Len: Int64;
end;
TPieceRec = record
Hash: string;
FileIdx: Integer;
Pos: Int64;
end;
TOnFileError = procedure(Sender: TObject; const FileName: WideString) of object;
TPieceReader = class
private
FBaseDir: WideString;
FPieceSize, FCurFile: Integer;
FFile: THandle;
FFiles: array of TFileRec;
FPieces: array of TPieceRec;
FOnFileError: TOnFileError;
function NextFile(var CurFile: Integer; var CurPos: Int64; var Size: Integer): Boolean;
function GetFilesCount: Integer;
function GetFile(Index: Integer): TFileRec;
function GetHash(Index: Integer): string;
function GetPiece(Index: Integer): string;
function GetPieceCount: Integer;
public
constructor Create(Info: TBEMap; const BaseDir: WideString);
destructor Destroy; override;
procedure GetPieceFiles(Index: Integer; Files: TStringList);
property FilesCount: Integer read GetFilesCount;
property Files[Index: Integer]: TFileRec read GetFile;
property PieceSize: Integer read FPieceSize;
property PieceCount: Integer read GetPieceCount;
property Piece[Index: Integer]: string read GetPiece; default;
property Hash[Index: Integer]: string read GetHash;
property OnFileError: TOnFileError read FOnFileError write FOnFileError;
end;
function BEString(Elem: TBEElement): WideString;
function BERawString(Elem: TBEElement): string;
function BEInt(Elem: TBEElement): Int64;
function BEItem(Elem: TBEElement; Path: string): TBEElement;
function BELoadElement(Stream: TStream): TBEElement;
function HexString(const S: string): string;
function SHA1(const Data; Size: Integer): string;
function TorrentGetPath(FilePath: TBEList): WideString;
function TorrentInfoHash(Torrent: TBEElement): string; overload;
function TorrentInfoHash(Stream: TStream): string; overload;
const
btfAnnounce = 'announce';
btfAnnounceList = 'announce-list';
btfAttr = 'attr';
btfComment = 'comment';
btfCreatedBy = 'created by';
btfCreationDate = 'creation date';
btfFiles = 'files';
btfFileTree = 'file tree';
btfInfo = 'info';
btfLength = 'length';
btfName = 'name';
btfMetaVersion = 'meta version';
btfPath = 'path';
btfPieces = 'pieces';
btfPiecesRoot = 'pieces root';
btfPieceLayers = 'piece layers';
btfPieceLength = 'piece length';
btfPrivate = 'private';
implementation
function CompareStrings(List: TStringList; Index1, Index2: Integer): Integer;
var
S1, S2: string;
i: Integer;
begin
S1 := List[Index1];
S2 := List[Index2];
for i := 1 to Min(Length(S1), Length(S2)) do
if S1[i] <> S2[i] then
begin
Result := Integer(Ord(S1[i]) - Ord(S2[i]));
Exit;
end;
Result := Length(S1) - Length(S2);
end;
{TBEElement}
function TBEElement.WriteStr(Stream: TStream; const Str: string): Integer;
begin
Result := Stream.Write(Str[1], Length(Str));
end;
{TBEString}
constructor TBEString.Create(const Value: string = '');
begin
inherited Create;
FValue := Value;
end;
procedure TBEString.Write(Stream: TStream);
begin
WriteStr(Stream, IntToStr(Length(FValue)) + ':' + FValue);
end;
{TBEInt}
constructor TBEInt.Create(Value: Int64 = 0);
begin
inherited Create;
FValue := Value;
end;
procedure TBEInt.Write(Stream: TStream);
begin
WriteStr(Stream, 'i' + Int64ToStr(FValue) + 'e');
end;
{TBEList}
constructor TBEList.Create;
begin
inherited Create;
FList := TList.Create;
end;
destructor TBEList.Destroy;
var
i: Integer;
begin
for i := 0 to FList.Count do
TBEElement(FList[i]).Free;
FreeAndNil(FList);
inherited Destroy;
end;
procedure TBEList.Write(Stream: TStream);
var
i: Integer;
begin
WriteStr(Stream, 'l');
for i := 0 to FList.Count - 1 do
TBEElement(FList[i]).Write(Stream);
WriteStr(Stream, 'e');
end;
procedure TBEList.Add(Item: TBEElement);
begin
FList.Add(Item);
end;
procedure TBEList.Delete(Idx: Integer);
begin
FList.Delete(Idx);
end;
function TBEList.GetCount: Integer;
begin
Result := FList.Count;
end;
function TBEList.GetItems(Index: Integer): TBEElement;
begin
Result := TBEElement(FList[Index]);
end;
procedure TBEList.Insert(At: Integer; Item: TBEElement);
begin
FList.Insert(at, Item);
end;
procedure TBEList.SetItems(Index: Integer; Value: TBEElement);
begin
FList[Index] := Value;
end;
{TBEMap}
constructor TBEMap.Create;
begin
inherited;
FMap := TStringList.Create;
end;
destructor TBEMap.Destroy;
var
i: Integer;
begin
for i := 0 to FMap.Count - 1 do
FMap.Objects[i].Free;
FreeAndNil(FMap);
inherited Destroy;
end;
procedure TBEMap.Delete(const Name: string);
var
i: Integer;
begin
i := FMap.IndexOf(Name);
if i >= 0 then
begin
FMap.Objects[i].Free;
FMap.Delete(i);
end;
end;
function TBEMap.GetCount: Integer;
begin
Result := FMap.Count;
end;
function TBEMap.GetItems(Index: string): TBEElement;
var
i: Integer;
begin
i := FMap.IndexOf(Index);
if i < 0 then
Result := nil
else
Result := TBEElement(FMap.Objects[i]);
end;
function TBEMap.GetNames(Index: Integer): string;
begin
Result := FMap[Index];
end;
procedure TBEMap.SetItems(Index: string; Value: TBEElement);
var
i: Integer;
begin
i := FMap.IndexOf(Index);
if i < 0 then
FMap.AddObject(Index, Value)
else
FMap.Objects[i] := Value;
end;
procedure TBEMap.Write(Stream: TStream);
var
i: Integer;
Key: TBEString;
begin
FMap.CustomSort(CompareStrings);
Key := TBEString.Create;
try
WriteStr(Stream, 'd');
for i := 0 to FMap.Count - 1 do
begin
Key.Value := FMap[i];
Key.Write(Stream);
TBEElement(FMap.Objects[i]).Write(Stream);
end;
finally
WriteStr(Stream, 'e');
Key.Free;
end;
end;
{TPieceReader}
constructor TPieceReader.Create(Info: TBEMap; const BaseDir: WideString);
var
i, CurFile, Size: Integer;
CurPos: Int64;
Hashes: string;
FilesList: TBEList;
begin
inherited Create;
FFile := INVALID_HANDLE_VALUE;
FCurFile := -1;
FBaseDir := BaseDir;
if (FBaseDir <> '') and (FBaseDir[Length(FBaseDir)] <> '\') then
FBaseDir := FBaseDir + '\';
FPieceSize := BEInt(Info[btfPieceLength]);
Hashes := (Info[btfPieces] as TBEString).Value;
if Assigned(Info[btfFiles]) then
begin
FBaseDir := FBaseDir + BEString(Info[btfName]) + '\';
FilesList := Info[btfFiles] as TBEList;
SetLength(FFiles, FilesList.Count);
CurPos := 0;
for i := 0 to FilesList.Count - 1 do
with FFiles[i] do
begin
Name := TorrentGetPath((FilesList[i] as TBEMap)[btfPath] as TBEList);
Pos := CurPos;
Len := BEInt((FilesList[i] as TBEMap)[btfLength]);
CurPos := CurPos + Len;
end;
end
else begin
SetLength(FFiles, 1);
with FFiles[0] do
begin
Name := BEString(Info[btfName]);
Pos := 0;
Len := BEInt(Info[btfLength]);
end;
end;
CurFile := 0;
CurPos := 0;
SetLength(FPieces, Length(Hashes) div 20);
for i := 0 to High(FPieces) do
begin
with FPieces[i] do
begin
Hash := Copy(Hashes, 20 * i + 1, 20);
FileIdx := CurFile;
Pos := CurPos;
end;
Size := FPieceSize;
while NextFile(CurFile, CurPos, Size) do;
end;
end;
destructor TPieceReader.Destroy;
begin
if FFile <> INVALID_HANDLE_VALUE then
FileClose(FFile);
Finalize(FPieces);
Finalize(FFiles);
inherited;
end;
procedure TPieceReader.GetPieceFiles(Index: Integer; Files: TStringList);
var
CurFile, Size: Integer;
CurPos: Int64;
begin
if (Index < 0) or (Index > High(FPieces)) then Exit;
with FPieces[Index] do
begin
CurFile := FileIdx;
CurPos := Pos;
end;
Size := FPieceSize;
repeat
Files.Add(FFiles[CurFile].Name);
until not NextFile(CurFile, CurPos, Size);
end;
function TPieceReader.NextFile(var CurFile: Integer; var CurPos: Int64; var Size: Integer): Boolean;
begin
if Size < FFiles[CurFile].Len - CurPos then
begin
CurPos := CurPos + Size;
Size := 0;
Result := false;
end
else if Size > FFiles[CurFile].Len - CurPos then
begin
Dec(Size, FFiles[CurFile].Len - CurPos);
Inc(CurFile);
CurPos := 0;
Result := CurFile < Length(FFiles);
end
else begin
Size := 0;
CurPos := 0;
Inc(CurFile);
Result := false
end;
end;
function TPieceReader.GetFile(Index: Integer): TFileRec;
begin
if (Index >= 0) and (Index < Length(FFiles)) then
Result := FFiles[Index]
else
ZeroMemory(@Result, SizeOf(Result));
end;
function TPieceReader.GetFilesCount: Integer;
begin
Result := Length(FFiles);
end;
function TPieceReader.GetHash(Index: Integer): string;
begin
if (Index >= 0) and (Index < Length(FPieces)) then
Result := FPieces[Index].Hash
else
Result := '';
end;
function TPieceReader.GetPiece(Index: Integer): string;
var
CurFile, Size, Read: Integer;
CurPos: Int64;
P: Pointer;
begin
SetLength(Result, FPieceSize);
ZeroMemory(Pointer(Result), Length(Result));
if (Index < 0) or (Index > High(FPieces)) then Exit;
with FPieces[Index] do
begin
CurFile := FileIdx;
CurPos := Pos;
end;
Size := FPieceSize;
P := PChar(Result);
repeat
if CurFile <> FCurFile then
begin
if FFile <> INVALID_HANDLE_VALUE then
FileClose(FFile);
FFile := FileOpenW(FBaseDir + FFiles[CurFile].Name, fmOpenRead or fmShareDenyNone);
FCurFile := CurFile;
if Assigned(FOnFileError) and (FFile = INVALID_HANDLE_VALUE) then
FOnFileError(Self, FFiles[FCurFile].Name);
end;
FileSeek64(FFile, CurPos, soFromBeginning);
Read := Size;
if Read > FFiles[CurFile].Len - CurPos then
Read := FFiles[CurFile].Len - CurPos;
if (FileRead(FFile, P^, Read) <> Read) and Assigned(FOnFileError) then
FOnFileError(Self, FFiles[FCurFile].Name);
P := IncPtr(P, Read);
until not NextFile(CurFile, CurPos, Size);
if Size > 0 then
SetLength(Result, FPieceSize - Size);
end;
function TPieceReader.GetPieceCount: Integer;
begin
Result := Length(FPieces);
end;
{Functions}
function BEString(Elem: TBEElement): WideString;
begin
Result := '';
if not Assigned(Elem) then Exit;
if Elem is TBEString then
Result := UTF8Decode(TBEString(Elem).Value)
else if Elem is TBEInt then
Result := Int64ToStr(TBEInt(Elem).Value);
end;
function BERawString(Elem: TBEElement): string;
begin
Result := '';
if not Assigned(Elem) then Exit;
if Elem is TBEString then
Result := TBEString(Elem).Value;
end;
function BEInt(Elem: TBEElement): Int64;
begin
if Assigned(Elem) and (Elem is TBEInt) then
Result := TBEInt(Elem).Value
else
Result := 0;
end;
function BEItem(Elem: TBEElement; Path: string): TBEElement;
begin
Result := Elem;
while Assigned(Result) and (Path <> '') do
if Result is TBEMap then
Result := TBEMap(Result)[Tok('.', Path)]
else if Result is TBEList then
Result := TBEList(Result)[StrToInt(Tok('.', Path))]
else Result := nil;
end;
function BELoadElement(Stream: TStream): TBEElement;
function ReadUntil(Mark: Char): string;
var
C: Char;
begin
Result := '';
Stream.Read(C, 1);
while C <> Mark do
begin
Result := Result + C;
Stream.Read(C, 1);
end;
end;
var
C: Char;
S: string;
Len: Integer;
Element: TBEElement;
Key: TBEString;
Pos: Int64;
begin
Result := nil;
Pos := Stream.Position;
Stream.Read(C, 1);
case C of
'0'..'9':
begin
Len := StrToInt(C + ReadUntil(':'));
if Len > Stream.Size - Stream.Position then Exit;
SetLength(S, Len);
Stream.Read(S[1], Len);
Result := TBEString.Create(S);
end;
'i': Result := TBEInt.Create(StrToInt64(ReadUntil('e')));
'l':
begin
Result := TBEList.Create;
Element := BELoadElement(Stream);
while Assigned(Element) do
begin
(Result as TBEList).Add(Element);
Element := BELoadElement(Stream);
end;
end;
'd':
begin
Result := TBEMap.Create;
while true do
begin
TBEElement(Key) := BELoadElement(Stream);
try
if not (Assigned(Key) and (Key is TBEString)) then Break;
Element := BELoadElement(Stream);
if not Assigned(Element) then Break;
(Result as TBEMap).Items[Key.Value] := Element;
finally
FreeAndNil(Key);
end;
end;
end;
'e': ;
else
Stream.Seek(-1, soFromCurrent);
end;
if Assigned(Result) then
begin
Result.FPos := Pos;
Result.FLen := Stream.Position - Pos;
end;
end;
function HexString(const S: string): string;
var
i: Integer;
begin
Result := '';
for i := 1 to Length(S) do
Result := Result + IntToHex(Ord(S[i]), 2);
end;
//TODO: Optimize by unrolling cycle?
function SHA1(const Data; Size: Integer): string;
const
hlen = 20;
iv: packed array[0..4] of Cardinal = ($67452301, $EFCDAB89, $98BADCFE, $10325476, $C3D2E1F0);
var
Tail: packed array[0..127] of Byte;
i, TailSize: Integer;
TempSize: Int64;
P: Pointer;
f, k, t: Cardinal;
h, s: packed array[0..4] of Cardinal;
w: packed array[0..79] of Cardinal;
procedure AddTail(B: Byte);
begin
Tail[TailSize] := B;
Inc(TailSize);
end;
function GetBlock: Boolean;
begin
Result := Size + TailSize > 0;
if not Result then Exit;
if Size = 0 then
begin
P := @Tail;
Size := TailSize;
TailSize := 0;
end;
Move(P^, w, 64);
Inc(Cardinal(P), 64);
Dec(Size, 64);
end;
function Swap(D: Cardinal): Cardinal;
asm
BSWAP EAX
end;
function ROL(D: Cardinal; S: Integer): Cardinal;
asm
PUSH ECX
MOV ECX, EDX
ROL EAX, CL
POP ECX
end;
begin
TailSize := Size mod 64;
TempSize := 8 * Size;
Size := Size - TailSize;
P := @Data;
Move(Pointer(Integer(P) + Size)^, Tail, TailSize);
AddTail($80);
while TailSize mod 64 <> 56 do
AddTail(0);
for i := 7 downto 0 do
AddTail((TempSize shr (8 * i)) and $FF);
Move(iv, h, hlen);
while GetBlock do
begin
for i := 0 to 15 do
w[i] := Swap(w[i]);
for i := 16 to 79 do
w[i] := ROL(w[i - 3] xor w[i - 8] xor w[i - 14] xor w[i - 16], 1);
Move(h, s, hlen);
for i := 0 to 79 do
begin
if i < 20 then
begin
f := (s[1] and s[2]) or ((not s[1]) and s[3]);
k := $5A827999;
end
else if i < 40 then
begin
f := s[1] xor s[2] xor s[3];
k := $6ED9EBA1;
end
else if i < 60 then
begin
f := (s[1] and s[2]) or (s[1] and s[3]) or (s[2] and s[3]);
k := $8F1BBCDC;
end
else begin
f := s[1] xor s[2] xor s[3];
k := $CA62C1D6;
end;
t := ROL(s[0], 5) + f + s[4] + k + w[i];
s[4] := s[3];
s[3] := s[2];
s[2] := ROL(s[1], 30);
s[1] := s[0];
s[0] := t;
end;
for i := 0 to 4 do
h[i] := h[i] + s[i];
end;
for i := 0 to 4 do
h[i] := Swap(h[i]);
SetLength(Result, hlen);
Move(h, Result[1], hlen);
end;
function TorrentGetPath(FilePath: TBEList): WideString;
var
i: Integer;
begin
Result := BEString(FilePath[0]);
for i := 1 to FilePath.Count - 1 do
Result := Result + '\' + BEString(FilePath[i]);
end;
function TorrentInfoHash(Torrent: TBEElement): string;
var
Temp: TMemoryStream;
Info: TBEElement;
begin
Result := '';
if not (Assigned(Torrent) and (Torrent is TBEMap)) then Exit;
Info := (Torrent as TBEMap)[btfInfo];
if not Assigned(Info) then Exit;
Temp := TMemoryStream.Create;
try
Info.Write(Temp);
Result := SHA1(Temp.Memory^, Temp.Size);
finally
FreeAndNil(Temp);
end;
end;
function TorrentInfoHash(Stream: TStream): string;
var
Torrent: TBEElement;
Temp: string;
begin
Result := '';
if not Assigned(Stream) then Exit;
Torrent := BELoadElement(Stream);
try
if not Assigned(Torrent) or not (Torrent is TBEMap) or
not Assigned(TBEMap(Torrent)[btfInfo]) then Exit;
with TBEMap(Torrent)[btfInfo] do
begin
SetLength(Temp, Len);
Stream.Position := Pos;
Stream.Read(Temp[1], Len);
Result := SHA1(Temp[1], Len);
end
finally
FreeAndNil(Torrent);
end;
end;
end.
|
unit PWEditInfoCoordWell;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, DialogForm, ImgList, ActnList, FramesWizard, ComCtrls, ToolWin,
StdCtrls;
type
TfrmEditInfoCoordWell = class(TCommonDialogForm)
btnDelCoord: TButton;
procedure btnDelCoordClick(Sender: TObject);
private
protected
function GetEditingObjectName: string; override;
procedure NextFrame(Sender: TObject); override;
procedure FinishClick(Sender: TObject);
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
end;
var
frmEditInfoCoordWell: TfrmEditInfoCoordWell;
implementation
uses PWInfoCoordWell, Well, ReasonChange, Facade;
{$R *.dfm}
constructor TfrmEditInfoCoordWell.Create(AOwner: TComponent);
begin
inherited;
dlg.AddFrame(TfrmInfoCoordWell);
dlg.ActiveFrameIndex := 0;
dlg.FinishEnableIndex := 0;
Caption := 'Редактор координат по скважине';
dlg.OnFinishClick := FinishClick;
btnDelCoord.Parent := dlg.pnlButtons;
btnDelCoord.Top := 10;
Height := 270;
Width := 470;
end;
destructor TfrmEditInfoCoordWell.Destroy;
begin
inherited;
end;
procedure TfrmEditInfoCoordWell.FinishClick(Sender: TObject);
var w: TWell;
begin
try
w := EditingObject as TWell;
Save;
//w.LastModifyDate := Date;
w.Update;
w.Coord.Update;
// 65°48'33,984''
ShowMessage('Изменения успешно сохранены.');
except
end;
end;
function TfrmEditInfoCoordWell.GetEditingObjectName: string;
begin
Result := 'Скважина';
end;
procedure TfrmEditInfoCoordWell.NextFrame(Sender: TObject);
begin
inherited;
end;
procedure TfrmEditInfoCoordWell.btnDelCoordClick(Sender: TObject);
begin
inherited;
(dlg.Frames[0] as TfrmInfoCoordWell).Remove;
{
}
Close;
end;
end.
|
unit UTratamento;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants,
System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.Buttons, Vcl.StdCtrls, DM_Tratamento;
type
TForm1 = class(TForm)
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
SB_SOMA: TSpeedButton;
SB_SUB: TSpeedButton;
SB_MULT: TSpeedButton;
SB_DIV: TSpeedButton;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
procedure SB_SOMAClick(Sender: TObject);
procedure SB_SUBClick(Sender: TObject);
procedure SB_MULTClick(Sender: TObject);
procedure SB_DIVClick(Sender: TObject);
private
{ Private declarations }
function Somar(valor1, valor2: Currency): Currency;
function Subtrair(valor1, valor2: Currency): Currency;
function Multiplicar(valor1, valor2: Currency): Currency;
function Dividir(valor1, valor2: Currency): Currency;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
function TForm1.Multiplicar(valor1, valor2: Currency): Currency;
begin
Result := valor1 * valor1;
end;
function TForm1.Dividir(valor1, valor2: Currency): Currency;
begin
Result := valor1 / valor2;
end;
procedure TForm1.SB_DIVClick(Sender: TObject);
var
Resultado: Currency;
begin
Resultado := Dividir(StrToInt(Edit1.Text), StrToInt(Edit2.Text));
Edit3.Text := CurrToStr(Resultado);
end;
procedure TForm1.SB_MULTClick(Sender: TObject);
var
Resultado: Currency;
begin
Resultado := Multiplicar(StrToCurr(Edit1.Text), StrToCurr(Edit2.Text));
Edit3.Text := CurrToStr(Resultado);
end;
// Sobe sempre o tratamento local.
procedure TForm1.SB_SOMAClick(Sender: TObject);
var
Resultado: Currency;
begin
try
Resultado := Somar(StrToCurr(Edit1.Text), StrToCurr(Edit2.Text));
Edit3.Text := CurrToStr(Resultado);
except
on E: EConvertError do
ShowMessage('Caractere inválido');
end;
end;
procedure TForm1.SB_SUBClick(Sender: TObject);
var
Resultado: Currency;
begin
Resultado := Subtrair(StrToCurr(Edit1.Text), StrToCurr(Edit2.Text));
Edit3.Text := CurrToStr(Resultado);
end;
function TForm1.Somar(valor1, valor2: Currency): Currency;
begin
Result := valor1 + valor2;
end;
function TForm1.Subtrair(valor1, valor2: Currency): Currency;
begin
Result := valor1 - valor2;
end;
end.
|
PROGRAM PrintSkillAngels(INPUT, OUTPUT);
BEGIN {PrintSkillAngels}
WRITELN('ANGELS CAN BE HEARD ON HIGH')
END. {PrintSkillAngels}
|
unit Logger;
(*****************************************************************************
Prozessprogrammierung SS08
Aufgabe: Muehle
Diese Unit beinhaltet die Loggertask, die fuer das Loggen von beliebigen
Nachrichten zustaendig ist.
Autor: Alexander Bertram (B_TInf 2616)
*****************************************************************************)
interface
uses
LoggerMB;
var
Mailbox: LoggerMB.Mailbox;
procedure LoggerTask;
implementation
uses
RTKernel, RTTextIO,
Dos,
Types, Tools, Semas;
procedure CreateNewFile(var F: text; Filename: string);
(*****************************************************************************
Beschreibung:
Erzeugt eine neue Textdatei mit einer fortlaufenden Zahl als Namenssuffix.
In:
Filename: string: Dateinamenpraefix
Out:
F: text: Dateivariable
*****************************************************************************)
var
i: integer;
begin
{ Zaehler initialisieren }
i := 0;
{ Dateisuffix berechnen }
repeat
{ Zaehler inkrementieren }
inc(i);
Assign(F, Filename + IntToStr(i, 8 - Length(Filename)) + '.log');
{ Versuchen, Datei zu oeffnen und zu schliessen }
{$I-}
Reset(f);
Close(f);
{$I+}
{ Tritt ein Fehler auf, existiert Datei nicht }
until IOResult <> 0;
{ Datei erzeugen }
Rewrite(f);
end;
procedure Log(var F: text; S: string);
(*****************************************************************************
Beschreibung:
Schreibt eine Meldung in die Logdatei.
In:
F: text: Dateivariable
S: string: Meldung
Out:
-
*****************************************************************************)
begin
WriteLn(F, S);
Flush(f);
end;
procedure Debug(var F: text; Message: TLoggerMessage);
(*****************************************************************************
Beschreibung:
Schreibt eine Debugmeldung in eine Textdatei.
In:
F: text: Dateivariable
Message: TLoggerMessage: Nachricht, aus der die Debugmeldung ermittelt
wird.
Out:
-
*****************************************************************************)
var
TaskName: Name;
begin
{ Bei leerer Meldung, Info ueber alle TAsks ausgeben }
if Message.Message = '' then
RTKernel.TaskInfo(F, [RTKernel.TaskName, State, WaitingAtObj])
else
begin
{ Tasknamen ermitteln }
TaskName := GetTaskName(Message.Sender);
{ Tasknamen mit Leerzeichen auffuellen, um gleich breite Spalten zu
erzeugen }
while Length(TaskName) < (SizeOf(Name) - 1) do
TaskName := TaskName + ' ';
{ Tasknamen + Meldung in die Datei schreiben }
Log(F, TaskName + ' | ' + Message.Message);
end;
{ Puffer gleich in die Datei schreiben }
Flush(F);
end;
{$F+}
procedure LoggerTask;
(*****************************************************************************
Beschreibung:
Loggertask.
In:
-
Out:
-
*****************************************************************************)
var
Message: TLoggerMessage;
F: text;
Filename: string;
Y, M, D, DOW, H, Min, S, CS: word;
begin
InitMailbox(Mailbox, cLoggerMailboxSlots, 'Logger mailbox');
while true do
begin
{ Auf Nachrichten warten }
Get(Mailbox, Message);
{ Nachricht analysieren }
case Message.Kind of
{ Name der Logdatei }
lomkFilename:
Filename := Message.Filename;
{ Neue Logdatei erzeugen }
lomkCreateNewFile:
begin
{ Neue Datei erzeugen }
CreateNewFile(F, Filename);
{ Datum und Uhrzeit des Programmstarts ermitteln und in die Logdatei
schreiben }
GetDate(y, m, d, dow);
GetTime(h, min, s, cs);
Log(F, 'Programmstart am ' + IntToStr(d, 2) + '.' + IntToStr(m, 2) +
'.' + IntToStr(y, 4) + ' um ' + IntToStr(h, 2) + ':' +
IntToStr(min, 2) + ':' + IntToStr(s, 2));
end;
{ Debugmeldung }
lomkDebug:
Debug(F, Message);
{ Logmeldung }
lomkLog:
Log(F, Message.Message);
{ Programmende }
lomkExit:
begin
{ Datum und Uhrzeit des Programmendes ermitteln und in die Logdatei
schreiben }
GetDate(y, m, d, dow);
GetTime(h, min, s, cs);
Log(F, 'Programmende am ' + IntToStr(d, 2) + '.' + IntToStr(m, 2) +
'.' + IntToStr(y, 4) + ' um ' + IntToStr(h, 2) + ':' +
IntToStr(min, 2) + ':' + IntToStr(s, 2));
Close(F);
{ Ereignis in der Exitsemaphore speichern }
Signal(ExitSemaphore);
{ Moeglichkeit fuer einen Taskwechsel }
RTKernel.Delay(0);
end;
end;
end;
end;
end. |
unit DBUtil;
interface
uses ActiveX, ComObj, Variants, IniFiles, SysUtils, Classes, DateUtils, main;
function WriteDB(const SQL :string): boolean;
function getSelectVideo(const VideoId:string):string;
function getSelectPhoto(const NewsId:string):string;
function getNewsItems(Fields:TStrings):string;
function getNewsItem(const Fields: Tstrings):string;
function getJSONString(NewsRecord: TNewsRecord): string;
implementation
uses myADO, utilites;
function WriteDB(const SQL :string): boolean;
var MyADO: TMyADO;
begin
Result:=False;
MyADO:=TMyADO.Create(CreateOleObject('ADODB.Connection'));
if (MyADO.bADOError) then
begin
ProcRes.descript:=MyADO.bADOErrDescript;
exit;
end;
MyADO.strSQL:=SQL;
try
MyADO.ADO.Open(MyADO.ConnectionString);
MyADO.ADO.Execute(MyADO.strSQL);
MyADO.Destroy;
Result:=true;
except
on E:Exception do
begin
ProcRes.descript:=E.Message +MyADO.strSQL;
end;
end;
end;
function getSelectPhoto(const NewsId:string):string;
var content: string;
MyADO: TMyADO;
i: integer;
begin
Result:='';
content:='<select name="photo" id="photo" class="selectphoto"><option value="0">отсутсвует</option>';
MyADO:=TMyADO.Create(CreateOleObject('ADODB.RecordSet'));
if (MyADO.bADOError) then
begin
content:=content+'</select>';
Result:=content;
exit;
end;
MyADO.strSQL:='SELECT * from photo order by date desc';
if not MyADO.OpenADO then
begin
content:=content+'</select>';
ProcRes.descript:=MyADO.bADOErrDescript;
Result:=content;
exit;
end;
i:=0;
try
while not MyADO.ADO.EOF do
begin
if i>30 then break;
if (NewsId<>'') then content:=content+'<option selected value="'+string(MyADO.ADO.Fields['id'])+'">'
else content:=content+'<option value="'+string(MyADO.ADO.Fields['id'])+'">';
content:=content+string(MyADO.ADO.Fields['title'])+'</option> ';
i:=i+1;
MyADO.ADO.MoveNext;
end;
finally
content:=content+'</select>';
MyADO.ADO.Close;
end;
Result:=content;
end;
function getSelectVideo(const VideoId:string):string;
var content: string;
MyADO: TMyADO;
i: integer;
begin
Result:='';
content:='<select name="video" id="video" class="selectvideo"><option value="0">отсутсвует</option>';
MyADO:=TMyADO.Create(CreateOleObject('ADODB.RecordSet'));
if (MyADO.bADOError) then
begin
content:=content+'</select>';
Result:=content;
exit;
end;
MyADO.strSQL:='SELECT * from video order by date desc';
if not MyADO.OpenADO then
begin
content:=content+'</select>';
ProcRes.descript:=MyADO.bADOErrDescript;
Result:=content;
exit;
end;
i:=0;
try
while not MyADO.ADO.EOF do
begin
if i>30 then break;
if (strToIntDef(VideoId, 0) = i+1) then content:=content+'<option selected value="'+string(MyADO.ADO.Fields['id'])+'">'
else content:=content+'<option value="'+string(MyADO.ADO.Fields['id'])+'">';
content:=content+string(MyADO.ADO.Fields['title'])+'</option> ';
i:=i+1;
MyADO.ADO.MoveNext;
end;
finally
content:=content+'</select>';
MyADO.ADO.Close;
end;
Result:=content;
end;
function getNewsItems(Fields:TStrings):string;
var content: string;
MyADO: TMyADO;
Function ProcessString(s:string):string;
var p: integer;
Begin
repeat
p:=Pos('"',s); if p>0 then begin delete(s,p,1); insert('"',s,p); end else break;
until false;
Result:=StringReplace(trim(s), #13#10, '', [rfReplaceAll]);
repeat
p:=Pos('''',s); if p>0 then begin delete(s,p,1); insert('"',s,p); end else break;
until false;
Result:=StringReplace(trim(s), #13#10, '', [rfReplaceAll]);
End;
begin
Result:='{"list":[';
MyADO:=TMyADO.Create(CreateOleObject('ADODB.RecordSet'));
if (MyADO.bADOError) then
begin
Result:=Result+']}';
exit;
end;
MyADO.strSQL:='SELECT * from news order by date desc, time desc';
if not MyADO.OpenADO then
begin
ProcRes.descript:=MyADO.bADOErrDescript;
Result:=Result+']}';
exit;
end;
try
while not MyADO.ADO.EOF do
begin
if (strToIntDef(WideString(FormatDateTime('mm',TDateTime(MyADO.ADO.Fields['date']))),0)=strToIntDef(Fields.Values['m'],0))
and (strToIntDef(WideString(FormatDateTime('yyyy',TDateTime(MyADO.ADO.Fields['date']))),0)=strToIntDef(Fields.Values['y'],0)) then
begin
if content<>'' then content := content+',';
content:=content+'{"id":"'+string(MyADO.ADO.Fields['id'])+'",';
content:=content+'"day":"'+WideString(FormatDateTime('d',TDateTime(MyADO.ADO.Fields['date'])))+'",';
content:=content+'"month":"'+WideString(FormatDateTime('m',TDateTime(MyADO.ADO.Fields['date'])))+'",';
content:=content+'"year":"'+WideString(FormatDateTime('yyyy',TDateTime(MyADO.ADO.Fields['date'])))+'",';
content:=content+'"time":"'+WideString(FormatDateTime('hh:nn',TDateTime(MyADO.ADO.Fields['time'])))+'",';
content:=content+'"announce":"'+ProcessString(string(MyADO.ADO.Fields['announce']))+'"}';
end;
MyADO.ADO.MoveNext;
end;
finally
MyADO.ADO.Close;
end;
Result:=Result+content+']}';
end;
function getNewsItem(const Fields: TStrings):string;
var content, pics: string;
MyADO: TMyADO;
marking:integer;
newsid: string;
Function ProcessString(s:string):string;
var p: integer;
Begin
repeat
p:=Pos('"',s); if p>0 then begin delete(s,p,1); insert('"',s,p); end else break;
until false;
Result:=StringReplace(trim(s), #13#10, '', [rfReplaceAll]);
repeat
p:=Pos('''',s); if p>0 then begin delete(s,p,1); insert('"',s,p); end else break;
until false;
Result:=StringReplace(trim(s), #13#10, '', [rfReplaceAll]);
End;
begin
newsid := Fields.Values['id'];
Result := '{"'+newsid+'":{';
MyADO := TMyADO.Create(CreateOleObject('ADODB.RecordSet'));
if (MyADO.bADOError) then
begin
Result := Result + '"error":"ADOError"}';
exit;
end;
MyADO.strSQL := 'SELECT * FROM photo_pics WHERE id='+newsid+';';
if MyADO.OpenADO then
try
while not MyADO.ADO.EOF do
begin
if pics<>'' then pics := pics+',';
pics := pics+'{"pict":"' + string(MyADO.ADO.Fields['pname'])+'.'+string(MyADO.ADO.Fields['fileext'])+'", ';
if MyADO.ADO.Fields['copyright'].actualSize>0 then pics := pics+'"cp":"'+ProcessString(string(MyADO.ADO.Fields['copyright']))+'"}'
else pics := pics+'"cp":""}';
MyADO.ADO.MoveNext;
end;
finally
MyADO.CloseADO;
end;
MyADO := TMyADO.Create(CreateOleObject('ADODB.RecordSet'));
if (MyADO.bADOError) then
begin
Result := Result + '"error":"ADOError"}';
exit;
end;
MyADO.strSQL:='SELECT news.name,news.id,[news.date],[news.time],news.hot_announce, news.announce,news.news,news.rubric,'+
'news.region,news.pr,news.topnews,news.dayfigure,news.fileext,news.copyright,'+
'news.timetolive, news.ismap, news.photoid,news.videoid, DATEDIFF("d",news.date, news.timetolive) as periodtolive,'+
'map.fi,map.la,map.vtwt,map.activity FROM news LEFT JOIN map ON news.id = map.id WHERE news.id='+newsid+';';
if not MyADO.OpenADO then
begin
Result := '"'+newsid+'":{"error":"ADOError"}';
exit;
end;
try
while not MyADO.ADO.EOF do
begin
content:=content+'"newsid":"'+string(MyADO.ADO.Fields['id'])+'",';
try
if (integer(MyADO.ADO.Fields['topnews'])<>-1) and (string(MyADO.ADO.Fields['dayfigure'])='') then
marking:=0
else if (integer(MyADO.ADO.Fields['topnews'])=-1) then marking:=1
else marking:=2;
except
marking:=0;
end;
content:=content+'"day":"'+WideString(FormatDateTime('d',TDateTime(MyADO.ADO.Fields['news.date'])))+'",';
content:=content+'"month":"'+WideString(FormatDateTime('m',TDateTime(MyADO.ADO.Fields['news.date'])))+'",';
content:=content+'"year":"'+WideString(FormatDateTime('yyyy',TDateTime(MyADO.ADO.Fields['news.date'])))+'",';
content:=content+'"marking":"'+intToStr(marking)+'",';
content:=content+'"rubric":"'+string(MyADO.ADO.Fields['rubric'])+'",';
content:=content+'"region":"'+string(MyADO.ADO.Fields['region'])+'",';
content:=content+'"pr":"'+string(MyADO.ADO.Fields['pr'])+'",';
//if (integer(MyADO.ADO.Fields['ismap'])<>-1) then content:=content+'"timetolive":"",'
//else
if setDate()>TDateTime(MyADO.ADO.Fields['timetolive']) then content:=content+'"timetolive":"0",'
else content:=content+'"timetolive":"'+string(MyADO.ADO.Fields['periodtolive'])+'",';
try
content:=content+'"hot_announce":"'+ProcessString(string(MyADO.ADO.Fields['hot_announce']))+'",';
except
content:=content+'"hot_announce":"",';
end;
content:=content+'"announce":"'+ProcessString(string(MyADO.ADO.Fields['announce']))+'",';
content:=content+'"text":"'+ProcessString(string(MyADO.ADO.Fields['news']))+'",';
if (string(MyADO.ADO.Fields['fileext'])<>'') then
begin
if (pics<>'') then pics := pics+',';
pics := pics + '{"pict":"0.'+string(MyADO.ADO.Fields['fileext'])+'",';
if MyADO.ADO.Fields['copyright'].actualSize>0 then pics := pics+'"cp":"'+ProcessString(string(MyADO.ADO.Fields['copyright']))+'"}'
else pics := pics+'"cp":""}';
end;
try
content:=content+'"video":"'+string(MyADO.ADO.Fields['videoid'])+'",';
content:=content+'"photo":"'+string(MyADO.ADO.Fields['photoid'])+'",';
except
end;
if (integer(MyADO.ADO.Fields['ismap'])=-1) then
try
content:=content+'"ismap":"1",';
content:=content+'"fi":"'+string(MyADO.ADO.Fields['fi'])+'",';
content:=content+'"la":"'+string(MyADO.ADO.Fields['la'])+'",';
content:=content+'"vtwt":"'+string(MyADO.ADO.Fields['vtwt'])+'",';
content:=content+'"activity":"'+string(MyADO.ADO.Fields['activity'])+'"';
except
end
else
begin
content:=content+'"ismap":"0",';
content:=content+'"fi":"",';
content:=content+'"la":"",';
content:=content+'"vtwt":"0",';
content:=content+'"activity":"0"';
end;
MyADO.ADO.MoveNext;
end;
finally
MyADO.ADO.Close;
end;
if pics<>'' then Result := Result+'"pics":['+pics+'],';
Result := Result+content+'}}';
end;
function getJSONString(NewsRecord: TNewsRecord): string;
var pics, author, photoName_, content: string;
i: integer;
begin
Result := '{';
pics := '';
if (NewsRecord.pics.Count>0) then
for i:=0 to NewsRecord.pics.Count-1 do
begin
if pics<>'' then pics := pics+',';
pics := pics+'{"pict":"' + NewsRecord.pics[i]+'", ';
photoName_:= NewsRecord.pics[i];
Delete(photoName_, LastDelimiter('.', photoName_), length(photoName_));
author := StringReplace(NewsRecord.copyrights.Values[photoName_], '_', ' ', [rfReplaceAll]);
pics := pics+'"cp":"'+author+'"}';
end;
if pics<>'' then Result := Result+'"pics":['+pics+'],';
content:=content+'"newsid":"'+NewsRecord.Id+'",';
content:=content+'"day":"'+WideString(FormatDateTime('d', NewsRecord.Date))+'",';
content:=content+'"month":"'+WideString(FormatDateTime('m', NewsRecord.Date))+'",';
content:=content+'"year":"'+WideString(FormatDateTime('yyyy', NewsRecord.Date))+'",';
if (NewsRecord.TopNews='Yes') then content:=content+'"marking":"1",'
else content:=content+'"marking":"0",';
content:=content+'"rubric":"'+intToStr(NewsRecord.Rubric)+'",';
content:=content+'"region":"'+intToStr(NewsRecord.RegionGeo)+'",';
content:=content+'"pr":"'+intToStr(NewsRecord.Priority)+'",';
content:=content+'"timetolive":"'+intToStr(NewsRecord.TimeToLive)+'",';
content:=content+'"hot_announce":"'+NewsRecord.hot_title+'",';
content:=content+'"announce":"'+NewsRecord.Title+'",';
content:=content+'"text":"'+NewsRecord.Text+'",';
content:=content+'"video":"'+NewsRecord.VideoId+'",';
if (NewsRecord.isMap<>'No') then
begin
content:=content+'"ismap":"1",';
content:=content+'"fi":"'+floatToStr(NewsRecord.fi)+'",';
content:=content+'"la":"'+floatToStr(NewsRecord.la)+'",';
content:=content+'"vtwt":"'+intToStr(NewsRecord.vtwt)+'",';
content:=content+'"activity":"'+intToStr(NewsRecord.activity)+'"';
end
else
begin
content:=content+'"ismap":"0",';
content:=content+'"fi":"",';
content:=content+'"la":"",';
content:=content+'"vtwt":"0",';
content:=content+'"activity":"0"';
end;
Result := Result+content+'}';
end;
end.
|
// ***************************************************************************
//
// Delphi MVC Framework
//
// Copyright (c) 2010-2017 Daniele Teti and the DMVCFramework Team
//
// https://github.com/danieleteti/delphimvcframework
//
// ***************************************************************************
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// *************************************************************************** }
unit MVCFramework.HMAC;
{$I dmvcframework.inc}
interface
uses
System.SysUtils,
System.Generics.Collections,
EncdDecd,
IdHMAC;
type
EMVCHMACException = class(Exception)
private
{ private declarations }
protected
{ protected declarations }
public
{ public declarations }
end;
THMACClass = class of TIdHMAC;
function HMAC(const AAlgorithm: String; const AInput, AKey: string): TBytes;
procedure RegisterHMACAlgorithm(const AAlgorithm: String; AClazz: THMACClass);
procedure UnRegisterHMACAlgorithm(const AAlgorithm: String);
implementation
uses
IdSSLOpenSSL,
IdHash,
IdGlobal,
IdHMACMD5,
IdHMACSHA1;
var
GHMACRegistry: TDictionary<string, THMACClass>;
function HMAC(const AAlgorithm: String; const AInput, AKey: string): TBytes;
var
LHMAC: TIdHMAC;
begin
if not GHMACRegistry.ContainsKey(AAlgorithm) then
raise EMVCHMACException.CreateFmt('Unknown HMAC algorithm [%s]', [AAlgorithm]);
LHMAC := GHMACRegistry[AAlgorithm].Create;
try
LHMAC.Key := ToBytes(AKey);
Result := TBytes(LHMAC.HashValue(ToBytes(AInput)));
finally
LHMAC.Free;
end;
end;
procedure RegisterHMACAlgorithm(const AAlgorithm: String; AClazz: THMACClass);
begin
if GHMACRegistry.ContainsKey(AAlgorithm) then
raise EMVCHMACException.Create('Algorithm already registered');
GHMACRegistry.Add(AAlgorithm, AClazz);
end;
procedure UnRegisterHMACAlgorithm(const AAlgorithm: String);
begin
GHMACRegistry.Remove(AAlgorithm);
end;
initialization
Assert(IdSSLOpenSSL.LoadOpenSSLLibrary, 'HMAC requires OpenSSL libraries');
GHMACRegistry := TDictionary<string, THMACClass>.Create;
// registering based on hash function
RegisterHMACAlgorithm('md5', TIdHMACMD5);
RegisterHMACAlgorithm('sha1', TIdHMACSHA1);
RegisterHMACAlgorithm('sha224', TIdHMACSHA224);
RegisterHMACAlgorithm('sha256', TIdHMACSHA256);
RegisterHMACAlgorithm('sha384', TIdHMACSHA384);
RegisterHMACAlgorithm('sha512', TIdHMACSHA512);
// the same using the JWT naming
RegisterHMACAlgorithm('HS256', TIdHMACSHA256);
RegisterHMACAlgorithm('HS384', TIdHMACSHA384);
RegisterHMACAlgorithm('HS512', TIdHMACSHA512);
finalization
GHMACRegistry.Free;
end.
|
Program Graphics3D;
{
/**************************************************************************
* 3D_AMR.PAS *
* *
* "3D_AMR" A 3D Modeling and Animation Graphics program implementing *
* the z-buffer hidden face removal algorithm, and utilizing double *
* buffering for fast real-time animation of 3D objects on the PC. *
* *
* *
* This program uses the DOUBLE BUFFERING technique for *
* animation. While you are watching the current frame on the *
* VISUAL PAGE, the new frame is actually being drawn on the *
* ACTIVE PAGE. This leads to smoother animations. *
* *
* You are allowed to use this source code, in part or in whole, *
* But, please, would you kindly remeber to mention me. *
* *
* I hope you benefit from it, and that it opens in front of you a *
* a zillion gates for new creative ideas. *
* *
* Coded By: *
* Amr A. Awadallah, May 1992 *
* Computer Department, *
* Faculty Of Engineering, *
* Cairo University, *
* Egypt. *
* e-mail : "amr@frcu.eun.eg" or "a.awadallah@ieee.org" *
* phone : (202) 330-4738 *
* *
**************************************************************************/
}
{$R-,S-}
uses Crt,Graph,Dos;
const
MaxPts = 11;
MaxPolys = 30;
DEG = PI/180;
type
xyzw = (x,y,z,w);
Point = array[xyzw] of real;
Point3DType = array[x..z] of real;
MatrixType = array[1..4,1..4] of real;
PolygonType = array[1..MaxPts+1] of PointType;
Polygon3DType = record
numPts : word;
coords : array[1..MaxPts] of Point3DType;
end;
Object3DType = record
numPolys : word;
poly : array[1..MaxPolys] of Polygon3DType;
end;
DepthType = record
num : word;
depth : real;
end;
DepthListType = array[1..MaxPolys] of DepthType;
const
I : MatrixType = ( (1,0,0,0) , (0,1,0,0) , (0,0,1,0) , (0,0,0,1) );
var
Gd, Gm : Integer;
MaxX,MaxY : integer;
CenterX,CenterY : integer;
Color,BkColor : word;
FillColor : word;
VPN,VUP,COP,
u,v,
CENT,
P,Pprime,
VRPprime,
tempvect,
center : Point;
Tr,Rot,
Sc,Sh,
ViewMat : MatrixType;
scalar : real;
index : xyzw;
obj : Object3DType;
FillFlag,flag : Boolean;
ObjectExists : Boolean;
DepthUpToDate : Boolean;
Parallel : Boolean;
AnimOFF : Boolean;
ch : char;
D : real;
DepthList : DepthListType;
Function Dot_Prod(v1,v2 : Point) : real;
begin
Dot_Prod := v1[x]*v2[x] + v1[y]*v2[y] + v1[z]*v2[z];
end;
Procedure Cross_Prod(v1,v2 : Point; var result : Point);
begin
result[x] := v1[y]*v2[z] - v1[z]*v2[y];
result[y] := v1[z]*v2[x] - v1[x]*v2[z];
result[z] := v1[x]*v2[y] - v1[y]*v2[x];
end;
Procedure Normalize(var v1 : Point);
var
length : real;
begin
length := sqrt(Dot_Prod(v1,v1));
for index := x to z do
v1[index] := v1[index]/length;
end;
Procedure Multiply_Mat(A,B : MatrixType; var C : MatrixType);
var
i,j,k : integer;
begin
for i := 1 to 4 do
for j := 1 to 4 do
begin
C[i,j] := 0;
for k := 1 to 4 do
C[i,j] := C[i,j] + A[i,k] * B[k,j];
end;
end;
Procedure Multiply_Vec(A : MatrixType; v1 : Point; var v2 : Point);
var
i : xyzw;
j : integer;
begin
for i := x to w do
begin
j := ord(i) + 1;
v2[i] := v1[x]*A[1,j] + v1[y]*A[2,j] + v1[z]*A[3,j] + v1[w]*A[4,j];
end;
end;
Procedure Subtract_Vec(v1,v2 : Point; var result : Point);
begin
result[x] := v1[x] - v2[x];
result[y] := v1[y] - v2[y];
result[z] := v1[z] - v2[z];
result[w] := 1;
end;
Procedure GetCenter(var p : Point3DType);
var
i,j : word;
TotalNumPts : word;
begin
TotalNumPts := 0;
p[x] := 0; p[y] := 0; p[z] := 0;
with obj do
for i := 1 to numPolys do
with poly[i] do
begin
TotalNumPts := TotalNumPts + numPts;
for j := 1 to numPts do
for index := x to z do
p[index] := p[index] + coords[j][index];
end;
for index := x to z do
p[index] := p[index]/ TotalNumPts;
end;
Procedure Translate(Tx, Ty, Tz : real);
begin
Tr := I;
Tr[4,1] := Tx;
Tr[4,2] := Ty;
Tr[4,3] := Tz;
Multiply_Mat(ViewMat,Tr,ViewMat);
end;
Procedure Rotate(Rx , Ry, Rz : real);
begin
if ( Rx<>0 ) then
begin
Rot := I; Rx := Rx * DEG;
Rot[2,2] := cos(Rx);
Rot[2,3] := sin(Rx);
Rot[3,2] := -Rot[2,3];
Rot[3,3] := Rot[2,2];
Multiply_Mat(ViewMat,Rot,ViewMat);
end;
if ( Ry<>0 ) then
begin
Rot := I; Ry := Ry * DEG;
Rot[1,1] := cos(Ry);
Rot[1,3] := sin(Ry);
Rot[3,1] := -Rot[1,3];
Rot[3,3] := Rot[1,1];
Multiply_Mat(ViewMat,Rot,ViewMat);
end;
if ( Rz<>0 ) then
begin
Rot := I; Rz := Rz * DEG;
Rot[1,1] := cos(Rz);
Rot[1,2] := sin(Rz);
Rot[2,1] := -Rot[1,2];
Rot[2,2] := Rot[1,1];
Multiply_Mat(ViewMat,Rot,ViewMat);
end;
end;
Procedure Scale(Sx, Sy, Sz : real);
begin
Sc := I;
if Sx<>0 then Sc[1,1] := Sx;
if Sy<>0 then Sc[2,2] := Sy;
if Sz<>0 then Sc[3,3] := Sz;
Multiply_Mat(ViewMat,Sc,ViewMat);
end;
Procedure Shear(dir : word; a,b : real);
begin
Sh := I;
case dir of
0 : begin Sh[1,2] := a; Sh[1,3] := b; end;
1 : begin Sh[2,1] := a; Sh[2,3] := b; end;
2 : begin Sh[3,1] := a; Sh[3,2] := b; end;
end;
Multiply_Mat(ViewMat,Sh,ViewMat);
end;
Procedure TransformObject;
var
i,j : word;
p : Point;
begin
DepthUpToDate := FALSE;
with obj do
for i := 1 to numPolys do
with poly[i] do
for j := 1 to numPts do
begin
p[x] := coords[j][x]; p[y] := coords[j][y]; p[z] := coords[j][z];
p[w] := 1;
Multiply_Vec(ViewMat,p,p);
coords[j][x] := p[x]; coords[j][y] := p[y]; coords[j][z] := p[z];
end;
end;
procedure FillDepthList;
var i : word;
begin
with obj do
for i := 1 to numPolys do DepthList[i].num := i;
DepthUpToDate := FALSE;
end;
procedure UpdateObject;
function DepthOf( po : Polygon3DType) : real;
var
depth : real;
i : word;
begin
Depth := 0;
with po do
begin
for i := 1 to numPts do
Depth := Depth + coords[i][z];
DepthOf := Depth/po.numPts;
end;
end;
procedure UpdateDepthList;
var i : word;
begin
with obj do
for i := 1 to numPolys do
begin
DepthList[i].num := i;
DepthList[i].depth := DepthOf(poly[i]);
end;
end;
procedure SortDepthList;
procedure sort( l,r : word);
var
i,j : word;
x : real;
y : DepthType;
begin
i := l; j := r; x := DepthList[(i+j) DIV 2].depth;
repeat
while DepthList[i].depth > x do i := i+1;
while x > DepthList[j].depth do j := j-1;
if i <= j then
begin
y := DepthList[i];
DepthList[i] := DepthList[j];
DepthList[j] := y;
i := i + 1; j := j - 1;
end;
until i > j;
if l < j then sort(l,j);
if i < r then sort(i,r);
end;
begin
sort(1,obj.numPolys);
end;
begin
if(not DepthUpToDate) then
begin
UpdateDepthList;
SortDepthList;
DepthUpToDate := TRUE;
end;
end;
Procedure DrawObject;
var
i,j : word;
polygon : PolygonType;
pt : Point;
s : real;
begin
if (FillFlag) then UpdateObject;
with obj do
for i := 1 to numPolys do
with poly[DepthList[i].num] do
begin
for j := 1 to numPts do
begin
if (parallel) or (coords[j][z] = 0) then s:=1 else s:=D/coords[j][z];
polygon[j].x := centerX + Round(coords[j][x]*s);
polygon[j].y := centerY - Round(coords[j][y]*s);
end;
polygon[numPts+1] := polygon[1];{This line and the +1 could be removed}
DrawPoly( numPts+1, Polygon );
if (FillFlag) then FillPoly( numPts+1, Polygon );
end;
if (AnimOFF) then
begin
SetFillStyle(1,GREEN); SetColor(WHITE);
Bar(170,14,470,47);
Rectangle(170,14,470,47);
OutTextxy(180,19,'3D-Graphics by Amr Awadallah (1992)');
OutTextxy(230,32,'Press "H" for Help');
SetFillStyle(1,FillColor); SetColor(Color);
end;
end;
Procedure DisplayHeader;
begin
clrscr;
gotoxy(22,2);writeln('3D-GRAPHICS by Amr Awadallah (1992)');
gotoxy(22,3);writeln('-----------------------------------');
writeln;
end;
Procedure InputObject;
var
i,j : word;
center : Point3DType;
begin
DisplayHeader;
writeln('Object Creation Mode :-');
writeln('-----------------------');
writeln;
writeln('Use SPACES to seperate co-ordinates of a point,');
writeln('e.g. : Instead of (23,4.5,-17) enter 23 4.5 -17 .');
writeln;writeln;
with obj do
begin
write('Enter number of polygons (MAX = ',MaxPolys,' ) : ');
readln(numPolys);
if (numPolys > MaxPolys) then numPolys := MaxPolys;
for i := 1 to numpolys do
with poly[i] do
begin
writeln;
writeln('Polygon ',i,' : ');
write('Enter Number of points (MAX = ',MaxPts,' ) : '); readln(numPts);
if (numPts > MaxPts) then numPts := MaxPts;
for j := 1 to numPts do
begin
write('Enter point ',j,' : ');
readln(coords[j][x],coords[j][y],coords[j][z]);
end;
end;
if (numPolys <> 0) then
begin
ObjectExists := TRUE;
FillDepthList;
GetCenter(center);
D := center[z]/2;
end;
end;
end;
Procedure SaveObject;
var
f : file of Object3DType;
objectname : string;
begin
writeln;
write('Enter Object filename to Save : '); readln(objectname);
Assign(f,objectname);
Rewrite(f);
Write(f,obj);
Close(f);
end;
Procedure LoadObject;
var
f : file of Object3DType;
objectname : string;
ch : char;
center : Point3DType;
function FileExists(FileName: string) : Boolean;
var
f: file;
begin
{$I-}
Assign(f, FileName);
Reset(f);
Close(f);
{I+}
FileExists := (IOResult = 0) and (FileName <> '');
end;
begin
writeln;
write('Enter Object filename to Load : ');
readln(objectname);
if(FileExists(objectname)) then
begin
Assign(f,objectname);
Reset(f);
Read(f,obj);
Close(f);
ObjectExists := TRUE;
FillDepthList;
GetCenter(center);
D := center[z]/2;
end
else
begin
writeln;
writeln('Sorry, Can''t Load Object. (FileName does not exist.)');
writeln;
writeln('Press any key to continue.');
ch := readkey;
end;
end;
Procedure Display;
var
center : Point3DType;
ch : char;
page : word;
Col,Row : word;
height : word;
Procedure Initialize;
begin
Gd := EGA; Gm := EGAHI;
InitGraph(Gd, Gm, '');
if GraphResult <> grOk then
begin
clrscr;
writeln('This program requires an EGA or Higher card,');
writeln('Also Check that the file EGAVGA.BGI is present.');
Halt(1);
end;
SetColor(Color);
SetBkColor(BkColor);
SetFillStyle(1,FillColor);
MaxX := GetMaxX; MaxY := GetMaxY;
CenterX := MaxX shr 1; CenterY := MaxY shr 1;
page := 0;
end;
Procedure Action;
begin
TransformObject;
page := page + 1;
SetActivePage(page and 1);
ClearDevice;
DrawObject;
SetVisualPage(page and 1);
end;
Procedure Help;
const
vp : ViewPortType =
(x1: 65; y1: 80; x2: 555; y2: 305; Clip : ClipOn);
var
ch : char;
procedure WriteOut(S : string);
begin
OutTextXY(Col, Row, S);
Inc(Row, height);
end;
begin
page := page + 1;
SetActivePage(page and 1);
ClearDevice;
DrawObject;
with vp do
begin
SetFillStyle(1,RED); SetColor(WHITE);
Bar(x1-1,y1-1,x2+1,y2+1);
Rectangle(x1-1,y1-1,x2+1,y2+1);
SetViewPort(x1, y1, x2, y2, ClipOn);
height := TextHeight('M')+2;
Col := 5; Row := 8;
WriteOut('Help :- ');
WriteOut('--------');
Col := 10; Row := 38;
WriteOut('SPACE : Toggle between Solid And WireFrame.');
WriteOut('ENTER : Toggle between Perspective and Parallel Projection.');
WriteOut('3,6,9 : Change LineColor, Fill Color, Background Color.');
WriteOut(' +/- : Enlarge/Reduce Size.');
WriteOut(' 7/8 : Rotation around the Z-axis.');
WriteOut(' 4/5 : Rotation around the Y-axis.');
WriteOut(' 1/2 : Rotation around the X-axis.');
WriteOut(' Q/W : Translation along the Z-axis.');
WriteOut(' A/S : Translation along the Y-axis.');
WriteOut(' Z/X : Translation along the X-axis.');
WriteOut(' 0/. : Change Position of Projection Window (D).');
Inc(Row,Height);
WriteOut(' R : Run Animation with current settings.');
Inc(Row,Height);
WriteOut(' ESC : Return to Main Menu.');
Inc(Row,2*Height);
if (Parallel) then WriteOut('Current Mode = Parallel Projection.')
else WriteOut('Current Mode = Perspective Projection.')
end;
SetVisualPage(page);
ch := readkey;
SetViewPort(0, 0, MaxX, MaxY, ClipOn);
SetFillStyle(1,FillColor); SetColor(Color);
end;
Procedure Animate;
var ch : char;
begin
Rotate(5,7,9);
Translate(center[x],center[y],center[z]);
AnimOFF := TRUE; { Could be AnimOFF := FALSE;}
repeat Action until Keypressed;
AnimOFF := TRUE;
ViewMat := I;
Action;
ch := readkey;
end;
begin
Initialize;
ViewMat := I;
Action;
repeat
ViewMat := I;
flag := FALSE;
GetCenter(center);
Translate(-center[x],-center[y],-center[z]);
ch := readkey;
case ch of
'+' : begin Scale(1.1,1.1,1.1); flag := TRUE; end;
'-' : begin Scale(1/1.1,1/1.1,1/1.1); flag := TRUE; end;
'7' : begin Rotate(0,0,5); flag := TRUE; end;
'8' : begin Rotate(0,0,-5); flag := TRUE; end;
'4' : begin Rotate(0,5,0); flag := TRUE; end;
'5' : begin Rotate(0,-5,0); flag := TRUE; end;
'1' : begin Rotate(5,0,0); flag := TRUE; end;
'2' : begin Rotate(-5,0,0); flag := TRUE; end;
'0' : begin D := D - 10; flag := TRUE; end;
'.' : begin D := D + 10; flag := TRUE; end;
'W','w' : begin Translate(0,0,10); flag := TRUE; end;
'Q','q' : begin Translate(0,0,-10); flag := TRUE; end;
'S','s' : begin Translate(0,10,0); flag := TRUE; end;
'A','a' : begin Translate(0,-10,0); flag := TRUE; end;
'X','x' : begin Translate(10,0,0); flag := TRUE; end;
'Z','z' : begin Translate(-10,0,0); flag := TRUE; end;
' ' : begin FillFlag := not FillFlag; flag := TRUE; end;
chr(13) : begin Parallel := not Parallel; flag := TRUE; end;
'H','h' : begin Help; flag := TRUE; end;
'R','r' : begin Animate; end;
'3' : begin Color := (Color+1) and 15; SetColor(Color); flag := TRUE; end;
'6' : begin FillColor := (FillColor+1) and 15; SetFillStyle(1,FillColor); flag := TRUE; end;
'9' : begin BkColor := (BkColor+1) and 15; SetBkColor(BkColor); end;
end;
if (flag) then
begin
Translate(center[x],center[y],center[z]);
Action;
end;
until ( ch = chr(27) );
RestoreCrtMode;
end;
Procedure Status;
var
center : Point3DType;
ch : char;
begin
DisplayHeader;
writeln('Status :-');
writeln('---------');
writeln;
writeln(' Depth of Perspective Projection plane (D) = ',D:6:2);
writeln;
GetCenter(center);
writeln(' Depth of Object Center = ',center[z]:6:2);
writeln;writeln;
writeln('If you want to change the current Depth of the Perspective Projection plane');
writeln('then press ''D'' , else press any other key to return to the Main Menu.');
writeln;writeln;
ch := readkey;
if (ch = 'D') or (ch = 'd') then
begin
write('Enter New Depth of Perspective Projection Plane ''D'' = ');
readln(D);
end;
end;
Procedure Transform;
var
a,b,c : real;
dir : word;
ch : char;
begin
ViewMat := I;
repeat
DisplayHeader;
writeln('Transformations Menu :-');
writeln('-----------------------');
writeln;
writeln('Select option :- ');
writeln;
Writeln(' (1) Translation.');
Writeln(' (2) Rotation.');
Writeln(' (3) Scale.');
Writeln(' (4) Shear.');
Writeln(' (5) Display. ');
Writeln(' (6) Back to Main Menu.');
writeln;
ch := readkey;
case ch of
'1' : begin
write('Enter Displacement ( DeltaX DeltaY DeltaZ ) = ');
readln(a,b,c);
Translate(a,b,c);
end;
'2' : begin
write('Enter Angle in degrees ( ThetaX ThetaY ThetaZ ) = ');
readln(a,b,c);
Rotate(a,b,c);
end;
'3' : begin
write('Enter Scale ( ScaleX ScaleY ScaleZ ) = ');
readln(a,b,c);
Scale(a,b,c);
end;
'4' : begin
write('Enter Shear axis ( 0=X or 1=Y or 2=Z ) = ');
readln(dir);
write('Enter Shear Values : ( a b ) = ');
readln(a,b);
Shear(dir,a,b);
end;
'5' : begin
TransformObject;
Display;
ViewMat := I;
end;
end;
until ( ch = '6') or ( ch = chr(27) );
TransformObject;
end;
Procedure Setup;
begin
ObjectExists := FALSE;
Parallel := FALSE;
FillFlag := FALSE;
AnimOFF := TRUE;
Color := WHITE;
BkColor := BLACK;
FillColor := BLUE;
end;
begin {main}
Setup;
repeat
DisplayHeader;
writeln('Main Menu :-');
writeln('------------');
writeln;
writeln('Select option :- ');
writeln;
Writeln(' (1) Create Object.');
Writeln(' (2) Load Object.');
Writeln(' (3) Save Object.');
Writeln(' (4) Status.');
Writeln(' (5) Display Object.');
Writeln(' (6) Transform Object.');
Writeln;
Writeln(' (ESC) Quit.');
writeln;
flag := FALSE;
ch := readkey;
case ch of
'1' : InputObject;
'2' : LoadObject;
'3' : if( ObjectExists ) then SaveObject else flag := TRUE;
'4' : if( ObjectExists ) then Status else flag := TRUE;
'5' : if( ObjectExists ) then Display else flag := TRUE;
'6' : if( ObjectExists ) then Transform else flag := TRUE;
end;
if (flag) then
begin
writeln('Try Loading or Creating an Object first.');
writeln;
writeln('Press any key to continue.');
ch := readkey; ch := ' ';
end;
until ( ch = chr(27) );
end.
|
unit UFormRestoreDetail;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ComCtrls, ExtCtrls, ImgList, StdCtrls, siComp, UMainForm;
type
TfrmRestoreDetail = class(TForm)
plCheckFolderPcInfo: TPanel;
Splitter1: TSplitter;
LvBackupPathDetail: TListView;
Panel1: TPanel;
lvBackupPathLocation: TListView;
Label1: TLabel;
edtRestorePath: TEdit;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
lbRestorePc: TLabel;
lbRestoreSize: TLabel;
lbRestoreFiles: TLabel;
siLang_frmRestoreDetail: TsiLang;
procedure FormCreate(Sender: TObject);
procedure LvBackupPathDetailSelectItem(Sender: TObject; Item: TListItem;
Selected: Boolean);
procedure LvBackupPathDetailDeletion(Sender: TObject; Item: TListItem);
procedure LvBackupPathDetailCompare(Sender: TObject; Item1,
Item2: TListItem; Data: Integer; var Compare: Integer);
procedure siLang_frmRestoreDetailChangeLanguage(Sender: TObject);
private
procedure BindSort;
{ Private declarations }
public
RestorePcName : string;
end;
var
frmRestoreDetail: TfrmRestoreDetail;
implementation
uses UMyUtil, UFormRestorePath, UIconUtil, URestoreFileFace, UNetworkFace, UFormUtil;
{$R *.dfm}
procedure TfrmRestoreDetail.BindSort;
begin
LvBackupPathDetail.OnColumnClick := ListviewUtil.ColumnClick;
ListviewUtil.BindSort( lvBackupPathLocation );
end;
procedure TfrmRestoreDetail.FormCreate(Sender: TObject);
begin
BindSort;
LvBackupPathDetail.SmallImages := MyIcon.getSysIcon;
siLang_frmRestoreDetailChangeLanguage( nil );
end;
procedure TfrmRestoreDetail.LvBackupPathDetailCompare(Sender: TObject; Item1,
Item2: TListItem; Data: Integer; var Compare: Integer);
var
LvTag : Integer;
ColumnNum, SortNum, SortType : Integer;
ItemStr1, ItemStr2 : string;
SortStr1, SortStr2 : string;
CompareSize : Int64;
ItemData1 : TLvBackupPathDetailData;
ItemData2 : TLvBackupPathDetailData;
begin
LvTag := ( Sender as TListView ).Tag;
SortType := LvTag div 1000;
LvTag := LvTag mod 1000;
SortNum := LvTag div 100;
LvTag := LvTag mod 100;
ColumnNum := LvTag;
// ÕÒ³ö ÒªÅÅÐòµÄÁÐ
if ColumnNum = 0 then
begin
ItemStr1 := Item1.Caption;
ItemStr2 := Item2.Caption;
end
else
begin
ItemData1 := Item1.Data;
ItemData2 := item2.Data;
ItemStr1 := IntToStr( ItemData1.StatusInt );
ItemStr2 := IntToStr( ItemData2.StatusInt );
end;
// ÕýÐò/µ¹Ðò ÅÅÐò
if SortNum = 1 then
begin
SortStr1 := ItemStr1;
SortStr2 := ItemStr2;
end
else
begin
SortStr1 := ItemStr2;
SortStr2 := ItemStr1;
end;
// ÅÅÐò ·½Ê½
if SortType = SortType_String then // ×Ö·û´®ÅÅÐò
Compare := CompareText( SortStr1, SortStr2 )
else
if SortType = SortType_Size then // Size ÅÅÐò
begin
CompareSize := MySize.getFileSize( SortStr1 ) - MySize.getFileSize( SortStr2 );
if CompareSize > 0 then
Compare := 1
else
if CompareSize = 0 then
Compare := 0
else
Compare := -1;
end
else
if SortType = SortType_Int then // Count ÅÅÐò
Compare := StrToIntDef( SortStr1, 0 ) - StrToIntDef( SortStr2, 0 )
else
if SortType = SortType_Percentage then // Percentage ÅÅÐò
Compare := MyPercentage.getStrToPercentage( SortStr1 ) - MyPercentage.getStrToPercentage( SortStr2 )
else
Compare := CompareText( SortStr1, SortStr2 ); // Others
end;
procedure TfrmRestoreDetail.LvBackupPathDetailDeletion(Sender: TObject;
Item: TListItem);
var
Data : TObject;
begin
Data := Item.Data;
Data.Free;
end;
procedure TfrmRestoreDetail.LvBackupPathDetailSelectItem(Sender: TObject;
Item: TListItem; Selected: Boolean);
var
ItemData : TLvBackupPathDetailData;
PathOwnerDetailHash : TPathOwnerDetailHash;
p : TPathOwnerDetailPair;
Percentage, ImgIndex : Integer;
StatusStr : string;
begin
lvBackupPathLocation.Clear;
if not Selected then
Exit;
ItemData := Item.Data;
edtRestorePath.Text := ItemData.FullPath;
lbRestorePc.Caption := RestorePcName;
lbRestoreSize.Caption := MySize.getFileSizeStr( ItemData.FolderSpace );
lbRestoreFiles.Caption := MyCount.getCountStr( ItemData.FileCount ) + ' Files';
PathOwnerDetailHash := ItemData.PathOwnerDetailHash;
for p in PathOwnerDetailHash do
begin
if p.Value.IsOnline then
begin
StatusStr := Status_Online;
ImgIndex := CloudStatusIcon_Online
end
else
begin
StatusStr := Status_Offline;
ImgIndex := CloudStatusIcon_Offline;
end;
StatusStr := siLang_frmRestoreDetail.GetText( StatusStr );
with lvBackupPathLocation.Items.Add do
begin
Caption := p.Value.PcName;
SubItems.Add( MySize.getFileSizeStr( p.Value.OwnerSpace ) );
SubItems.Add( StatusStr );
ImageIndex := ImgIndex;
end;
end;
end;
procedure TfrmRestoreDetail.siLang_frmRestoreDetailChangeLanguage(
Sender: TObject);
begin
with LvBackupPathDetail do
begin
Columns[0].Caption := siLang_frmRestoreDetail.GetText( 'lvRestoreFrom' );
end;
with lvBackupPathLocation do
begin
Columns[0].Caption := siLang_frmRestoreDetail.GetText( 'lvRestoreItem' );
Columns[1].Caption := siLang_frmRestoreDetail.GetText( 'lvSize' );
Columns[2].Caption := siLang_frmRestoreDetail.GetText( 'lvStatus' );
end;
end;
end.
|
unit UCadProduto;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.Bind.EngExt, Vcl.Bind.DBEngExt,
System.Rtti, System.Bindings.Outputs, Vcl.Bind.Editors, Data.Bind.Components,
Data.Bind.DBScope, Data.DB, Vcl.StdCtrls, Vcl.ExtCtrls, Vcl.Mask, Vcl.DBCtrls;
type
TFCadProduto = class(TForm)
Label1: TLabel;
LblQtd: TLabel;
Panel1: TPanel;
Panel2: TPanel;
BtnCancelar: TButton;
BtnSalvar: TButton;
CbTipo: TComboBox;
LblTipo: TLabel;
LblValor: TLabel;
LkFornecedor: TDBLookupComboBox;
LblFornecedor: TLabel;
EdtValor: TDBEdit;
EdtQtd: TDBEdit;
EdtNome: TDBEdit;
procedure BtnCancelarClick(Sender: TObject);
procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
procedure BtnSalvarClick(Sender: TObject);
procedure CbTipoClick(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
public
{ Public declarations }
end;
var
FCadProduto: TFCadProduto;
implementation
{$R *.dfm}
uses
UDM, UProdutos;
procedure TFCadProduto.BtnCancelarClick(Sender: TObject);
begin
{dm.cdsProdutos.Cancel;
Close;}
DM.sql_produto.Cancel;
Close;
end;
procedure TFCadProduto.BtnSalvarClick(Sender: TObject);
begin
{if EdtNome.Text = '' then //se o produto estiver vazio então
begin //inicie
ShowMessage('Produto não Informado!'); //exibir menssagem
EdtNome.SetFocus; //logo após exibir a msg voltat o foco do mouse para EdtLogin
//e sair, para não executar o próximo bloco de instrução
Exit
end;
//validando senha
if EdtQtd.Text = '' then //se a senha estiver vazia
begin //inicie
ShowMessage('Quantidade não Informada!'); //exibir msg
EdtQtd.SetFocus; //setar foco do mouse no campo senha
//sair para não executar o próximo bloco de instrução
Exit
end; //fim
if DM.tb_produtoVALOR.AsFloat = 0 then //se a senha estiver vazia
begin //inicie
ShowMessage('Valor não Informada!'); //exibir msg
EdtValor.SetFocus; //setar foco do mouse no campo senha
//sair para não executar o próximo bloco de instrução
Exit
end;
if CbTipo.ItemIndex<>1 then
if LkFornecedor.Text='' then
begin
ShowMessage('Informe o Fornecedor');
LkFornecedor.SetFocus;
Exit
end;
if dm.cdsProdutos.State=dsInsert then //se o estado for igual a INSERT então
begin //inicie
dm.QryIdProduto.Close; //fechar query
dm.QryIdProduto.Open; //abrir query
dm.cdsProdutosNOME.AsString:=EdtNome.Text; //quero que o campo login no BD seja igual ao login do campo edtlogin
dm.cdsProdutosQUANTIDADE.AsInteger:=StrToInt(EdtQtd.Text);//quero que a senha no BD seja igual a senha do campo edtsenha
end; //fim
dm.cdsProdutos.Post; //postar
dm.cdsProdutos.ApplyUpdates(0); //aplicar modificações
ShowMessage('Informações Armazenadas com sucesso!'); //exibir mensagem
dm.cdsProdutos.Refresh; //atualizar cdsusuarios
Close; }
if EdtNome.Text = '' then
begin
ShowMessage('Produto não Informado!');
EdtNome.SetFocus;
Exit
end;
if EdtQtd.Text = '' then
begin
ShowMessage('Quantidade não Informada!');
EdtQtd.SetFocus;
Exit
end;
if DM.sql_produtoVALOR_PRODUTO.AsFloat = 0 then
begin
ShowMessage('Valor não Informada!');
EdtValor.SetFocus;
Exit
end;
if CbTipo.ItemIndex<>1 then
if LkFornecedor.Text='' then
begin
ShowMessage('Informe o Fornecedor');
LkFornecedor.SetFocus;
Exit
end;
if dm.sql_produto.State=dsInsert then
begin
if CbTipo.ItemIndex <>1 then
begin
dm.sql_Gen_produto.Close;
DM.sql_Gen_produto.Open;
DM.sql_produtoID_PRODUTO.AsInteger :=DM.sql_Gen_produtoID.Value;
dm.sql_produtoNOME_PRODUTO.AsString:= EdtNome.Text;
dm.sql_produtoQUANTIDADE_PRODUTO.AsInteger:=StrToInt(EdtQtd.Text);
DM.sql_produtoVALOR_PRODUTO.AsFloat := StrToFloat(EdtValor.Text);
DM.sql_produtoID_PESSOA_PROD.AsInteger := DM.sql_pessoaID_PESSOA.AsInteger;
case CbTipo.ItemIndex of
0: DM.sql_produtoTIPO_PRODUTO.AsString := 'Compra';
1: DM.sql_produtoTIPO_PRODUTO.AsString := 'Venda';
2: DM.sql_produtoTIPO_PRODUTO.AsString := 'Todos';
end;
dm.sql_produto.Post;
ShowMessage('Informações Armazenadas com sucesso!');
dm.sql_produto.Refresh;
Close;
end
else
begin
dm.sql_Gen_produto.Close;
DM.sql_Gen_produto.Open;
DM.sql_produtoID_PRODUTO.AsInteger :=DM.sql_Gen_produtoID.Value;
dm.sql_produtoNOME_PRODUTO.AsString:= EdtNome.Text;
dm.sql_produtoQUANTIDADE_PRODUTO.AsInteger:=StrToInt(EdtQtd.Text);
DM.sql_produtoVALOR_PRODUTO.AsFloat := StrToFloat(EdtValor.Text);
//DM.sql_produtoID_PESSOA_PROD.AsInteger := DM.sql_pessoaID_PESSOA.AsInteger;
case CbTipo.ItemIndex of
0: DM.sql_produtoTIPO_PRODUTO.AsString := 'Compra';
1: DM.sql_produtoTIPO_PRODUTO.AsString := 'Venda';
2: DM.sql_produtoTIPO_PRODUTO.AsString := 'Todos';
end;
dm.sql_produto.Post;
ShowMessage('Informações Armazenadas com sucesso!');
dm.sql_produto.Refresh;
Close;
end;
end;
if dm.sql_produto.State=dsEdit then
begin
dm.sql_produtoNOME_PRODUTO.AsString:=EdtNome.Text;
dm.sql_produtoQUANTIDADE_PRODUTO.AsInteger:=StrToInt(EdtQtd.Text);
DM.sql_produtoVALOR_PRODUTO.AsFloat := StrToFloat(EdtValor.Text);
DM.sql_produtoID_PESSOA_PROD.AsInteger := DM.sql_pessoaID_PESSOA.AsInteger;
case CbTipo.ItemIndex of
0: DM.sql_produtoTIPO_PRODUTO.AsString := 'Compra';
1: DM.sql_produtoTIPO_PRODUTO.AsString := 'Venda';
2: DM.sql_produtoTIPO_PRODUTO.AsString := 'Todos';
end;
dm.sql_produto.Post;
ShowMessage('Informações Armazenadas com sucesso!');
dm.sql_produto.Refresh;
Close;
end;
end;
procedure TFCadProduto.CbTipoClick(Sender: TObject);
begin
if (CbTipo.ItemIndex=0) or (CbTipo.ItemIndex=2) then
begin
LkFornecedor.Enabled:=True;
LblFornecedor.Enabled:=True;
LkFornecedor.Color := clInfoBk;
end
else
begin
LkFornecedor.Enabled:=False;
LblFornecedor.Enabled:=False;
LkFornecedor.KeyValue:=Null;
LkFornecedor.Color := clSilver;
DM.sql_pessoa.Params.ParamByName('TIPO_PESSOA').AsString := '';
end;
end;
procedure TFCadProduto.FormClose(Sender: TObject; var Action: TCloseAction);
begin
if DM.sql_produto.State in [dsInsert,dsEdit] then
DM.sql_produto.Cancel;
end;
procedure TFCadProduto.FormCreate(Sender: TObject);
begin
DM.sql_pessoa.Close;
DM.sql_pessoa.Params.ParamByName('TIPO_PESSOA').AsString := 'F';
DM.sql_pessoa.Params.ParamByName('NOME_PESSOA').AsString := '%';
DM.sql_pessoa.open;
if DM.sql_produtoTIPO_PRODUTO.AsString = 'Compra' then
CbTipo.ItemIndex :=0;
if DM.sql_produtoTIPO_PRODUTO.AsString = 'Venda' then
CbTipo.ItemIndex :=1;
if (CbTipo.ItemIndex=0) or (CbTipo.ItemIndex=2) then
begin
LkFornecedor.Enabled:=True;
LblFornecedor.Enabled:=True;
LkFornecedor.Color := clInfoBk;
end
else
begin
LkFornecedor.Enabled:=False;
LblFornecedor.Enabled:=False;
LkFornecedor.KeyValue:=Null;
LkFornecedor.Color := clSilver;
end;
if DM.sql_produtoTIPO_PRODUTO.AsString = 'Todos' then
CbTipo.ItemIndex :=2;
end;
procedure TFCadProduto.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if key=VK_ESCAPE then //se a tecla ESC for pressionada então
BtnCancelar.Click;
end;
end.
|
{
Implementar un programa que lea una secuencia de caracteres que termina en punto.
Se debe informar la cantidad de veces que aparece cada letra minúscula en la secuencia.
}
Program ejer2;
type vector = array ['a'..'z'] of integer;
procedure ProcesarSecuencia (var v: vector);
procedure InicializarVector (var v: vector);
var i: char;
begin
for i:= 'a' to 'z' do
v[i] := 0;
end;
var car: char;
begin
InicializarVector (v);
write ('Ingrese caracter: '); readln (car);
while (car <> '.') do
begin
if (car >= 'a') and (car <= 'z')
then v [car] := v [car] + 1;
write ('Ingrese caracter: '); readln (car);
end;
end;
procedure Informar (v: vector);
var i: char;
begin
writeln;
for i:= 'a' to 'z' do
writeln ('Cantidad de ', i, ': ', v[i]);
end;
var v: vector;
begin
ProcesarSecuencia (v);
Informar (v);
end.
|
unit uSalaDAO;
interface
uses sysUtils, uDAO, Vcl.CheckLst, uSala, FireDac.Comp.client, DB, uCurso, uAula;
type
TSalaDao = class(TConectDAO)
private
FCLSalas: TCheckListBox;
public
function ListaSAla: TFDQuery;
function PesquisaSalaCurso(pCurso: String): TFDQuery;
function PesquisaSalaProfessor(pCurso: String): TFDQuery;
function CadastroCurso_sala(pCurso: Tcurso): boolean;
function UpdateSala_curso(pCurso: Tcurso): boolean;
function SalaLivre(hora: TTime; Dia: string; pSala: TSala): boolean;
function SalaLivreUpdate(pAula : TAula): Boolean;
function RetornaID(pSala : TSala): integer;
Constructor Create;
Destructor Destroy; override;
end;
implementation
{ TSalaDao }
function TSalaDao.CadastroCurso_sala(pCurso: Tcurso): boolean;
var
SQL: string;
I: Integer;
begin
for I := 0 to 4 do
if pCurso.salas[I] <> '' then
begin
SQL := 'select id_sala From sala where nome = ' +
QuotedStr(pCurso.salas[I]);
FQuery := RetornarDataSet(SQL);
pCurso.IDSala := FQuery.FieldByName('id_sala').Asinteger;
SQL := 'select id_curso from curso where nome like ' +
QuotedStr('%' + pCurso.Nome + '%');
FQuery := RetornarDataSet(SQL);
pCurso.id := FQuery.FieldByName('id_curso').Asinteger;
SQL := 'insert into sala_curso values(' +
QuotedStr(IntToStr(pCurso.IDSala)) + ', ' +
QuotedStr(IntToStr(pCurso.id)) + ')';
Result := ExecutarComando(SQL) > 0;
end;
end;
constructor TSalaDao.Create;
begin
inherited;
end;
function TSalaDao.ListaSAla: TFDQuery;
var
SQL: string;
begin
SQL := 'SELECT nome FROM sala';
FQuery := RetornarDataSet(SQL);
Result := FQuery;
end;
function TSalaDao.PesquisaSalaCurso(pCurso: String): TFDQuery;
var
SQL: String;
begin
SQL := 'select nome from sala where id_sala in ' +
'(select id_sala from sala_curso where id_curso in ' +
'(Select id_curso from curso where nome like ' + QuotedStr(pCurso) + '))';
FQuery := RetornarDataSet(SQL);
Result := FQuery;
end;
function TSalaDao.PesquisaSalaProfessor(pCurso: String): TFDQuery;
var
SQL: string;
begin
SQL := 'select nome from professor where id_professor in ' +
'(select id_professor from professor_curso where id_curso in ' +
'(Select id_curso from curso where nome like ' + QuotedStr(pCurso) + '))';
FQuery := RetornarDataSet(SQL);
Result := FQuery;
end;
function TSalaDao.RetornaID(pSala: TSala): integer;
var SQL : string;
begin
SQL := 'select id_sala from sala where nome = ' + QuotedStr(pSala.Nome);
FQuery := RetornarDataSet(SQL);
Result := FQuery.FieldByName('id_sala').AsInteger;
end;
function TSalaDao.SalaLivre(hora: TTime; Dia: string; pSala: TSala)
: boolean;
var
SQL: string;
Hora_inicio: TTime;
hora_Fim_aula,Hora_fim: TTime;
dia_aula: String;
HoraAux : TTime;
begin
Result := true;
HoraAux := StrToTime('01:00:00');
hora_Fim_aula := hora + HoraAux;
SQL := 'select id_sala from sala where nome = ' +
QuotedStr(pSala.Nome);
FQuery := RetornarDataSet(SQL);
pSala.id := FQuery.FieldByName('id_sala').Asinteger;
SQL := 'select hora_inicio, dia from aula where id_sala = ' +
QuotedStr(IntToStr(pSala.id));
FQuery := RetornarDataSet(SQL);
while not FQuery.eof do
begin
Hora_inicio := FQuery.FieldByName('hora_inicio').AsDateTime;
Hora_fim := Hora_inicio + HoraAux;
dia_aula := FQuery.FieldByName('dia').AsString;
if Dia = dia_aula then
begin
if (Hora_inicio < hora) and (hora < Hora_fim) then
Result := false;
if (Hora_inicio < hora + HoraAux) and (hora + HoraAux < Hora_fim) then
Result := false;
if (Hora_inicio = hora) and (hora_Fim_aula = Hora_fim) then
Result := false;
end;
FQuery.Next;
end;
end;
function TSalaDao.SalaLivreUpdate(pAula: TAula): Boolean;
var SQL: string;
Hora_inicio: TTime;
Hora_fim: TTime;
dia_aula: String;
HoraAux : TTime;
begin
Result := true;
HoraAux := StrToTime('01:00:00');
SQL := 'select hora_inicio, dia from aula where id_sala = ' +
QuotedStr(IntToStr(pAula.id_sala)) + 'and id_aula <> ' + QuotedStr(IntToStr(pAula.id));
FQuery := RetornarDataSet(SQL);
while not FQuery.eof do
begin
Hora_inicio := FQuery.FieldByName('hora_inicio').AsDateTime;
Hora_fim := Hora_inicio + HoraAux;
dia_aula := FQuery.FieldByName('dia').AsString;
if pAula.dia = dia_aula then
begin
if (Hora_inicio < paula.hora_inicio) and (paula.hora_inicio < Hora_fim) then
Result := false;
if (Hora_inicio < paula.hora_inicio + HoraAux) and (paula.hora_inicio + HoraAux < Hora_fim) then
Result := false;
end;
FQuery.Next;
end;
end;
function TSalaDao.UpdateSala_curso(pCurso: Tcurso): boolean;
var
SQL: String;
I: Integer;
begin
SQL := 'Delete from sala_curso where id_curso = ' +
QuotedStr(IntToStr(pCurso.id));
ExecutarComando(SQL);
for I := 0 to 4 do
if pCurso.salas[I] <> '' then
begin
SQL := 'select id_sala From sala where nome = ' +
QuotedStr(pCurso.salas[I]);
FQuery := RetornarDataSet(SQL);
pCurso.IDSala := FQuery.FieldByName('id_sala').Asinteger;
SQL := 'select id_curso from curso where nome like ' +
QuotedStr('%' + pCurso.Nome + '%');
FQuery := RetornarDataSet(SQL);
pCurso.id := FQuery.FieldByName('id_curso').Asinteger;
SQL := 'insert into sala_curso values(' +
QuotedStr(IntToStr(pCurso.IDSala)) + ', ' +
QuotedStr(IntToStr(pCurso.id)) + ')';
Result := ExecutarComando(SQL) > 0;
end;
end;
destructor TSalaDao.Destroy;
begin
try
inherited;
if Assigned(FCLSalas) then
FreeAndNil(FCLSalas);
except
on e: exception do
raise exception.Create(e.Message);
end;
end;
end.
|
unit JPP.ComboBoxEx;
{
Jacek Pazera
http://www.pazera-software.com
https://github.com/jackdp
}
{$I jpp.inc}
{$IFDEF FPC} {$mode delphi} {$ENDIF}
interface
uses
{$IFDEF MSWINDOWS}Windows,{$ENDIF}
Messages,
SysUtils, Classes, Types, {$IFDEF HAS_SYSTEM_UITYPES}System.UITypes,{$ENDIF}
Controls, Graphics, StdCtrls, ExtCtrls, ComCtrls,
{$IFDEF FPC}ComboEx, LCLType, LCLIntf, LMessages,{$ENDIF}
JPP.Common, JPP.Common.Procs, JPP.AnchoredControls, JPP.Flash
;
type
TJppCustomComboBoxEx = class;
{$Region ' --- TJppFlashJppComboBoxEx --- '}
TJppFlashJppComboBoxEx = class(TJppFlashBase)
private
FEdit: TJppCustomComboBoxEx;
protected
procedure FlashColorChanged(Sender: TObject; const AColor: TColor);
procedure FlashFinished(Sender: TObject);
public
constructor Create(Edit: TJppCustomComboBoxEx);
published
property Enabled;
property FlashColor;
property FlashCount;
property FlashInterval;
property OnFlashFinished;
end;
{$endregion TJppFlashJppComboBoxEx}
{$region ' --- TJppCustomComboBoxEx --- '}
TJppCustomComboBoxEx = class(TCustomComboBoxEx)
private
FBoundLabel: TJppControlBoundLabel;
FMouseOverControl: Boolean;
{$IFDEF MSWINDOWS} FTabOnEnter: Boolean; {$ENDIF}
FTagExt: TJppTagExt;
FShowLabel: Boolean;
FFlash: TJppFlashJppComboBoxEx;
FBoundLabelSpacing: Integer;
FBoundLabelPosition: TLabelPosition;
FAnchoredControls: TJppAnchoredControls;
procedure SetTagExt(const Value: TJppTagExt);
procedure SetShowLabel(const Value: Boolean);
procedure CMMouseEnter (var Message: TMessage); message CM_MOUSEENTER;
procedure CMMouseLeave (var Message: TMessage); message CM_MOUSELEAVE;
procedure SetFlash(const Value: TJppFlashJppComboBoxEx);
procedure SetBoundLabelPosition(const Value: TLabelPosition);
procedure SetBoundLabelSpacing(const Value: Integer);
procedure AdjustLabelBounds(Sender: TObject);
procedure SetAnchoredControls(const Value: TJppAnchoredControls);
protected
procedure SetParent(AParent: TWinControl); override;
procedure Notification(AComponent: TComponent; Operation: TOperation); override;
procedure CMEnabledChanged(var Message: TMessage); message CM_ENABLEDCHANGED;
procedure CMVisibleChanged(var Message: TMessage); message CM_VISIBLECHANGED;
procedure CMBiDiModeChanged(var Message: TMessage); message CM_BIDIMODECHANGED;
procedure DoEnter; override;
procedure DoExit; override;
procedure PropsChanged(Sender: TObject);
procedure Loaded; override;
property MouseOverControl: Boolean read FMouseOverControl;
{$IFDEF DCC}function GetItemHt: Integer; override;{$ENDIF}
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
procedure FlashBackground;
procedure SetupInternalLabel;
procedure SetBounds(ALeft: Integer; ATop: Integer; AWidth: Integer; AHeight: Integer); override;
{$IFDEF MSWINDOWS} procedure KeyPress(var Key: Char); override; {$ENDIF}
protected
property BoundLabel: TJppControlBoundLabel read FBoundLabel;
property BoundLabelPosition: TLabelPosition read FBoundLabelPosition write SetBoundLabelPosition default lpLeft;
property BoundLabelSpacing: Integer read FBoundLabelSpacing write SetBoundLabelSpacing default 4;
{$IFDEF MSWINDOWS}
property TabOnEnter: Boolean read FTabOnEnter write FTabOnEnter default False; // if True, after pressing the Enter key, the focus is moved to the next control
{$ENDIF}
property TagExt: TJppTagExt read FTagExt write SetTagExt;
property ShowLabel: Boolean read FShowLabel write SetShowLabel default True;
property Flash: TJppFlashJppComboBoxEx read FFlash write SetFlash;
property AnchoredControls: TJppAnchoredControls read FAnchoredControls write SetAnchoredControls;
end;
{$endregion TJppCustomComboBoxEx}
{$region ' --- TJppComboBoxEx --- '}
TJppComboBoxEx = class(TJppCustomComboBoxEx)
public
property MouseOverControl;
published
property Style;
property StyleEx;
property Action;
property Align;
{$IFDEF DCC}property AlignWithMargins;{$ENDIF}
property Anchors;
property AutoCompleteOptions default [acoAutoAppend];
{$IFDEF FPC}property ArrowKeysTraverseList;{$ENDIF}
// property AutoComplete;
{$IFDEF FPC}property AutoCompleteText;{$ENDIF}
// {$IFDEF DCC}property AutoCloseUp;{$ENDIF}
// {$IFDEF DCC}property AutoCompleteDelay;{$ENDIF}
// property AutoDropDown;
// property AutoSize;
{$IFDEF DCC}
property BevelEdges;
property BevelInner;
property BevelKind;
property BevelOuter;
{$ENDIF}
property BiDiMode;
{$IFDEF FPC}property BorderSpacing;{$ENDIF}
{$IFDEF FPC}property BorderStyle;{$ENDIF}
// property CharCase;
property Color;
property Constraints;
{$IFDEF DCC} property Ctl3D; {$ENDIF}
property Cursor;
{$IFDEF DCC}property CustomHint;{$ENDIF}
property DoubleBuffered;
property DragCursor;
property DragKind;
property DragMode;
property DropDownCount default 16;
property Enabled;
property Font;
property Height;
property HelpContext;
property HelpKeyword;
property HelpType;
property Hint;
property Images;
{$IFDEF DCC}
property ImeMode;
property ImeName;
{$ENDIF}
property ItemHeight;
property ItemIndex;
property Items;
property ItemsEx;
{$IFDEF FPC}property ItemWidth;{$ENDIF}
property Left;
{$IFDEF DCC}property Margins;{$ENDIF}
property MaxLength;
property ParentBiDiMode;
property ParentColor;
{$IFDEF DCC}
property ParentCtl3D;
property ParentCustomHint;
property ParentDoubleBuffered;
{$ENDIF}
{$IFDEF FPC}{$IFDEF HAS_WINCONTROL_WITH_PARENTDOUBLEBUFFERED}
property ParentDoubleBuffered;
{$ENDIF}{$ENDIF}
property ParentFont;
property ParentShowHint;
property PopupMenu;
{$IFDEF FPC}property ReadOnly;{$ENDIF}
property ShowHint;
// property Sorted;
{$IFDEF DCC}{$IF RTLVersion > 23}property StyleElements;{$IFEND}{$ENDIF}
property TabOrder;
property TabStop;
property Tag;
property Text;
// {$IFDEF DCC}property TextHint;{$ENDIF}
property Top;
{$IFDEF DELPHI2010_OR_ABOVE} property Touch; {$ENDIF}
property Visible;
property Width;
// -------- Events ----------
{$IFDEF DCC}property OnBeginEdit;{$ENDIF}
property OnChange;
{$IFDEF FPC}property OnChangeBounds;{$ENDIF}
property OnClick;
// property OnCloseUp;
property OnContextPopup;
property OnDblClick;
property OnDragDrop;
property OnDragOver;
// property OnDrawItem;
property OnDropDown;
{$IFDEF FPC}property OnEditingDone;{$ENDIF}
property OnEndDock;
property OnEndDrag;
{$IFDEF DCC}property OnEndEdit;{$ENDIF}
property OnEnter;
property OnExit;
{$IFDEF DELPHI2010_OR_ABOVE}property OnGesture;{$ENDIF}
{$IFDEF FPC}property OnGetItems;{$ENDIF}
property OnKeyDown;
property OnKeyPress;
property OnKeyUp;
// property OnMeasureItem;
{$IFDEF DCC}property OnMouseActivate;{$ENDIF}
property OnMouseDown;
property OnMouseEnter;
property OnMouseLeave;
property OnMouseMove;
property OnMouseUp;
{$IFDEF FPC}
property OnMouseWheel;
property OnMouseWheelDown;
property OnMouseWheelUp;
{$ENDIF}
property OnSelect;
property OnStartDock;
property OnStartDrag;
{$IFDEF FPC}property OnUTF8KeyPress;{$ENDIF}
{$IFDEF MSWINDOWS} property TabOnEnter; {$ENDIF}
// ------- Custom Properties ---------
property ShowLabel;
property Flash;
property TagExt;
property BoundLabel;
property BoundLabelPosition;
property BoundLabelSpacing;
property AnchoredControls;
end;
{$endregion TJppComboBoxEx}
implementation
{$region ' --------------------------------- TJppCustomComboBoxEx ------------------------------- '}
constructor TJppCustomComboBoxEx.Create(AOwner: TComponent);
begin
inherited;
FBoundLabelPosition := lpLeft;
FBoundLabelSpacing := 4;
SetupInternalLabel;
FFlash := TJppFlashJppComboBoxEx.Create(Self);
FTagExt := TJppTagExt.Create(Self);
FShowLabel := True;
FMouseOverControl := False;
{$IFDEF MSWINDOWS}FTabOnEnter := False;{$ENDIF}
DropDownCount := 16;
FAnchoredControls := TJppAnchoredControls.Create(Self);
end;
destructor TJppCustomComboBoxEx.Destroy;
begin
FTagExt.Free;
FFlash.Free;
FAnchoredControls.Free;
inherited;
end;
procedure TJppCustomComboBoxEx.Loaded;
begin
inherited;
end;
procedure TJppCustomComboBoxEx.SetAnchoredControls(const Value: TJppAnchoredControls);
begin
FAnchoredControls := Value;
end;
procedure TJppCustomComboBoxEx.Notification(AComponent: TComponent; Operation: TOperation);
begin
inherited;
if Operation = opRemove then
if not (csDestroying in ComponentState) then
if Assigned(FAnchoredControls) then
begin
if AComponent = FBoundLabel then FBoundLabel := nil
else if AComponent = FAnchoredControls.Top.Control then FAnchoredControls.Top.Control := nil
else if AComponent = FAnchoredControls.Bottom.Control then FAnchoredControls.Bottom.Control := nil
else if AComponent = FAnchoredControls.Left.Control then FAnchoredControls.Left.Control := nil
else if AComponent = FAnchoredControls.Right.Control then FAnchoredControls.Right.Control := nil;
end;
end;
procedure TJppCustomComboBoxEx.PropsChanged(Sender: TObject);
begin
if csLoading in ComponentState then Exit;
end;
procedure TJppCustomComboBoxEx.CMBiDiModeChanged(var Message: TMessage);
begin
inherited;
if FBoundLabel <> nil then FBoundLabel.BiDiMode := BiDiMode;
end;
procedure TJppCustomComboBoxEx.CMEnabledChanged(var Message: TMessage);
begin
inherited;
if FBoundLabel <> nil then FBoundLabel.Enabled := Enabled;
//ApplyAppearance;
end;
procedure TJppCustomComboBoxEx.CMMouseEnter(var Message: TMessage);
begin
inherited;
{$IFDEF MSWINDOWS}
if (GetActiveWindow <> 0) then
{$ENDIF}
begin
FMouseOverControl := True;
//ApplyAppearance;
end;
end;
procedure TJppCustomComboBoxEx.CMMouseLeave(var Message: TMessage);
begin
inherited;
FMouseOverControl := False;
//ApplyAppearance;
end;
procedure TJppCustomComboBoxEx.CMVisibleChanged(var Message: TMessage);
begin
inherited;
if FBoundLabel <> nil then FBoundLabel.Visible := Visible;
end;
procedure TJppCustomComboBoxEx.DoEnter;
begin
inherited;
end;
procedure TJppCustomComboBoxEx.DoExit;
begin
inherited DoExit;
end;
procedure TJppCustomComboBoxEx.FlashBackground;
begin
FFlash.OriginalColor := Color;
FFlash.Flash;
end;
{$IFDEF DCC}
function TJppCustomComboBoxEx.GetItemHt: Integer;
begin
Result := Perform(CB_GETITEMHEIGHT, 0, 0); // returns 0 if Handle = 0
end;
{$ENDIF}
procedure TJppCustomComboBoxEx.AdjustLabelBounds(Sender: TObject);
begin
SetBoundLabelPosition(FBoundLabelPosition);
end;
procedure TJppCustomComboBoxEx.SetBoundLabelPosition(const Value: TLabelPosition);
var
P: TPoint;
begin
if FBoundLabel = nil then Exit;
FBoundLabelPosition := Value;
case Value of
lpAbove: P := Point(Left, Top - FBoundLabel.Height - FBoundLabelSpacing);
lpBelow: P := Point(Left, Top + Height + FBoundLabelSpacing);
lpLeft : P := Point(Left - FBoundLabel.Width - FBoundLabelSpacing, Top + ((Height - FBoundLabel.Height) div 2));
lpRight: P := Point(Left + Width + FBoundLabelSpacing, Top + ((Height - FBoundLabel.Height) div 2));
end;
FBoundLabel.SetBounds({%H-}P.x, {%H-}P.y, FBoundLabel.Width, FBoundLabel.Height);
FBoundLabel.Visible := FShowLabel and Visible;
end;
procedure TJppCustomComboBoxEx.SetBoundLabelSpacing(const Value: Integer);
begin
FBoundLabelSpacing := Value;
SetBoundLabelPosition(FBoundLabelPosition);
end;
procedure TJppCustomComboBoxEx.SetBounds(ALeft, ATop, AWidth, AHeight: Integer);
begin
inherited;
SetBoundLabelPosition(FBoundLabelPosition);
if not (csDestroying in ComponentState) then
if Assigned(FAnchoredControls) then FAnchoredControls.UpdateAllControlsPos;
end;
procedure TJppCustomComboBoxEx.SetFlash(const Value: TJppFlashJppComboBoxEx);
begin
FFlash := Value;
end;
procedure TJppCustomComboBoxEx.SetParent(AParent: TWinControl);
begin
inherited;
if FBoundLabel <> nil then
begin
FBoundLabel.Parent := AParent;
FBoundLabel.Visible := True;
end;
end;
procedure TJppCustomComboBoxEx.SetShowLabel(const Value: Boolean);
begin
if FBoundLabel.Visible = Value then Exit;
FShowLabel := Value;
FBoundLabel.Visible := FShowLabel;
end;
procedure TJppCustomComboBoxEx.SetTagExt(const Value: TJppTagExt);
begin
FTagExt := Value;
end;
procedure TJppCustomComboBoxEx.SetupInternalLabel;
begin
if Assigned(FBoundLabel) then Exit;
FBoundLabel := TJppControlBoundLabel.Create(Self);
FBoundLabel.FreeNotification(Self);
FBoundLabel.OnAdjustBounds := AdjustLabelBounds;
FBoundLabel.FocusControl := Self;
end;
{$IFDEF MSWINDOWS}
procedure TJppCustomComboBoxEx.KeyPress(var Key: Char);
begin
inherited KeyPress(Key);
if TabOnEnter and (Owner is TWinControl) then
begin
if Key = Char(VK_RETURN) then
if HiWord(GetKeyState(VK_SHIFT)) <> 0 then PostMessage((Owner as TWinControl).Handle, WM_NEXTDLGCTL, 1, 0)
else PostMessage((Owner as TWinControl).Handle, WM_NEXTDLGCTL, 0, 0);
Key := #0;
end;
end;
{$ENDIF}
{$endregion TJppCustomComboBoxEx}
{$region ' -------------------- TJppFlashJppComboBoxEx ---------------------- '}
constructor TJppFlashJppComboBoxEx.Create(Edit: TJppCustomComboBoxEx);
begin
inherited Create(Edit);
FEdit := Edit;
Enabled := True;
FlashCount := 3;
FlashInterval := 150;
OnFlashColorChanged := FlashColorChanged;
OnFlashFinished := FlashFinished;
FreeOnFlashFinished := False;
if FEdit is TJppCustomComboBoxEx then
with (FEdit as TJppCustomComboBoxEx) do
begin
OriginalColor := Color;
end;
end;
procedure TJppFlashJppComboBoxEx.FlashColorChanged(Sender: TObject; const AColor: TColor);
begin
if FEdit is TJppCustomComboBoxEx then
(FEdit as TJppCustomComboBoxEx).Color := AColor;
end;
procedure TJppFlashJppComboBoxEx.FlashFinished(Sender: TObject);
begin
if FEdit is TJppCustomComboBoxEx then
with (FEdit as TJppCustomComboBoxEx) do
begin
Color := OriginalColor;
end;
end;
{$endregion TJppFlashJppComboBoxEx}
end.
|
Unit
SMXM7X;
Interface
Uses
Windows;
Const
//
// Status of camera main stream (video)
//
CAMERA_STOP = 0;
CAMERA_START = 1;
//
// convert Bayer pattern to RGB image method ID
//
BAYER_LAPLACIAN = 0;// Laplacian
BAYER_MONO=1; // convert to mono
BAYER_AVERAGE=2;
BAYER_NEAREST=3;
BAYER_BILINEAR=4;
Type
FrameArray = array [0..1400*1024-1] of byte;
PFrameArray = ^FrameArray;
TRgbPix = record b,g,r:byte; end;
TRgbPixArray = packed array [0..1400*1024-1] of TRgbPix;
TCxScreenParams = record
StartX,StartY : integer;
Width,Height : integer;
Decimation : integer;
ColorDeep : integer;
MirrorV : boolean;
MirrorH : boolean;
end;
TCameraInfo = record
SensorType : integer;
MaxWidth : integer;
MaxHeight : integer;
DeviceName : array[0..63] of char;
end;
TCameraInfoEx = record
HWModelID : Word;
HWVersion : Word;
HWSerial : DWord;
Reserved : Array [0..4] of Byte;
end;
Function CxOpenDevice(Id : integer) : THandle; stdcall; external 'SMXM7X.dll';
Function CxCloseDevice(H:THandle):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetCameraInfo(H : THandle; var CameraInfo : TCameraInfo):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetCameraInfoEx(H:THandle; var CameraInfoEx:TCameraInfoEx):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetStreamMode(H:THandle; var Mode:byte):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetStreamMode(H:THandle; Mode:byte):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetScreenParams(H:THandle; var Params:TCxScreenParams):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetScreenParams(H:THandle; const Params:TCxScreenParams):boolean; stdcall; external 'SMXM7X.dll';
Function CxActivateScreenParams(H:THandle):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetFrequency(H:THandle; var Value:byte):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetFrequency(H:THandle; Value:byte):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetExposureMinMax(H:THandle; var MinExposure, MaxExposure : integer) : boolean; stdcall; external 'SMXM7X.dll';
Function CxGetExposure(H:THandle; var Exps:integer):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetExposure(H:THandle; Exps:integer):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetExposureMinMaxMs(H:THandle; var MinExposure, MaxExposure : single) : boolean; stdcall; external 'SMXM7X.dll';
Function CxGetExposureMs(H:THandle; var ExpMs:single):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetExposureMs(H:THandle; ExpMs:single; var ExpSet:single):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetGain(H:THandle; var Main,R,G,B:integer):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetGain(H:THandle; Main,R,G,B:integer):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetAllGain(H:THandle; Gain : Integer):Boolean; stdcall; external 'SMXM7X.dll';
Function CxGrabVideoFrame(H:THandle; Buffer:Pointer; BufSize:integer):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetFramePtr(H:THandle):Pointer; stdcall; external 'SMXM7X.dll';
//Function CxMakeConvertionCurve(Br,Ct:integer; Gm:single; var Buf1024):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetBrightnessContrastGamma(H:THandle; B,C,G : integer) : boolean; stdcall; external 'SMXM7X.dll';
Function CxSetConvertionTab(H:THandle; var Buf1024):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetConvertionTab(H:THandle; var Buf1024):boolean; stdcall; external 'SMXM7X.dll';
Function CxSetDefaultConvertionTab(H:THandle):boolean; stdcall; external 'SMXM7X.dll';
Function CxGetCustomData(H : THandle; Command : Cardinal; var OutData : Cardinal) : boolean; stdcall; external 'SMXM7X.dll';
Function CxSetBayerAlg(BayerAlg : integer) : boolean; stdcall; external 'SMXM7X.dll';
Function CxBayerToRgb(InBuf:pointer; ScW,ScH:integer; AlgId:integer; var Frame:TRgbPixArray):pointer; stdcall; external 'SMXM7X.dll';
Function CxStartVideo(WindowHandle : THandle; DeviceID : integer) : boolean; stdcall; external 'SMXM7X.dll';
Function CxStopVideo(DeviceID : integer) : boolean; stdcall; external 'SMXM7X.dll';
Function CxGetFrameCounter(DeviceID : integer; var FrameCounter : Cardinal) : boolean; stdcall; external 'SMXM7X.dll';
Function CxWhiteBalance(H : THandle) : boolean; stdcall; external 'SMXM7X.dll';
implementation
end.
|
unit Aurelius.Sql.MySQL;
{$I Aurelius.inc}
interface
uses
DB,
Aurelius.Sql.AnsiSqlGenerator,
Aurelius.Sql.BaseTypes,
Aurelius.Sql.Commands,
Aurelius.Sql.Interfaces,
Aurelius.Sql.Metadata,
Aurelius.Sql.Register;
type
TMySQLSQLGenerator = class(TAnsiSQLGenerator)
protected
function GetMaxConstraintNameLength: Integer; override;
procedure DefineColumnType(Column: TColumnMetadata); override;
function GetGeneratorName: string; override;
function GetSqlDialect: string; override;
function GenerateGetLastInsertId(SQLField: TSQLField): string; override;
function GenerateDropUniqueKey(UniqueKey: TUniqueKeyMetadata): string; override;
function GenerateDropForeignKey(ForeignKey: TForeignKeyMetadata): string; override;
function GenerateLimitedSelect(SelectSql: TSelectSql; Command: TSelectCommand): string; override;
function GetSupportedFeatures: TDBFeatures; override;
end;
implementation
uses
SysUtils;
{ TMySQLSQLGenerator }
procedure TMySQLSQLGenerator.DefineColumnType(Column: TColumnMetadata);
begin
DefineNumericColumnType(Column);
if Column.DataType <> '' then
begin
Column.DataType := StringReplace(Column.DataType, 'NUMERIC', 'DECIMAL', [rfIgnoreCase]);
Exit;
end;
case Column.FieldType of
ftByte:
Column.DataType := 'TINYINT';
ftShortint:
Column.DataType := 'TINYINT';
ftInteger:
Column.DataType := 'INT';
ftLongWord:
Column.DataType := 'INT';
ftLargeint:
Column.DataType := 'BIGINT';
ftWideString:
Column.DataType := 'VARCHAR($len)';
ftFixedWideChar:
Column.DataType := 'CHAR($len)';
ftDateTime:
Column.DataType := 'DATETIME';
ftSingle:
Column.DataType := 'FLOAT';
ftCurrency:
begin
Column.DataType := 'DECIMAL($pre, $sca)';
Column.Precision := 20;
Column.Scale := 4;
end;
ftBoolean:
Column.DataType := 'BIT';
ftMemo:
Column.DataType := 'LONGTEXT';
ftWideMemo:
Column.DataType := 'LONGTEXT';
ftBlob:
Column.DataType := 'LONGBLOB';
else
inherited DefineColumnType(Column);
end;
if Column.AutoGenerated then
Column.DataType := Column.DataType + ' AUTO_INCREMENT';
end;
function TMySQLSQLGenerator.GenerateDropForeignKey(ForeignKey: TForeignKeyMetadata): string;
begin
Result := 'ALTER TABLE ';
if ForeignKey.FromTable.Schema <> '' then
Result := Result + ForeignKey.FromTable.Schema + '.';
Result := Result + ForeignKey.FromTable.Name + #13#10' DROP FOREIGN KEY ' +
ForeignKey.Name + ';';
end;
function TMySQLSQLGenerator.GenerateDropUniqueKey(UniqueKey: TUniqueKeyMetadata): string;
begin
Result := 'ALTER TABLE ';
Result := Result + GetFullTableName(UniqueKey.Table.Name, UniqueKey.Table.Schema) + #13#10' DROP INDEX ' +
UniqueKey.Name + ';';
end;
function TMySQLSQLGenerator.GenerateGetLastInsertId(SQLField: TSQLField): string;
begin
Result := 'SELECT LAST_INSERT_ID();';
end;
function TMySQLSQLGenerator.GenerateLimitedSelect(SelectSql: TSelectSql;
Command: TSelectCommand): string;
var
MaxRows: integer;
begin
Result := GenerateRegularSelect(SelectSql) + #13#10;
// MaxRows must be present in SQL statement no matter what
if not Command.HasMaxRows then
MaxRows := MaxInt
else
MaxRows := Command.MaxRows;
if Command.HasFirstRow then
Result := Result + Format('LIMIT %d OFFSET %d', [MaxRows, Command.FirstRow])
else
Result := Result + Format('LIMIT %d', [MaxRows]);
end;
function TMySQLSQLGenerator.GetSqlDialect: string;
begin
Result := 'MySQL';
end;
function TMySQLSQLGenerator.GetGeneratorName: string;
begin
Result := 'MySQL SQL Generator';
end;
function TMySQLSQLGenerator.GetMaxConstraintNameLength: Integer;
begin
Result := 64;
end;
function TMySQLSQLGenerator.GetSupportedFeatures: TDBFeatures;
begin
Result := AllDBFeatures - [TDBFeature.Sequences];
end;
initialization
TSQLGeneratorRegister.GetInstance.RegisterGenerator(TMySQLSQLGenerator.Create);
end.
|
{ Subroutine STRING_CMLINE_PARM_CHECK (STAT,OPT)
*
* Check for error on processing parameter to command line option OPT. STAT
* is the status code indicating the status of processing the parameter.
}
module string_CMLINE_PARM_CHECK;
define string_cmline_parm_check;
%include 'string2.ins.pas';
procedure string_cmline_parm_check ( {check for bad parameter to cmd line option}
in stat: sys_err_t; {status code for reading or using parm}
in opt: univ string_var_arg_t); {name of cmd line option parm belongs to}
var
msg_parm: {references to parameters for messages}
array[1..2] of sys_parm_msg_t;
begin
if not sys_error(stat) then return;
sys_msg_parm_vstr (msg_parm[1], cmline_token_last);
sys_msg_parm_vstr (msg_parm[2], opt);
sys_error_print (stat, 'string', 'cmline_parm_bad', msg_parm, 2);
sys_bomb;
end;
|
unit MainForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ExtCtrls, StdCtrls,
fpcunit, Test;
type
{ TForm1 }
TForm1 = class(TForm)
Button1: TButton;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Image1: TImage;
Memo1: TMemo;
procedure Button1Click(Sender: TObject);
procedure FormDestroy(Sender: TObject);
private
aTest:TZXingLazarusTest;
public
end;
var
Form1: TForm1;
implementation
{$R *.lfm}
uses testutils;
{ TForm1 }
procedure TForm1.Button1Click(Sender: TObject);
var
aTestResult:TTestResult;
ml:TStringList;
i:integer;
begin
Edit1.Text:='';
Edit2.Text:='';
Edit3.Text:='';
if NOT Assigned(aTest) then
aTest:=TZXingLazarusTest.Create(Image1,Memo1);
if Assigned(aTest) then
begin
aTestResult:=TTestResult.Create;
try
ml := TStringList.Create;
try
GetMethodList(TZXingLazarusTest, ml);
for i := 0 to ml.Count -1 do
begin
aTest.TestName:=ml[i];
Memo1.Lines.Append('');
Memo1.Lines.Append('*******************');
Memo1.Lines.Append('Current test: '+aTest.TestName);
aTest.Run(aTestResult);
end;
finally
ml.Free;
end;
Edit1.Text:='Number of tests: '+InttoStr(aTestResult.RunTests);
Edit2.Text:='Number of failures: '+InttoStr(aTestResult.NumberOfFailures);
Edit3.Text:='Number of errors: '+InttoStr(aTestResult.NumberOfErrors);
finally
aTestResult.Free;
end;
end;
end;
procedure TForm1.FormDestroy(Sender: TObject);
begin
if Assigned(aTest) then
aTest.Free;
end;
end.
|
unit KInfoObjectFrame;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, KDescriptionKernFrame, ExtCtrls, ComCtrls, ActnList, Buttons,
ToolWin, StdCtrls, ImgList, KDescription, Well, Slotting, CoreDescription,
KInfoSlottingsFrame, KInfoPropertiesFrame;
type
TfrmInfoObject = class(TFrame)
Splitter1: TSplitter;
frmInfoProperties: TfrmInfoProperties;
frmInfoSlottings: TfrmInfoSlottings;
procedure frmInfoSlottingstvwWellsGetImageIndex(Sender: TObject;
Node: TTreeNode);
procedure frmInfoSlottingstvwWellsClick(Sender: TObject);
procedure frmInfoSlottingsToolButton2Click(Sender: TObject);
procedure frmInfoSlottingsToolButton5Click(Sender: TObject);
private
function GetActiveWell: TDescriptedWell;
public
property ActiveWell: TDescriptedWell read GetActiveWell;
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
end;
implementation
uses Facade;
{$R *.dfm}
{ TfrmInfoObject }
constructor TfrmInfoObject.Create(AOwner: TComponent);
begin
inherited;
end;
destructor TfrmInfoObject.Destroy;
begin
inherited;
end;
procedure TfrmInfoObject.frmInfoSlottingstvwWellsGetImageIndex(
Sender: TObject; Node: TTreeNode);
begin
frmInfoSlottings.tvwWellsGetImageIndex(Sender, Node);
end;
function TfrmInfoObject.GetActiveWell: TDescriptedWell;
begin
Result := nil;
case frmInfoSlottings.tvwWells.Selected.Level of
0 : Result := TDescriptedWell(frmInfoSlottings.tvwWells.Selected.Data);
1 : Result := TDescriptedWell(frmInfoSlottings.tvwWells.Selected.Parent.Data);
2 : Result := TDescriptedWell(frmInfoSlottings.tvwWells.Selected.Parent.Parent.Data);
end;
end;
procedure TfrmInfoObject.frmInfoSlottingstvwWellsClick(Sender: TObject);
begin
if frmInfoSlottings.tvwWells.Items.Count > 0 then
begin
frmInfoSlottings.tvwWellsClick(Sender);
(TMainFacade.GetInstance as TMainFacade).ActiveWell := ActiveWell;
frmInfoProperties.lstInfoPropertiesWell.Items.BeginUpdate;
frmInfoProperties.ActiveWell := ActiveWell;
ActiveWell.MakeList(frmInfoProperties.lstInfoPropertiesWell.Items, true);
case frmInfoSlottings.tvwWells.Selected.Level of
1 : frmInfoSlottings.ActiveSlotting.MakeList(frmInfoProperties.lstInfoPropertiesWell.Items);
2 : begin
frmInfoSlottings.ActiveSlotting.MakeList(frmInfoProperties.lstInfoPropertiesWell.Items);
frmInfoSlottings.ActiveLayer.MakeList(frmInfoProperties.lstInfoPropertiesWell.Items);
end;
end;
frmInfoProperties.lstInfoPropertiesWell.Items.EndUpdate;
end;
end;
procedure TfrmInfoObject.frmInfoSlottingsToolButton2Click(Sender: TObject);
begin
frmInfoSlottings.actnEditDescriptionExecute(Sender);
end;
procedure TfrmInfoObject.frmInfoSlottingsToolButton5Click(Sender: TObject);
begin
frmInfoSlottings.actnAddLayerExecute(Sender);
end;
end.
|
unit DesignManager;
interface
uses
FMX.Graphics, FMX.Types,
System.JSON, System.Generics.Collections,
ResourcesManager;
type
fillProc<T> = procedure(const v:TJSONValue; var item: T) of object;
TFormLayout = class
protected
n: string;
Ani: boolean;
TxtSize: TArray<single>;
TbsSize: TArray<single>;
hasAlign: boolean;
Align: TAlignLayout;
Font: TTextSettings;
fSize: single;
hasTxt: boolean;
Txt: string;
Bounds: TBounds;
Margins: TBounds;
hasChilds: boolean;
Childrens: TArray<TFormLayout>;
procedure fillLayout(const v:TJSONValue; var item: TFormLayout);
procedure fillSingl(const v:TJSONValue; var item: single);
procedure fillArr<T>(const j:TJSONArray; const f: fillProc<T>;var m: TArray<T>);
function fontFromJSON(const v:TJSONObject): TTextSettings;
function boundsFromJSON(const v:TJSONArray; marg: boolean = true): TBounds;
public
property Name: string read n;
property Animation: boolean read ani;
property TextSize:TArray<single> read txtSize;
property TabWidth:TArray<single> read tbsSize;
property TextSettings: TTextSettings read Font;
property FontSize: single read fSize;
property pText: boolean read hasTxt;
property Text: string read Txt;
property pAlign: boolean read hasAlign;
property LayoutAlign: TAlignLayout read Align;
property LayouBounds:TBounds read Bounds;
property LayoutMargins:TBounds read margins;
property pClilds: boolean read hasChilds;
property Childs:TArray<TFormLayout> read Childrens;
destructor Destroy; override;
constructor create(j:TJSONObject);
end;
TFormLayouts = TArray<TFormLayout>;
TDesignManager = class
private
layouts: TDictionary<string, TFormLayouts>;
public
function tryGetFormLayouts(const form:string; var lts: TFormLayouts): boolean;
function tryGetFormLayout(const form, name:string; var lt: TFormLayout): boolean;
procedure setSz(const layouts: TArray<TFmxObject>;const setts: TArray<TFormLayout>);
destructor Destroy; override;
constructor Create;
end;
var
DM: TDesignManager;
kdp: single;
implementation
uses
System.UIConsts, System.Types, System.Math, System.SysUtils, System.Classes,
FMX.Platform, FMX.Forms, FMX.Dialogs, FMX.Controls, FMX.Objects, FMX.Memo,
DataUnit, GameData;
{TFormText}
function TFormLayout.fontFromJSON(const v: TJSONObject): TTextSettings;
var
val: TJSONValue;
begin
result:=TTextSettings.Create(nil);
if v.TryGetValue('Size', val) then
result.Font.Size:=TJSONNumber(val).AsDouble;
if v.TryGetValue('Name', val) then
result.Font.Family:=TJSONString(val).Value;
if v.TryGetValue('Color', val) then
result.FontColor:=StringToAlphaColor(TJSONSTring(val).Value);
if v.TryGetValue('HorzAlign', val) then
result.HorzAlign:=TTextAlign(TJSONNumber(val).AsInt);
if v.TryGetValue('VertAlign', val) then
result.VertAlign:=TTextAlign(TJSONNumber(val).AsInt);
end;
function TFormLayout.boundsFromJSON(const v: TJSONArray; marg: boolean): TBounds;
var
w, h: single;
r: TRectF;
i: byte;
begin
w:=Screen.Width/100;
h:=Screen.Height/100;
for i:=0 to v.Count-1 do
case i of
0:r.Left:=TJSONNumber(v.Items[0]).AsDouble*w;
1:r.Top:=TJSONNumber(v.Items[1]).AsDouble*h;
2:r.Right:=TJSONNumber(v.Items[2]).AsDouble*w;
3:r.Bottom:=TJSONNumber(v.Items[3]).AsDouble*h;
else break;
end;
result:=TBounds.Create(r);
end;
procedure TFormLayout.fillLayout(const v: TJSONValue; var item: TFormLayout);
begin
item:=TFormLayout.create(v as TJsonObject);
end;
procedure TFormLayout.fillSingl(const v: TJSONValue; var item: Single);
begin
item:=TJsonNumber(v).AsDouble;
end;
procedure TFormLayout.fillArr<T>(const j:TJSONArray; const f: fillProc<T>; var m: TArray<T>);
var
i:integer;
begin
if Assigned(j) and (j.Count>0) then
begin
setlength(m, j.Count);
for i:=0 to j.Count-1 do
f(j.Items[i], m[i]);
end;
end;
destructor TFormLayout.destroy;
var
l: TFormLayout;
begin
Font.Free;
Bounds.Free;
Margins.Free;
for l in Childrens do
l.Free;
inherited;
end;
constructor TFormLayout.create(j: TJSONObject);
var
val: TJSONArray;
obj: TJSONObject;
num: TJSONNumber;
str: TJSONString;
bool: TJSONBool;
begin
if j.TryGetValue('Name', str) then n:=str.Value
else exit;
if j.TryGetValue('Animation', bool) then Ani:=bool.AsBoolean
else Ani:=true;
if j.TryGetValue('TextSize', val) then
fillArr<single>(val, fillSingl, TxtSize);
if j.TryGetValue('TabsSize', val) then
fillArr<single>(val, fillSingl, TbsSize);
if j.TryGetValue('Font', obj) then
Font:=fontFromJSON(obj);
if j.TryGetValue('FontSize', num) then fSize:=num.AsDouble*(Screen.Width+Screen.Height/2)/2800//fSize:=num.AsDouble*kdp
else fSize:=0;
if j.TryGetValue('Align', num) then
begin
Align:=TAlignLayout(num.AsInt);
hasAlign:=true;
end;
if j.TryGetValue('Text', str) then
begin
Txt:=str.Value;
hasTxt:=true;
end;
if j.TryGetValue('Bounds', val) then
bounds:=boundsFromJSON(val);
if j.TryGetValue('Margins', val) then
margins:=boundsFromJSON(val);
if j.TryGetValue('Childrens', val) and (Val.Count>0) then
begin
fillArr<TFormLayout>(val, fillLayout, childrens);
hasChilds:=true;
end;
end;
{TDesignManager}
function TDesignManager.tryGetFormLayouts(const form: string; var lts: TFormLayouts): boolean;
begin
result:=layouts.ContainsKey(form);
if result then
lts:=layouts[form];
end;
function TDesignManager.tryGetFormLayout(const form, name: string; var lt: TFormLayout): boolean;
var
lts: TFormLayouts;
function tryFindName(const m: TArray<TFormLayout>): boolean;
var
i: byte;
begin
result:=false;
if Assigned(m) and (length(m)>0) then
begin
for i:=0 to High(m) do
begin
if m[i].Name=name then
begin
result:=true;
lt:=m[i];
exit;
end;
if m[i].pClilds then
result:=tryFindName(m[i].Childrens);
if result then
exit;
end;
end;
end;
begin
result:=tryGetFormLayouts(form, lts) and tryFindName(lts);
end;
destructor TDesignManager.destroy;
var
p: TPair<string, TArray<TFormLayout>>;
l: TFormLayout;
begin
for p in layouts do
for l in p.Value do
l.Free;
layouts.Free;
inherited;
end;
procedure TDesignManager.setSz(const layouts: TArray<TFmxObject>; const setts: TArray<TFormLayout>);
var
i: byte;
ct: TControl;
st: ITextSettings;
function findByName(const name: string; const arr: TArray<TFmxObject>; var c: TControl):boolean;
var
i: byte;
begin
result:=false;
if length(arr)=0 then exit;
for i:=Low(arr) to High(arr) do
if name = arr[i].Name then
begin
if arr[i] is TControl then
begin
c:=arr[i] as TControl;
result:=true;
end;
exit;
end;
end;
begin
for i:=0 to High(setts) do
if findByName(setts[i].Name, layouts, ct) then
begin
if setts[i].pAlign then
ct.Align:=setts[i].LayoutAlign;
if setts[i].pText then
begin
if ct is TText then
(ct as TText).Text:=setts[i].Text
else if ct is TMemo then
(ct as TMemo).Text:=setts[i].Text;
end;
if IInterface(ct).QueryInterface(ITextSettings, st) = S_OK then
begin
st.TextSettings.BeginUpdate;
try
if Assigned(setts[i].TextSettings) then
st.TextSettings.Assign(setts[i].TextSettings);
if setts[i].FontSize>0 then
st.TextSettings.Font.Size:=setts[i].FontSize;
finally
st.TextSettings.EndUpdate;
end;
end;
if Assigned(setts[i].LayouBounds) then
ct.BoundsRect:=setts[i].LayouBounds.Rect;
if Assigned(setts[i].LayoutMargins) then
ct.Margins:=setts[i].LayoutMargins;
if setts[i].pClilds and (ct.ChildrenCount>0) then
setSz(ct.Children.ToArray, setts[i].Childs);
end;
end;
constructor TDesignManager.Create;
var
i, c: byte;
p: TJSONPair;
json: TJSONObject;
val: TJSONValue;
m: TArray<TFormLayout>;
txts: TArray<eTexts>;
txt: eTexts;
begin
kdp:=(GD.ppi/160)*4/3;
layouts:=TDictionary<string, TArray<TFormLayout>>.Create;
txts:=[tForms, tFrames];
try
for txt in txts do
if findTexts(txt) then
begin
val:=TJSONObject.ParseJSONValue(getTexts(txt));
if Assigned(val) and (val is TJSONObject) then
begin
json:=val as TJSONObject;
for p in json do
begin
c:=TJSONArray(p.JsonValue).Count;
if c=0 then continue;
setlength(m, c);
for i:=0 to c-1 do
m[i]:=TFormLayout.create(TJSONArray(p.JsonValue).Items[i] as TJsonObject);
layouts.Add(p.JsonString.Value, copy(m, 0, c));
p.Free;
end;
end;
end;
except
on E: Exception do
ShowMessage('DesigneManager error: '+E.Message);
end;
end;
end.
|
unit Entidades.Cadastro;
{$SCOPEDENUMS ON}
interface
uses
Generics.Collections,
Aurelius.Mapping.Attributes,
Aurelius.Types.Nullable;
type
[Entity]
[Automapping]
[DiscriminatorColumn('TIPO', TDiscriminatorType.dtString, 50)]
[Inheritance(TInheritanceStrategy.SingleTable)]
TPessoa = class
private
FId: integer;
FNome: string;
FFone: Nullable<string>;
FCelular: Nullable<string>;
FCNPJ: Nullable<string>;
FCPF: Nullable<string>;
FEmail: Nullable<string>;
FUF: Nullable<string>;
FBairro: Nullable<string>;
FCEP: Nullable<string>;
FRua: Nullable<string>;
FNumero: Nullable<string>;
FComplemento: Nullable<string>;
FCidade: Nullable<string>;
FFone2: Nullable<string>;
FDataCadastro: TDateTime;
public
property Id: integer read FId;
property Nome: string read FNome write FNome;
property Rua: Nullable<string> read FRua write FRua;
property Numero: Nullable<string> read FNumero write FNumero;
property Complemento: Nullable<string> read FComplemento write FComplemento;
property Bairro: Nullable<string> read FBairro write FBairro;
property CEP: Nullable<string> read FCEP write FCEP;
property Fone: Nullable<string> read FFone write FFone;
property Fone2: Nullable<string> read FFone2 write FFone2;
property Celular: Nullable<string> read FCelular write FCelular;
property Email: Nullable<string> read FEmail write FEmail;
property Cidade: Nullable<string> read FCidade write FCidade;
property UF: Nullable<string> read FUF write FUF;
property CNPJ: Nullable<string> read FCNPJ write FCNPJ;
property CPF: Nullable<string> read FCPF write FCPF;
property DataCadastro: TDateTime read FDataCadastro write FDataCadastro;
end;
[Entity]
[Automapping]
[DiscriminatorValue('Cliente')]
TCliente = class(TPessoa)
end;
[Entity]
[Automapping]
TEmployee = class
private
FId: integer;
FName: string;
public
property Id: integer read FId write FId;
property Name: string read FName write FName;
end;
[Entity]
[Automapping]
[DiscriminatorValue('Fornecedor')]
TFornecedor = class(TPessoa)
end;
[Enumeration(TEnumMappingType.emString, 'Macho;Femea;Macho Castrado;Femea Castrada')]
TSexo = (Macho, Femea, MachoCastrado, FemeaCastrada);
[Entity]
[Automapping]
TAnimal = class
private
FId: integer;
FNome: string;
[Association([TAssociationProp.Required], CascadeTypeAllButRemove)]
FProprietario: TCliente;
FDataNascimento: Nullable<TDateTime>;
FEspecie: Nullable<string>;
FRaca: Nullable<string>;
FSexo: TSexo;
[Column('Observacoes', [], 99999)]
FObservacoes: Nullable<string>;
public
property Id: integer read FId;
property Nome: string read FNome write FNome;
property DataNascimento: Nullable<TDateTime> read FDataNascimento write FDataNascimento;
property Proprietario: TCliente read FProprietario write FProprietario;
property Especie: Nullable<string> read FEspecie write FEspecie;
property Raca: Nullable<string> read FRaca write FRaca;
property Sexo: TSexo read FSexo write FSexo;
property Observacoes: Nullable<string> read FObservacoes write FObservacoes;
end;
[Enumeration(TEnumMappingType.emInteger, '1;2;3;4')]
TArea = (Loja, BanhoTosa, Veterinaria, HotelCreche);
[Entity, Automapping]
TProductCategory = class
private
FId: integer;
FName: string;
public
property Id: integer read FId write FId;
property Name: string read FName write FName;
end;
[Entity]
[AutoMapping]
[UniqueKey('PRODUCT_CODE')]
TProduto = class
private
FId: integer;
FDescricao: string;
FPrecoVenda: Currency;
FUnidadeMedida: Nullable<string>;
FCodigoEspecifico: Nullable<string>;
FArea: TArea;
FCodigoBarras: Nullable<string>;
FIntCusto: Currency;
FIntQtde: integer;
FProductCode: Nullable<Integer>;
FCategory: TProductCategory;
public
property Id: integer read FId;
property ProductCode: Nullable<Integer> read FProductCode write FProductCode;
property CodigoEspecifico: Nullable<string> read FCodigoEspecifico write FCodigoEspecifico;
property Descricao: string read FDescricao write FDescricao;
property UnidadeMedida: Nullable<string> read FUnidadeMedida write FUnidadeMedida;
property PrecoVenda: Currency read FPrecoVenda write FPrecoVenda;
property CodigoBarras: Nullable<string> read FCodigoBarras write FCodigoBarras;
property Area: TArea read FArea write FArea;
property Category: TProductCategory read FCategory write FCategory;
property IntCusto: Currency read FIntCusto write FIntCusto;
property IntQtde: integer read FIntQtde write FIntQtde;
end;
implementation
end.
|
unit DataSetTst;
interface
uses
TestFramework, DB, DataSetCls, DBClient;
type
TestIDataSet = class(TTestCase)
strict private
FDataSet: TClientDataSet;
FIDataSet: IDataSet;
function CriaDataSet: TClientDataSet;
public
procedure SetUp; override;
procedure TearDown; override;
published
procedure TestNext;
end;
implementation
uses
SysUtils;
function TestIDataSet.CriaDataSet: TClientDataSet;
begin
Result := TClientDataSet.Create(nil);
try
with Result do begin
with FieldDefs do begin
Add('COD_OPER', ftInteger);
Add('PRODUTO', ftString, 10);
end;
CreateDataSet;
InsertRecord([1, 'b']);
InsertRecord([2, 'b']);
InsertRecord([3, 'b']);
InsertRecord([4, 'b']);
InsertRecord([5, 'b']);
InsertRecord([6, 'a']);
end;
except
FreeAndNil(Result);
raise;
end;
end;
procedure TestIDataSet.SetUp;
begin
inherited;
FDataSet := CriaDataSet;
FIDataSet := Iterator(FDataSet);
end;
procedure TestIDataSet.TearDown;
begin
FreeAndNil(FDataSet);
FIDataSet := nil;
inherited;
end;
procedure TestIDataSet.TestNext;
var
i: Integer;
iobjDataSet: IDataSet;
begin
i := 1;
while FIDataSet.Next do begin
CheckEquals(i, FIDataSet.FieldByName('COD_OPER').AsInteger);
Inc(i);
end;
iobjDataSet := FIDataSet
.Where('COD_OPER > 3')
.GroupBy('PRODUTO')
.OrderBy('PRODUTO;COD_OPER')
.Select(['COD_OPER', 'PRODUTO']);
CheckEquals(3, iobjDataSet.RecordCount);
CheckEquals(6, iobjDataSet.FieldByName('COD_OPER').AsInteger);
CheckEquals('a', iobjDataSet.FieldByName('PRODUTO').AsString);
end;
initialization
RegisterTest(TestIDataSet.Suite);
end.
|
unit Rice.MongoFramework.ObjectConversion;
interface
uses
System.Classes,
MongoWire.bsonUtils,
MongoWire.bsonDoc,
REST.JSON;
type
TObjectToBson = class
public
class function Convert<T: class>(Obj: T): IBSONDocument;
end;
TJsonToObject = class
public
class function Convert(const Obj: string): TObject;
end;
TJsonToBson = class
public
class function Convert(const Obj: string): IBSONDocument;
end;
implementation
{ TObjectToBson }
class function TObjectToBson.Convert<T>(Obj: T): IBSONDocument;
begin
Result := JsonToBson(TJson.ObjectToJsonString(TObject(Obj)));
end;
{ TJsonToObject }
class function TJsonToObject.Convert(const Obj: string): TObject;
begin
Result := TJson.JsonToObject<TObject>((Obj))
end;
{ TJsonToBson }
class function TJsonToBson.Convert(const Obj: string): IBSONDocument;
begin
Result := JsonToBson(Obj);
end;
end.
|
program Math;
const
total_no = 5;
no1 = 45;
no2 = 7;
no3 = 68;
no4 = 2;
no5 = 34;
var
sum : integer;
avg : real;
begin
sum := no1 + no2 + no3 + no4 + no5;
avg := sum / 5;
writeln('Number of integers = ', total_no);
writeln('Number1 = ', no1);
writeln('Number2 = ', no2);
writeln('Number3 = ', no3);
writeln('Number4 = ', no4);
writeln('Number5 = ', no5);
writeln('Sum = ', sum);
writeln('Average = ', avg);
end.
|
{ String conversion to/from special logic analyzer CSV file fields.
}
module string_csvana;
define string_t_csvana_t1;
%include 'string2.ins.pas';
{
********************************************************************************
*
* Subroutine STRING_T_CSVANA_T1 (S, T, STAT)
*
* Convert a logic analyzer CSV file time string type 1 to a time value. The
* string format is:
*
* YYYY-MM-DDTHH:MM:SS.SSSSSSSSS+hh:mm
*
* For example:
*
* 2022-11-09T13:59:33.190233300+00:00
*
* The fields are:
*
* YYYY - Year.
*
* MM - 01 to 12 month.
*
* DD - 01 to 31 day.
*
* T - Literal "T".
*
* HH - Hour within day.
*
* MM - Minute within hour.
*
* SS.SSSSSSSSS - Seconds within minutes.
*
* hh:mm - Time zone offset in hours and minutes from coor univ time.
*
* Alternatively, the entire field can be a floating point value. If so, T is
* returned that value.
*
* Some flexibility in the length of the above fields is allowed. This routine
* was written to work with examples of this time format, without any specs.
* It is therefore unclear what variations from the examples are allowed.
*
* This format was found in CSV files produced by a particular logica analyzer.
* The make and model of this analyzer is unknown.
}
procedure string_t_csvana_t1 ( {interpret logic analyzer type 1 time format}
in s: univ string_var_arg_t; {input string, YYY-MM-DDTHH:MM:SS.SSS+hh:mm}
out t: sys_clock_t; {resulting absolute time}
out stat: sys_err_t); {completion status}
val_param;
var
p: string_index_t; {parse index}
tk: string_var32_t; {token parsed from input string}
d: sys_int_machine_t; {number of delimiter picked from list}
ii: sys_int_machine_t; {scratch integer}
r: double; {scratch floating point}
date: sys_date_t; {date/time descriptor}
label
have_date, err;
begin
tk.max := size_char(tk.str); {init local var string}
{
* Try interpreting whole field as a floating point value. If that works, T is
* returned the floating point value.
}
string_t_fp2 (s, r, stat); {try to interpret at floating point string}
if not sys_error(stat) then begin {was floating point string ?}
t := sys_clock_from_fp_abs (r); {make absolute time value}
return;
end;
{
* The input string is not just a floating point value.
}
p := 1; {init parse index into input string}
string_token_anyd ( {get year}
s, p, '-', 1, 0, [], tk, d, stat);
if sys_error(stat) then goto err;
string_t_int (tk, date.year, stat);
if sys_error(stat) then goto err;
string_token_anyd ( {get month}
s, p, '-', 1, 0, [], tk, d, stat);
if sys_error(stat) then goto err;
string_t_int (tk, ii, stat);
if sys_error(stat) then goto err;
date.month := ii - 1;
string_token_anyd ( {get day}
s, p, 'T', 1, 0, [], tk, d, stat);
if sys_error(stat) then goto err;
string_t_int (tk, ii, stat);
if sys_error(stat) then goto err;
date.day := ii - 1;
string_token_anyd ( {get hour}
s, p, ':', 1, 0, [], tk, d, stat);
if sys_error(stat) then goto err;
string_t_int (tk, date.hour, stat);
if sys_error(stat) then goto err;
string_token_anyd ( {get minute}
s, p, ':', 1, 0, [], tk, d, stat);
if sys_error(stat) then goto err;
string_t_int (tk, date.minute, stat);
if sys_error(stat) then goto err;
string_token_anyd ( {get seconds}
s, p, '+', 1, 0, [], tk, d, stat);
if sys_error(stat) then goto err;
string_t_fp2 (tk, r, stat);
if sys_error(stat) then goto err;
date.second := trunc(r);
date.sec_frac := r - date.second;
date.hours_west := 0.0; {init to default time zone data}
date.tzone_id := sys_tzone_other_k;
date.daysave := sys_daysave_no_k;
date.daysave_on := false;
string_token_anyd ( {get timezone hours offset}
s, p, ':', 1, 0, [], tk, d, stat);
if string_eos(stat) then goto have_date;
if sys_error(stat) then goto err;
string_t_fpm (tk, date.hours_west, stat);
if sys_error(stat) then goto err;
string_token (s, p, tk, stat); {get timezone additional minutes offset}
if string_eos(stat) then goto have_date;
if sys_error(stat) then goto err;
string_t_fp2 (tk, r, stat);
if sys_error(stat) then goto err;
date.hours_west := date.hours_west + (r / 60.0);
string_token (s, p, tk, stat); {no more tokens allowed in input string}
if string_eos(stat) then goto have_date;
if sys_error(stat) then goto err;
have_date: {DATE is all filled in}
t := sys_clock_from_date (date); {make absolute time from date/time}
return; {normal return point, no error}
err: {error interpreting logic analyzer date string}
sys_stat_set (string_subsys_k, string_stat_bad_csvana_t1_k, stat);
sys_stat_parm_vstr (s, stat);
end;
|
unit TBGDBExpressDriver.Model.Conexao;
interface
uses
TBGConnection.Model.Interfaces, System.Classes,
Data.SqlExpr, Data.DB, Data.DBXCommon,
TBGConnection.Model.DataSet.Interfaces;
Type
TDBExpressDriverModelConexao = class(TInterfacedObject, iConexao)
private
FConnection : TSQLConnection;
FTrans: TDBXTransaction;
FDriver : iDriver;
public
constructor Create(Connection : TSQLConnection; LimitCacheRegister : Integer; Driver : iDriver);
destructor Destroy; override;
class function New(Connection : TSQLConnection; LimitCacheRegister : Integer; Driver : iDriver) : iConexao;
//iConexao
function Conectar : iConexao;
function &End: TComponent;
function Connection : TCustomConnection;
function StartTransaction : iConexao;
function RollbackTransaction : iConexao;
function Commit : iConexao;
end;
implementation
uses
System.SysUtils, TBGConnection.Model.DataSet.Proxy;
{ TDBExpressDriverModelConexao }
function TDBExpressDriverModelConexao.Commit: iConexao;
begin
Result := Self;
FConnection.CommitFreeAndNil(FTrans);
end;
function TDBExpressDriverModelConexao.Conectar: iConexao;
begin
Result := Self;
FConnection.Connected := true;
end;
function TDBExpressDriverModelConexao.&End: TComponent;
begin
Result := FConnection;
end;
function TDBExpressDriverModelConexao.Connection: TCustomConnection;
begin
Result := FConnection;
end;
constructor TDBExpressDriverModelConexao.Create(Connection : TSQLConnection; LimitCacheRegister : Integer; Driver : iDriver);
begin
FConnection := Connection;
FDriver := Driver;
end;
destructor TDBExpressDriverModelConexao.Destroy;
begin
inherited;
end;
class function TDBExpressDriverModelConexao.New(Connection : TSQLConnection; LimitCacheRegister : Integer; Driver : iDriver) : iConexao;
begin
Result := Self.Create(Connection, LimitCacheRegister, Driver);
end;
function TDBExpressDriverModelConexao.RollbackTransaction: iConexao;
begin
Result := Self;
FConnection.RollbackFreeAndNil(FTrans);
end;
function TDBExpressDriverModelConexao.StartTransaction: iConexao;
begin
Result := Self;
FTrans := FConnection.BeginTransaction;
end;
end.
|
{ Subroutine STRING_ALLOC (LEN, MEM, IND, STR_P)
*
* Allocate memory for a new var string. LEN is the length of the new var
* string in characters. MEM is the handle to the parent memory context.
* When IND is true, then the string will be allocated in such a way that
* it can be individually deallocated. Otherwise, it may only be possible
* to deallocate the string when the whole memory context is deallocated.
* STR_P is the returned pointer to the start of the new var string.
* The MAX field will be set to LEN, and the LEN field will be set to 0.
}
module string_ALLOC;
define string_alloc;
%include 'string2.ins.pas';
procedure string_alloc ( {allocate a string given its size in chars}
in len: string_index_t; {number of characters needed in the string}
in out mem: util_mem_context_t; {memory context to allocate string under}
in ind: boolean; {TRUE if need to individually dealloc string}
out str_p: univ_ptr); {pointer to var string. MAX, LEN filled in}
val_param;
var
vstr_p: string_var_p_t; {pointer to new string}
begin
util_mem_grab ( {allocate memory for new var string}
string_size(len), {amount of memory needed for this string}
mem, {context under which to allocate memory}
ind, {TRUE if need to individually deallocate str}
vstr_p); {returned pointer to the new string}
vstr_p^.max := len; {init new var string}
vstr_p^.len := 0;
str_p := vstr_p; {pass back pointer to new string}
end;
|
unit ADU_200_Comp;
interface
uses
Windows, SysUtils, Classes, Dialogs;
const
ADU_LIB_C = 'aduhid.dll';
ADU_TIMEOUT_C = 1000; {Milliseconds}
ADU_NULL_HANDLE_C = 0;
PROC_CLOSE_C = 'CloseAduDevice';
PROC_OPEN_C = 'OpenAduDevice';
PROC_READ_C = 'ReadAduDevice';
PROC_WRITE_C = 'WriteAduDevice';
type
TRelayState = 0..1;
TIntPtr = ^LongInt;
TCloseAduDevice = function(aduHandle: integer) : integer; stdcall;
TOpenAduDevice = function(iTimeout: integer) : integer; stdcall;
TReadAduDevice = function(aduHandle: integer;
buffer: PChar;
NumberOfBytesToRead: integer;
BytesRead: TIntPtr;
Timeout: integer) : integer; stdcall;
TWriteAduDevice = function(aduHandle: integer;
Command: PChar;
NumberOfBytesToWrite: integer;
BytesWritten: TIntPtr;
Timeout: integer) : integer; stdcall;
TADU200 = class(TComponent)
private
Proc_Close: TCloseAduDevice;
Proc_Open: TOpenAduDevice;
Proc_Read: TReadAduDevice;
Proc_Write: TWriteAduDevice;
FByteCount: Integer;
FCmdPtr: array [0..7] of char;
FErrorCmd: String;
FErrorNum: Integer;
FHndl: THandle;
FLibHndl: THandle;
FRelays: array [0..7] of char;
protected
function Get_Bank : String;
function Get_ErrorText : String;
function Get_Relay01 : TRelayState;
function Get_Relay02 : TRelayState;
function Get_Relay03 : TRelayState;
function Get_Relay04 : TRelayState;
function Get_Relay05 : TRelayState;
function Get_Relay06 : TRelayState;
function Get_Relay07 : TRelayState;
function Get_Relay08 : TRelayState;
function Read : boolean;
function Read_Relays : boolean;
function Get_Input0 : integer;
function Get_Input1 : integer;
function Get_Input2 : integer;
function Get_Input3 : integer;
function Get_StatusInput0 : boolean;
function Get_StatusInput1 : boolean;
function Get_StatusInput2 : boolean;
function Get_StatusInput3 : boolean;
procedure Set_Bank(Value: String);
procedure Set_Relay01(Value: TRelayState);
procedure Set_Relay02(Value: TRelayState);
procedure Set_Relay03(Value: TRelayState);
procedure Set_Relay04(Value: TRelayState);
procedure Set_Relay05(Value: TRelayState);
procedure Set_Relay06(Value: TRelayState);
procedure Set_Relay07(Value: TRelayState);
procedure Set_Relay08(Value: TRelayState);
function Write(cmd: string) : boolean;
public
property Bank : String read Get_Bank write Set_Bank;
property ByteCount: Integer read FByteCount;
property ErrorCmd: String read FErrorCmd;
property ErrorNum: Integer read FErrorNum;
property ErrorText: String read Get_ErrorText;
property Relay01 : TRelayState read Get_Relay01 write Set_Relay01;
property Relay02 : TRelayState read Get_Relay02 write Set_Relay02;
property Relay03 : TRelayState read Get_Relay03 write Set_Relay03;
property Relay04 : TRelayState read Get_Relay04 write Set_Relay04;
property Relay05 : TRelayState read Get_Relay05 write Set_Relay05;
property Relay06 : TRelayState read Get_Relay06 write Set_Relay06;
property Relay07 : TRelayState read Get_Relay07 write Set_Relay07;
property Relay08 : TRelayState read Get_Relay08 write Set_Relay08;
property Input0 : integer read Get_Input0;
property Input1 : integer read Get_Input1;
property Input2 : integer read Get_Input2;
property Input3 : integer read Get_Input3;
property StatusInput0 : boolean read Get_StatusInput0;
property StatusInput1 : boolean read Get_StatusInput1;
property StatusInput2 : boolean read Get_StatusInput2;
property StatusInput3 : boolean read Get_StatusInput3;
procedure Close;
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
function Open(time_out: integer = 1000) : boolean;
procedure Toggle_Relay(Value: TRelayState; Relay_No: Integer);
end;
implementation
function TADU200.Read : boolean;
var
status: integer;
begin
Try
if FHndl = ADU_NULL_HANDLE_C then
Open;
status := Proc_Read(FHndl, FRelays, length(FRelays), @FByteCount, ADU_TIMEOUT_C);
Except
on E:Exception Do
begin
MessageDlg('Read Error: ' + E.Message, mtWarning, [mbOk], 0);
status := 0;
end;
End;
result := (status = 1);
if not result then
begin
FErrorCmd := 'Read';
FErrorNum := GetLastError;
MessageDlg(ErrorText, mtError, [mbOk], 0);
Exit;
end;
end;
function TADU200.Write(cmd: string) : boolean;
var
status: integer;
begin
Try
if FHndl = ADU_NULL_HANDLE_C then
Open;
StrPCopy(FCmdPtr, cmd);
status := Proc_Write(FHndl, FCmdPtr, length(FCmdPtr), @FByteCount, ADU_TIMEOUT_C);
Except
status := 0;
End;
result := (status = 1);
if not result then
begin
FErrorCmd := 'Write: "' + cmd + '"';
FErrorNum := GetLastError;
end;
end;
procedure TADU200.Toggle_Relay(Value: TRelayState; Relay_No: Integer);
var
Pre: String;
begin
if Value = 0 then
Pre := 'RK'
else
Pre := 'SK';
Write(Pre + IntToStr(Relay_No));
end;
procedure TADU200.Close;
begin
if FHndl <> ADU_NULL_HANDLE_C then
begin
Proc_Close(FHndl);
FHndl := 0;
end;
end;
function TADU200.open(time_out: integer = 1000) : boolean;
begin
result := False;
@Proc_Close := GetProcAddress(FLibHndl, PROC_CLOSE_C);
if @Proc_Close = nil then
begin
FErrorCmd := 'Close: ' + PROC_CLOSE_C;
FErrorNum := GetLastError;
Exit;
end;
@Proc_Read := GetProcAddress(FLibHndl, PROC_READ_C);
if @Proc_Read = nil then
begin
FErrorCmd := 'Read: ' + PROC_READ_C;
FErrorNum := GetLastError;
Exit;
end;
@Proc_Write := GetProcAddress(FLibHndl, PROC_WRITE_C);
if @Proc_Write = nil then
begin
FErrorCmd := 'Write: ' + PROC_WRITE_C;
FErrorNum := GetLastError;
Exit;
end;
@Proc_Open := GetProcAddress(FLibHndl, PROC_OPEN_C);
if @Proc_Open = nil then
begin
FErrorCmd := 'Open: ' + PROC_OPEN_C;
FErrorNum := GetLastError;
Exit;
end;
FErrorNum := 0;
FHndl := Proc_Open(time_out);
if (FHndl = 0) then
begin
FErrorCmd := 'Open';
FErrorNum := GetLastError;
Exit;
end;
Relay01 := 0;
Relay02 := 0;
Relay03 := 0;
Relay04 := 0;
Relay05 := 0;
Relay06 := 0;
Relay07 := 0;
Relay08 := 0;
result := true;
end;
procedure TADU200.Set_Bank(Value: String);
begin
Try
Value := format('%8.8d', [StrToInt(Value)]);
Except
On E:Exception Do
begin
MessageDlg('Invalid Bank Value: "' + Value + '"' + #13#13 + E.Message, mtError, [mbOk], 0);
Exit;
End;
End;
Try
Relay08 := StrToInt(Copy(Value, 1, 1));
Except
End;
Try
Relay07 := StrToInt(Copy(Value, 2, 1));
Except
End;
Try
Relay06 := StrToInt(Copy(Value, 3, 1));
Except
End;
Try
Relay05 := StrToInt(Copy(Value, 4, 1));
Except
End;
Try
Relay04 := StrToInt(Copy(Value, 5, 1));
Except
End;
Try
Relay03 := StrToInt(Copy(Value, 6, 1));
Except
End;
Try
Relay02 := StrToInt(Copy(Value, 7, 1));
Except
End;
Try
Relay01 := StrToInt(Copy(Value, 8, 1));
Except
End;
end;
function TADU200.Get_Bank : String;
begin
Read_Relays;
result := FRelays;
end;
procedure TADU200.Set_Relay01(Value: TRelayState);
begin
Toggle_Relay(Value, 0);
end;
procedure TADU200.Set_Relay02(Value: TRelayState);
begin
Toggle_Relay(Value, 1);
end;
procedure TADU200.Set_Relay03(Value: TRelayState);
begin
Toggle_Relay(Value, 2);
end;
procedure TADU200.Set_Relay04(Value: TRelayState);
begin
Toggle_Relay(Value, 3);
end;
procedure TADU200.Set_Relay05(Value: TRelayState);
begin
Toggle_Relay(Value, 4);
end;
procedure TADU200.Set_Relay06(Value: TRelayState);
begin
Toggle_Relay(Value, 5);
end;
procedure TADU200.Set_Relay07(Value: TRelayState);
begin
Toggle_Relay(Value, 6);
end;
procedure TADU200.Set_Relay08(Value: TRelayState);
begin
Toggle_Relay(Value, 7);
end;
function TADU200.Get_Relay01 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[0]);
end;
function TADU200.Get_Relay02 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[1]);
end;
function TADU200.Get_Relay03 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[2]);
end;
function TADU200.Get_Relay04 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[3]);
end;
function TADU200.Get_Relay05: TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[4]);
end;
function TADU200.Get_Relay06 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[5]);
end;
function TADU200.Get_Relay07 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[6]);
end;
function TADU200.Get_Relay08 : TRelayState;
begin
Read_Relays;
result := StrToInt(FRelays[7]);
end;
function TADU200.Get_StatusInput0 : boolean;
begin
Write('RPA0');
Read;
if fRelays[0] = '1' then
result:=TRUE
else
result:=FALSE;
end;
function TADU200.Get_StatusInput1 : boolean;
begin
Write('RPA1');
Read;
if fRelays[0] = '1' then
result:=TRUE
else
result:=FALSE;
end;
function TADU200.Get_StatusInput2 : boolean;
begin
Write('RPA2');
Read;
if fRelays[0] = '1' then
result:=TRUE
else
result:=FALSE;
end;
function TADU200.Get_StatusInput3 : boolean;
begin
Write('RPA3');
Read;
if fRelays[0] = '1' then
result:=TRUE
else
result:=FALSE;
end;
function TADU200.Get_Input0 : integer;
begin
Write('RE0');
Read;
if not tryStrToInt(fRelays,result) then
result:=-1;
end;
function TADU200.Get_Input1 : integer;
begin
Write('RE01');
Read;
if not tryStrToInt(fRelays,result) then
result:=-1;
end;
function TADU200.Get_Input2 : integer;
begin
Write('RE2');
Read;
if not tryStrToInt(fRelays,result) then
result:=-1;
end;
function TADU200.Get_Input3 : integer;
begin
Write('RE3');
Read;
if not tryStrToInt(fRelays,result) then
result:=-1;
end;
function TADU200.Read_Relays : boolean;
begin
result := False;
fillchar(FRelays, Length(FRelays), -1);
if not Write('rpk') then
exit;
result := Read;
end;
destructor TADU200.Destroy;
begin
Close;
FreeLibrary(FLibHndl);
inherited Destroy;
end;
constructor TADU200.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
FHndl := 0;
FLibHndl := LoadLibrary(ADU_LIB_C);
end;
function TADU200.Get_ErrorText : String;
begin
result := format('%s, error=%d, msg=%s', [ErrorCmd, ErrorNum, SysErrorMessage(ErrorNum)]);
end;
end.
|
unit URepositorioUsuario;
interface
uses
UUsuario
, UEntidade
, URepositorioDB
, SqlExpr
, URepositorioPapelPermissao
;
type
TRepositorioUsuario = class (TRepositorioDB<TUSUARIO>)
private
RepositorioPapelPermissao: TRepositorioPapelPermissao;
public
constructor Create;
destructor Destroy; override;
procedure AtribuiDBParaEntidade (const coUSUARIO: TUSUARIO); override;
procedure AtribuiEntidadeParaDB (const coUSUARIO: TUSUARIO;
const coSQLQuery: TSQLQuery); override;
function RetornaPeloLogin(const csLogin: String): TUSUARIO;
end;
implementation
uses
UDM
, UUtilitarios
, SysUtils
;
const
CNT_SELECT_PELO_LOGIN = 'select * from usuario where login = :login';
{TRepositorioUsuario}
constructor TRepositorioUsuario.Create;
begin
inherited Create (TUSUARIO, TBL_USUARIO, FLD_ENTIDADE_ID, STR_USUARIO);
RepositorioPapelPermissao := TRepositorioPapelPermissao.Create;
end;
destructor TRepositorioUsuario.Destroy;
begin
FreeAndNil(RepositorioPapelPermissao);
inherited;
end;
function TRepositorioUsuario.RetornaPeloLogin(const csLogin: String): TUSUARIO;
begin
FSQLSelect.Close;
FSQLSelect.CommandText := CNT_SELECT_PELO_LOGIN;
FSQLSelect.Prepared := True;
FSQLSelect.ParamByName(FLD_USUARIO_LOGIN).AsString := csLogin;
FSQLSelect.Open;
Result := nil;
if not FSQLSelect.Eof then
begin
Result := TUSUARIO.Create;
AtribuiDBParaEntidade(Result);
end;
end;
procedure TRepositorioUsuario.AtribuiDBParaEntidade(const coUsuario: TUSUARIO);
var
PermissaoUsuario: TPermissaoUsuario;
begin
inherited;
with FSQLSelect do
begin
coUSUARIO.LOGIN := FieldByName(FLD_USUARIO_LOGIN).AsString;
coUSUARIO.NOME := FieldByName(FLD_USUARIO_NOME).AsString;
coUSUARIO.SENHA := FieldByName(FLD_USUARIO_SENHA).AsString;
coUSUARIO.PAPEL := TPapelUsuario(FieldByName(FLD_USUARIO_ID_PAPEL).AsInteger);
coUSUARIO.DESCRICAO_SERVICO := FieldByName(FLD_USUARIO_DESCRICAO_SERVICO).AsString;
for PermissaoUsuario in RepositorioPapelPermissao.RetornaPermissoes(coUSUARIO.PAPEL) do
coUSUARIO.PERMISSOES := coUSUARIO.PERMISSOES + [PermissaoUsuario];
end;
end;
procedure TRepositorioUsuario.AtribuiEntidadeParaDB (
const coUsuario: TUSUARIO; const coSQLQuery: TSQLQuery);
begin
inherited;
with coSQLQuery do
begin
ParamByName(FLD_USUARIO_LOGIN).AsString := coUSUARIO.LOGIN;
ParamByName(FLD_USUARIO_NOME).AsString := coUSUARIO.NOME;
ParamByName(FLD_USUARIO_SENHA).AsString := coUSUARIO.SENHA;
ParamByName(FLD_USUARIO_ID_PAPEL).AsInteger := Integer(coUSUARIO.PAPEL);
ParamByName(FLD_USUARIO_DESCRICAO_SERVICO).AsString := coUSUARIO.DESCRICAO_SERVICO;
end;
end;
end.
|
unit fMain;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Menus, ActnList, System.Actions;
type
TfmMain = class(TForm)
MainMenu1: TMainMenu;
ActionList1: TActionList;
acClientes: TAction;
acProdutos: TAction;
acAnimais: TAction;
Cadastros1: TMenuItem;
Animais1: TMenuItem;
Clientes1: TMenuItem;
Produtos1: TMenuItem;
Button2: TButton;
Button3: TButton;
Button4: TButton;
acVenda: TAction;
Button5: TButton;
Operao1: TMenuItem;
RegistrarVenda1: TMenuItem;
acCompra: TAction;
acFornecedores: TAction;
Fornecedores1: TMenuItem;
acUpdateDatabase: TAction;
UpdateDatabase1: TMenuItem;
N1: TMenuItem;
acOpenRegister: TAction;
acCloseRegister: TAction;
Ferramentas1: TMenuItem;
AbrirCaixa1: TMenuItem;
FecharCaixa1: TMenuItem;
acDefaultPaymentTypes: TAction;
Fornecedores2: TMenuItem;
Button1: TButton;
Button6: TButton;
Gerncia1: TMenuItem;
Ferramentas2: TMenuItem;
acWebUpdate: TAction;
AtualizaodoSoftware1: TMenuItem;
acAbout: TAction;
Sobre1: TMenuItem;
Button7: TButton;
acRegisterLog: TAction;
Consultas1: TMenuItem;
HistricoCaixas1: TMenuItem;
Button8: TButton;
acViewSales: TAction;
Button9: TButton;
HistricoVendas1: TMenuItem;
acAppointments: TAction;
acReceivable: TAction;
ContasaReceber1: TMenuItem;
acSummary: TAction;
N2: TMenuItem;
ResumoGerencial1: TMenuItem;
acDefaultProductCategories: TAction;
Criacategoriesdeprodutosdefault1: TMenuItem;
procedure acClientesExecute(Sender: TObject);
procedure acProdutosExecute(Sender: TObject);
procedure acAnimaisExecute(Sender: TObject);
procedure acVendaExecute(Sender: TObject);
procedure acCompraExecute(Sender: TObject);
procedure acFornecedoresExecute(Sender: TObject);
procedure Button1Click(Sender: TObject);
procedure acUpdateDatabaseExecute(Sender: TObject);
procedure acOpenRegisterExecute(Sender: TObject);
procedure acDefaultPaymentTypesExecute(Sender: TObject);
procedure acCloseRegisterExecute(Sender: TObject);
procedure acWebUpdateExecute(Sender: TObject);
procedure acAboutExecute(Sender: TObject);
procedure acRegisterLogExecute(Sender: TObject);
procedure acViewSalesExecute(Sender: TObject);
procedure acAppointmentsExecute(Sender: TObject);
procedure acReceivableExecute(Sender: TObject);
procedure acSummaryExecute(Sender: TObject);
procedure acDefaultProductCategoriesExecute(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
fmMain: TfmMain;
implementation
uses
fEscolheProduto, dWebUpdate, fViewSales, uAppointments, fReceivables, uReceivables,
Aurelius.Engine.DatabaseManager,
Aurelius.Criteria.Linq, Aurelius.Criteria.Base, Entidades.Cadastro,
fAppointment, fSummary,
Entidades.Comercial,
Aurelius.Engine.ObjectManager,
uGlobal,
fImportaProdutos,
fImportaClientes,
dConnection,
fVenda,
fCompra,
fListaCliente,
fListaFornecedor,
fListaProduto,
fListaAnimal,
fCloseRegister,
fCliente,
uPointOfSale;
{$R *.dfm}
procedure TfmMain.acAboutExecute(Sender: TObject);
begin
ShowMessage('Versão: ' + AlfaPetVersion);
end;
procedure TfmMain.acAnimaisExecute(Sender: TObject);
begin
TfmAnimais.Mostra;
end;
procedure TfmMain.acAppointmentsExecute(Sender: TObject);
begin
TfmAppointments.Start(TAppointmentModel.Create(dmConnection.CreateManager, true));
end;
procedure TfmMain.acClientesExecute(Sender: TObject);
begin
TfmClientes.Mostra;
end;
procedure TfmMain.acCloseRegisterExecute(Sender: TObject);
var
POS: IPointOfSale;
begin
POS := CreatePointOfSale;
if POS.IsRegisterOpen then
begin
TfmCloseRegister.Start(POS, false);
end
else
ShowMessage('Caixa não está aberto');
end;
procedure TfmMain.acCompraExecute(Sender: TObject);
begin
with TfmCompra.Create(Application) do
try
ShowModal;
finally
Free;
end;
end;
procedure TfmMain.acFornecedoresExecute(Sender: TObject);
begin
TfmFornecedores.Mostra;
end;
procedure TfmMain.acOpenRegisterExecute(Sender: TObject);
var
POS: IPointOfSale;
InitialValueStr: string;
begin
POS := CreatePointOfSale;
if POS.IsRegisterOpen then
ShowMessage('O caixa já está aberto')
else
begin
if InputQuery('Abertura de caixa', 'Digite o saldo inicial em caixa: ', InitialValueStr) then
begin
POS.OpenRegister(StrToCurr(InitialValueStr));
ShowMessage('Caixa aberto');
end;
end;
end;
procedure TfmMain.acDefaultPaymentTypesExecute(Sender: TObject);
var
M: TObjectManager;
P: TPaymentType;
begin
CheckAdmin;
M := dmConnection.CreateManager;
try
P := M.Find<TPaymentType>(1);
if P = nil then
begin
P := TPaymentType.Create;
P.Name := 'Dinheiro';
P.Mode := TPaymentMode.Cash;
P.DaysToReceive := 0;
M.Save(P);
end;
P := M.Find<TPaymentType>(2);
if P = nil then
begin
P := TPaymentType.Create;
P.Name := 'Visa Débito';
P.Mode := TPaymentMode.Card;
P.DaysToReceive := 2;
M.Save(P);
end else
P.Name := 'Visa Débito';
P := M.Find<TPaymentType>(3);
if P = nil then
begin
P := TPaymentType.Create;
P.Name := 'Visa Crédito';
P.Mode := TPaymentMode.Card;
P.DaysToReceive := 30;
M.Save(P);
end
else
P.Name := 'Visa Crédito';
P := M.Find<TPaymentType>(4);
if P = nil then
begin
P := TPaymentType.Create;
P.Name := 'Mastercard Débito';
P.Mode := TPaymentMode.Card;
P.DaysToReceive := 2;
M.Save(P);
end;
P := M.Find<TPaymentType>(5);
if P = nil then
begin
P := TPaymentType.Create;
P.Name := 'Mastercad Crédito';
P.Mode := TPaymentMode.Card;
P.DaysToReceive := 30;
M.Save(P);
end;
P := M.Find<TPaymentType>(6);
if P = nil then
begin
P := TPaymentType.Create;
P.Name := 'Fiado';
P.Mode := TPaymentMode.PayLater;
P.DaysToReceive := 0;
M.Save(P);
end;
M.Flush;
ShowMessage('Tipos de pagamento incluídos.');
finally
M.Free;
end;
end;
procedure TfmMain.acDefaultProductCategoriesExecute(Sender: TObject);
var
M: TObjectManager;
procedure CreateCategory(const Name: string);
var
C: TProductCategory;
begin
C := M.Find<TProductCategory>.Where(TLinq.Eq('Name', Name)).UniqueResult;
if C = nil then
begin
C := TProductCategory.Create;
C.Name := Name;
M.Save(C);
end;
end;
begin
CheckAdmin;
M := dmConnection.CreateManager;
try
CreateCategory('Ração');
CreateCategory('Tosa');
CreateCategory('Banho');
CreateCategory('Vacina');
CreateCategory('Consulta');
CreateCategory('Cirurgia');
CreateCategory('Brinquedo');
CreateCategory('Roupa');
CreateCategory('Petisco');
CreateCategory('Hospedagem');
CreateCategory('Creche');
CreateCategory('Hidratação');
CreateCategory('Coleira');
CreateCategory('Higiene');
CreateCategory('Vermífugo');
CreateCategory('Anti-pulga');
CreateCategory('Medicamento');
CreateCategory('Suprimento');
CreateCategory('Outros');
ShowMessage('Categorias de produto incluídaos.');
finally
M.Free;
end;
end;
procedure TfmMain.acProdutosExecute(Sender: TObject);
begin
TfmProdutos.Mostra;
end;
procedure TfmMain.acReceivableExecute(Sender: TObject);
begin
TfmReceivables.Start(TReceivables.Create(dmConnection.CreateManager, true));
end;
procedure TfmMain.acRegisterLogExecute(Sender: TObject);
var
POS: IPointOfSale;
begin
POS := CreatePointOfSale;
TfmCloseRegister.Start(POS, true);
end;
procedure TfmMain.acSummaryExecute(Sender: TObject);
begin
TfmSummary.Start;
end;
procedure TfmMain.acUpdateDatabaseExecute(Sender: TObject);
var
DB: TDatabaseManager;
begin
CheckAdmin;
DB := TDatabaseManager.Create(dmConnection.Connection);
try
DB.UpdateDatabase;
finally
DB.Free;
end;
ShowMessage('Estrutura do banco atualizada')
end;
procedure TfmMain.acVendaExecute(Sender: TObject);
begin
if CreatePointOfSale.IsRegisterOpen then
begin
with TfmVenda.Create(Application) do
try
ShowModal;
finally
Free;
end;
end else
begin
ShowMessage('Caixa não foi aberto.');
end;
end;
procedure TfmMain.acViewSalesExecute(Sender: TObject);
var
Form: TfmViewSales;
begin
Form := TfmViewSales.Create(Application);
try
Form.ShowModal;
finally
Form.Free;
end;
end;
procedure TfmMain.acWebUpdateExecute(Sender: TObject);
begin
dmWebUpdate.ExecuteWizard;
end;
procedure TfmMain.Button1Click(Sender: TObject);
begin
with TfmImportaProdutos.Create(Application) do
try
ShowModal;
finally
Free;
end;
// with TfmImportaClientes.Create(Application) do
// try
// ShowModal;
// finally
// Free;
// end;
end;
end.
|
unit main_class;
interface
uses Classes, sysutils, syncobjs, ExtCtrls, IniFiles, StdCtrls, DateUtils,
city_class, math, parserxml;
type TMeteonova = class
CriticalSection: TCriticalSection;
public
deltaFrcUpdate: byte;
threadList: TList;
constructor Create();
destructor Free;
procedure ThreadsDoneFrc(Sender: TObject);
procedure ThreadsDoneNews(Sender: TObject);
procedure ThreadsDoneCountries(Sender: TObject);
procedure ThreadsDoneDistricts(Sender: TObject);
procedure ThreadsDoneCities(Sender: TObject);
procedure ThreadsDoneSearchFChar(Sender: TObject);
procedure ThreadsDoneVersions(Sender: TObject);
procedure getFrc(Sender: TObject);
procedure getNews(Sender: Tobject);
procedure getNewTrayVersion(Sender: Tobject);
procedure setCitiesList;
procedure setCity;
procedure initLog();
procedure writeLog(str: string);
function isFrcUpdate: boolean;
end;
var F: TextFile;
const NewsTimeOut: integer = 60000*60;
const frcURL: string = 'http://www.meteonova.ru/xml';
const countryURL: string = 'http://gen1.meteonova.ru/cgi-bin/mnovaSearch2.dll?searchby=countries&id=1&type=xml';
const regionURL: string = 'http://gen1.meteonova.ru/cgi-bin/mnovaSearch2.dll?searchby=regions&id=1&type=xml';
const cityURL: string = 'http://gen1.meteonova.ru/cgi-bin/mnovaSearch2.dll?searchby=cities&id=1&type=xml';
const searchURL: string = 'http://gen1.meteonova.ru/cgi-bin/mnovaSearch2.dll?lang=ru&searchby=cities&id=1&mcntcities=6';
const unRealTemper: integer = -10000;
const iniFile: string = 'meteonova.ini';
implementation
uses Main, Thread, Options, news_class, selector_class, version_class, utils;
constructor TMeteonova.Create;
begin
CriticalSection := TCriticalSection.Create;
deltaFrcUpdate := RandomRange(1, 15);
threadList := TList.Create;
//initLog();
end;
procedure TMeteonova.getFrc(Sender: Tobject);
begin
if (isFrcUpdate) then
begin
Form1.Timer1.Enabled := false;
Form1.Timer1.Interval := Form1.Timer1.Interval*2;
if (Form1.Timer1.Interval > 24000) then Form1.Timer1.Interval := 3000;
//writeLog('getFrc '+intToStr(Form1.Timer1.Interval));
Form1.VisibleFrc(false);
if Form1.Showing then
begin
Form1.setTrayIconHint('Meteonova - прогноз погоды голосом');
Form1.setTrayPictIcon(1,0);
end;
MyThreadCreate(Cities, 0, 0, '', 0, Cities.getId, form1.Handle);
end
else ThreadsDoneFrc(nil);
end;
function TMeteonova.isFrcUpdate(): boolean;
var cityData: TCityData;
hour, min, lastHourUpdate: byte;
i: integer;
const hours: array [0..7] of integer = (1,4,7,10,13,16,19,22);
begin
Result := false;
cityData := Cities.getCityDataById(Cities.getId);
if (cityData.timeUpdate = 0) then
begin
Result := true;
exit;
end;
hour := strToIntDef(FormatDateTime('h', LocalTimeToUTC(now)), 1);
min := strToIntDef(FormatDateTime('n', LocalTimeToUTC(now)), 1);
lastHourUpdate := strToIntDef(FormatDateTime('h', LocalTimeToUTC(cityData.timeUpdate)), 1);
if HoursBetween(LocalTimeToUTC(now), LocalTimeToUTC(cityData.timeUpdate))>3 then
begin
Result:= true;
exit;
end;
for i:=0 to length(hours)-1 do
begin
if (hour = hours[i]) and (deltaFrcUpdate = min) and (lastHourUpdate <> hour) then
Result := true;
end;
end;
procedure TMeteonova.getNews(Sender: Tobject);
begin
if (news.timeUpdate = 0) or (incSecond(news.timeUpdate, NewsTimeOut div 1000)<Now) then
begin
Form1.Timer3.Interval := Form1.Timer3.Interval*2;
if (Form1.Timer3.Interval > 96000) then Form1.Timer3.Interval := 3000;
//writeLog('getNews '+intToStr(Form1.Timer3.Interval));
MyThreadCreate(news, 0, 0, '', 4, 0, form1.Handle);
end
else ThreadsDoneNews(nil);
end;
procedure TMeteonova.getNewTrayVersion(Sender: Tobject);
begin
MyThreadCreate(Version, 0, 0, '', 5, 0, form1.Handle);
end;
procedure TMeteonova.setCitiesList;
var i : integer;
itemName: string;
s: TStringList;
begin
Form1.CitiesList.Clear;
s := Cities.citiesList;
for i:=0 to s.Count - 1 do
begin
itemName := getTownName(TCityData(s.Objects[i]).name);
form1.CitiesList.Items.AddObject(itemName, s.Objects[i]);
if TCityData(s.Objects[i]).id = Cities.id then form1.CitiesList.ItemIndex := i;
end;
if s.Count = 1 then form1.CitiesList.Visible := false
else form1.CitiesList.Visible := true;
end;
procedure TMeteonova.setCity;
var str, cityname: string;
id: integer;
begin
id := Selector.getId(form1.CitiesList);
try
Form1.ShockwaveFlash1.SetVariable('city', '0');
Form1.ShockwaveFlash1.FrameLoaded(0);
Form1.ShockwaveFlash1.SetVariable('city', intToStr(id));
except
Form1.Label40.Visible := false;
end;
Cities.setId(id);
cityname := getTownName(Selector.getName(form1.CitiesList));
str := cityname;
Form1.Label38.Caption := str;
if Form1.CitiesList.Visible = false then
begin
Form1.City.Caption := str;
Form1.City.Width := 384;
exit;
end;
Form1.City.Width := 228;
if Form1.Label38.Width>228 then
while Form1.Label38.Width>228 do
begin
str := Copy(str, 1, length(str)-1);
Form1.Label38.Caption := str;
end;
if str <> cityname then str := Copy(str, 1, length(str)-3)+'...';
Form1.City.Caption := str;
end;
destructor TMeteonova.Free;
var i: integer;
begin
for i := ThreadList.Count - 1 downto 0 do
try
TThread(ThreadList[i]).Terminate; // terminate thread
TThread(ThreadList[i]).WaitFor; // make sure thread terminates
finally
TThread(ThreadList[i]).Free;
end;
ThreadList.Free;
FreeAndNil(CriticalSection);
end;
procedure TMeteonova.ThreadsDoneFrc;
var cityData: TCityData;
begin
Form1.Timer1.Enabled := true;
cityData := Cities.getCityDataById(Cities.id);
Form1.displayTrayIcon(cityData);
if form1.Showing then
begin
Form1.VisibleFrc(true);
Form1.displayFRC(cityData);
end;
end;
procedure TMeteonova.ThreadsDoneNews;
begin
Form1.Timer3.Enabled := true;
if news.itemNews.description <> '' then
begin
if (Form1.Showing) then
Form1.displayNews();
Form1.Timer3.Interval := NewsTimeOut;
end;
end;
procedure TMeteonova.ThreadsDoneCountries;
begin
optionsForm.setCountriesBox(nil);
optionsForm.Timer3.Enabled := true;
end;
procedure TMeteonova.ThreadsDoneDistricts;
begin
optionsForm.setDistrictsBox(nil);
optionsForm.Timer2.Enabled := true;
end;
procedure TMeteonova.ThreadsDoneCities;
begin
optionsForm.setCitiesBox(nil);
optionsForm.Timer1.Enabled := true;
end;
procedure TMeteonova.ThreadsDoneSearchFChar;
begin
optionsForm.setAutocompliteBox(nil);
end;
procedure TMeteonova.ThreadsDoneVersions;
begin
if(Version.new_version <> '') then
begin
if (Version.old_version <> Version.new_version) then
begin
Form1.StaticText1.Height := 28;
Form1.Image18.Visible := true;
end
else
begin
Form1.StaticText1.Height := 67;
Form1.Image18.Visible := false;
end;
end;
end;
procedure TMeteonova.initLog();
begin
{AssignFile(f, ExtractFilePath(ParamStr(0))+'log.txt');
if not FileExists(ExtractFilePath(ParamStr(0))+'log.txt') then
begin
Rewrite(f);
CloseFile(f);
end; }
end;
procedure TMeteonova.writeLog(str: string);
var myYear, myMonth, myDay : Word;
myHour, myMin, mySec, myMilli : Word;
begin
{DecodeDateTime(Now, myYear, myMonth, myDay,myHour, myMin, mySec, myMilli);
Append(f);
str := intToStr(myDay)+'.'+intToStr(myMonth)+'.'+intToStr(myYear)+' '+intToStr(myHour)+':'+intToStr(myMin)+':'+intToStr(mySec)+' '+str;
Writeln(f,str);
Flush(f);
CloseFile(f);}
end;
end.
|
{
Simple Redis Client Library
* for set and get data only.
- non-thread
- master-slave support
by: Luri Darmawan ( http://www.fastplaz.com )
requirement:
- synapse (if any)
USAGE:
[x] set value
Redis := TRedisLib.Create;
Redis['thekey'] := 'your string';
[x] get value
variable := Redis['thekey'];
USE MASTER SLAVE
Redis := TRedisLib.Create;
Redis.WriteToMaster := true;
Redis.MasterServerAddress := 'your.ip.address';
Redis.MasterPort: = '6378';
**********************************************************************}
unit redis_lib;
{$mode objfpc}{$H+}
{$include ../../define.inc}
interface
{$ifndef synapse}
{$define fpcsocket}
{$endif}
uses
Sockets,
{$ifdef fpcsocket}
{$endif}
{$ifdef synapse}
blcksock,
{$endif}
{$ifndef win32} cthreads, {$endif}
Classes, SysUtils;
const
REDIS_DEFAULT_SERVER = '127.0.0.1';
REDIS_DEFAULT_PORT = 6379;
REDIS_DEFAULT_TIMEOUT = 2500;
__REDIS_RESPONSE_SINGLE_CHAR = '+'; // "+OK"
__REDIS_RESPONSE_ERROR_CHAR = '-'; // error
__REDIS_RESPONSE_INT_CHAR = ':'; // ":100\r\n"
__REDIS_RESPONSE_BULK_CHAR = '$'; // "$7\r\nexample\r\n"
__REDIS_RESPONSE_MULTI_BULK_CHAR = '*'; // multiple bulk value
type
TRedisResponseType = (rrtStatus, rrtError,
rrtNumeric, rrtBulk,
rrtMultiBulk, rrtUnknown,
rrtNull);
{ TRedisLib }
TRedisLib = class(TObject)
private
FServerAddress: string;
FisAutoConnect: boolean;
FLastError: integer;
FLastMessage: string;
FPassword: string;
FPort: string;
FPortInt: integer;
FisConnected: boolean;
FResponType: TRedisResponseType;
FTimeOut: integer;
FWriteToMaster: boolean;
{$ifdef synapse}
sock: TTCPBlockSocket;
{$endif}
{$ifdef fpcsocket}
sock: TInetSockAddr;
sockInt: longint;
SocketIn, SocketOut: Text;
{$endif}
IpAddress: in_addr;
function Get(Key: string): string;
function GetMasterPort: string;
function GetMasterServerAddress: string;
function GetMasterTimeOut: integer;
function GetResponseType(Response: string): TRedisResponseType;
procedure SetMasterPort(AValue: string);
procedure SetMasterServerAddress(AValue: string);
procedure SetMasterTimeOut(AValue: integer);
procedure SetServerAddress(AValue: string);
procedure SetPort(AValue: string);
procedure SetValue(Key: string; AValue: string);
procedure SetWriteToMaster(AValue: boolean);
public
constructor Create(const ConfigName: string = 'default');
destructor Destroy; override;
property isConnected: boolean read FisConnected;
property isAutoConnect: boolean read FisAutoConnect write FisAutoConnect;
property ServerAddress: string read FServerAddress write SetServerAddress;
property Port: string read FPort write SetPort;
property TimeOut: integer read FTimeOut write FTimeOut;
property LastError: integer read FLastError;
property LastMessage: string read FLastMessage;
property Values[Key: string]: string read Get write SetValue; default;
property ResponType: TRedisResponseType read FResponType;
property Password: string read FPassword write FPassword;
// master
property WriteToMaster: boolean read FWriteToMaster write SetWriteToMaster;
property MasterServerAddress: string read GetMasterServerAddress write SetMasterServerAddress;
property MasterPort: string read GetMasterPort write SetMasterPort;
property MasterTimeOut: integer read GetMasterTimeOut write SetMasterTimeOut;
function Connect: boolean;
function SendString(Strings: string): string;
function Auth(PasswordKey: string = ''): boolean;
function Ping: boolean;
procedure FlushAll;
procedure FlushDB;
function Info: string;
procedure Synch;
end;
implementation
{ TRedisLib }
var
RedisMaster: TRedisLib;
procedure TRedisLib.SetServerAddress(AValue: string);
begin
if FServerAddress = AValue then
Exit;
FServerAddress := AValue;
IpAddress := StrToNetAddr(AValue);
if IpAddress.s_addr = 0 then
begin
FServerAddress := REDIS_DEFAULT_SERVER;
IpAddress := StrToNetAddr(FServerAddress);
end;
end;
procedure TRedisLib.SetPort(AValue: string);
begin
if FPort = AValue then
Exit;
try
FPortInt := StrToInt(AValue);
FPort := AValue;
except
FPort := IntToStr(REDIS_DEFAULT_PORT);
FPortInt := REDIS_DEFAULT_PORT;
end;
end;
function TRedisLib.Get(Key: string): string;
var
i: integer;
begin
SendString('GET ' + Key);
i := Pos(#13#10, FLastMessage);
FLastMessage := Copy(FLastMessage, i + 2, Length(FLastMessage) - i - 1);
Result := FLastMessage;
end;
function TRedisLib.GetMasterPort: string;
begin
if FWriteToMaster then
Result := RedisMaster.Port;
end;
function TRedisLib.GetMasterServerAddress: string;
begin
if FWriteToMaster then
Result := RedisMaster.ServerAddress;
end;
function TRedisLib.GetMasterTimeOut: integer;
begin
if FWriteToMaster then
Result := RedisMaster.TimeOut;
end;
function TRedisLib.GetResponseType(Response: string): TRedisResponseType;
var
c: char;
begin
if Response = '' then
begin
Result := rrtUnknown;
Exit;
end;
c := copy(Response, 1, 1)[1];
case c of
__REDIS_RESPONSE_SINGLE_CHAR: Result := rrtStatus;
__REDIS_RESPONSE_ERROR_CHAR: Result := rrtError;
__REDIS_RESPONSE_BULK_CHAR: Result := rrtBulk;
__REDIS_RESPONSE_MULTI_BULK_CHAR: Result := rrtMultiBulk;
__REDIS_RESPONSE_INT_CHAR: Result := rrtNumeric;
else
Result := rrtUnknown;
end;
end;
procedure TRedisLib.SetMasterPort(AValue: string);
begin
if FWriteToMaster then
RedisMaster.Port := AValue;
end;
procedure TRedisLib.SetMasterServerAddress(AValue: string);
begin
if FWriteToMaster then
RedisMaster.ServerAddress := AValue;
end;
procedure TRedisLib.SetMasterTimeOut(AValue: integer);
begin
if FWriteToMaster then
RedisMaster.TimeOut := AValue;
end;
procedure TRedisLib.SetValue(Key: string; AValue: string);
begin
FLastMessage := '+OK';
if FWriteToMaster then
begin
RedisMaster.SendString('SET ' + Key + ' "' + AValue + '"');
end
else
SendString('SET ' + Key + ' "' + AValue + '"');
end;
procedure TRedisLib.SetWriteToMaster(AValue: boolean);
begin
if FWriteToMaster = AValue then
Exit;
FWriteToMaster := AValue;
if FWriteToMaster then
begin
RedisMaster := TRedisLib.Create();
end;
end;
constructor TRedisLib.Create(const ConfigName: string);
begin
FisConnected := False;
FisAutoConnect := True;
FPort := IntToStr(REDIS_DEFAULT_PORT);
FPortInt := REDIS_DEFAULT_PORT;
FTimeOut := REDIS_DEFAULT_TIMEOUT;
ServerAddress := REDIS_DEFAULT_SERVER;
{$ifdef synapse}
sock := TTCPBlockSocket.Create;
{$endif}
end;
destructor TRedisLib.Destroy;
begin
if FisConnected then
begin
{$ifdef synapse}
sock.CloseSocket;
{$endif}
{$ifdef fpcsocket}
Close(SocketOut);
{$endif}
end;
{$ifdef synapse}
FreeAndNil(sock);
{$endif}
if FWriteToMaster then
begin
FreeAndNil(RedisMaster);
end;
inherited Destroy;
end;
function TRedisLib.Connect: boolean;
begin
Result := FisConnected;
FLastMessage := '';
FLastError := 1;
if FisConnected then
exit;
try
{$ifdef synapse}
sock.ConnectionTimeout := FTimeOut;
sock.Connect(FServerAddress, FPort);
FLastError := sock.LastError;
if sock.LastError = 0 then
begin
FisConnected := True;
Result := True;
end;
{$endif}
{$ifdef fpcsocket}
sockInt := fpSocket(AF_INET, SOCK_STREAM, 0);
if sockInt = -1 then
Exit;
sock.sin_family := AF_INET;
sock.sin_port := htons(FPortInt);
sock.sin_addr.s_addr := IpAddress.s_addr;
if Sockets.Connect(sockInt, sock, SocketIn, SocketOut) then
begin
FisConnected := True;
Result := True;
FLastError := 0;
end;
{$endif}
except
on e: Exception do
FLastMessage := e.Message;
end;
end;
function TRedisLib.Ping: boolean;
var
s: string;
begin
Result := False;
s := SendString('PING');
if s = '+PONG' then
Result := True;
end;
procedure TRedisLib.FlushAll;
begin
SendString('FLUSHALL');
end;
procedure TRedisLib.FlushDB;
begin
SendString('FLUSHDB');
end;
function TRedisLib.Info: string;
begin
Result := SendString('INFO');
end;
procedure TRedisLib.Synch;
begin
SendString('SYNCH');
end;
function TRedisLib.SendString(Strings: string): string;
var
s: string;
begin
FLastError := 0;
FResponType := rrtError;
FLastMessage := '';
if not FisConnected then
begin
if not FisAutoConnect then
Exit;
if not Connect then
Exit;
end;
try
{$ifdef synapse}
sock.SendString(Strings + #13#10);
FLastError := sock.LastError;
if FLastError <> 0 then
Exit;
FLastMessage := trim(sock.RecvPacket(FTimeOut));
FLastError := sock.LastError;
{$endif}
{$ifdef fpcsocket}
Reset(SocketIn);
ReWrite(SocketOut);
WriteLn(SocketOut, Strings);
Flush(SocketOut);
ReadLn(SocketIn, FLastMessage);
if copy(FLastMessage, 1, 1)[1] = '$' then
begin
s := Copy(FLastMessage, 2, 5);
if StrToInt(s) <> -1 then
begin
ReadLn(SocketIn, s);
FLastMessage := FLastMessage + #13#10 + s;
end;
end;
FLastError := 0;
{$endif}
if FLastError = 0 then
begin
FResponType := GetResponseType(FLastMessage);
end;
except
on e: Exception do
FLastMessage := e.Message;
end;
Result := FLastMessage;
end;
function TRedisLib.Auth(PasswordKey: string): boolean;
begin
Result := False;
if PasswordKey <> '' then
FPassword := PasswordKey;
if SendString('AUTH ' + FPassword) = '+OK' then
Result := True;
end;
end.
|
{*******************************************************}
{ }
{ Borland Delphi Supplemental Components }
{ ZLIB Data Compression Interface Unit }
{ }
{ Copyright (c) 1997,99 Borland Corporation }
{ }
{*******************************************************}
{ Updated for zlib 1.2.x by Cosmin Truta <cosmint@cs.ubbcluj.ro> }
unit ZLib;
interface
uses SysUtils, Classes;
type
TAlloc = function (AppData: Pointer; Items, Size: Integer): Pointer; cdecl;
TFree = procedure (AppData, Block: Pointer); cdecl;
// Internal structure. Ignore.
TZStreamRec = packed record
next_in: PChar; // next input byte
avail_in: Integer; // number of bytes available at next_in
total_in: Longint; // total nb of input bytes read so far
next_out: PChar; // next output byte should be put here
avail_out: Integer; // remaining free space at next_out
total_out: Longint; // total nb of bytes output so far
msg: PChar; // last error message, NULL if no error
internal: Pointer; // not visible by applications
zalloc: TAlloc; // used to allocate the internal state
zfree: TFree; // used to free the internal state
AppData: Pointer; // private data object passed to zalloc and zfree
data_type: Integer; // best guess about the data type: ascii or binary
adler: Longint; // adler32 value of the uncompressed data
reserved: Longint; // reserved for future use
end;
// Abstract ancestor class
TCustomZlibStream = class(TStream)
private
FStrm: TStream;
FStrmPos: Integer;
FOnProgress: TNotifyEvent;
FZRec: TZStreamRec;
FBuffer: array [Word] of Char;
protected
procedure Progress(Sender: TObject); dynamic;
property OnProgress: TNotifyEvent read FOnProgress write FOnProgress;
constructor Create(Strm: TStream);
end;
{ TCompressionStream compresses data on the fly as data is written to it, and
stores the compressed data to another stream.
TCompressionStream is write-only and strictly sequential. Reading from the
stream will raise an exception. Using Seek to move the stream pointer
will raise an exception.
Output data is cached internally, written to the output stream only when
the internal output buffer is full. All pending output data is flushed
when the stream is destroyed.
The Position property returns the number of uncompressed bytes of
data that have been written to the stream so far.
CompressionRate returns the on-the-fly percentage by which the original
data has been compressed: (1 - (CompressedBytes / UncompressedBytes)) * 100
If raw data size = 100 and compressed data size = 25, the CompressionRate
is 75%
The OnProgress event is called each time the output buffer is filled and
written to the output stream. This is useful for updating a progress
indicator when you are writing a large chunk of data to the compression
stream in a single call.}
TCompressionLevel = (clNone, clFastest, clDefault, clMax);
TCompressionStream = class(TCustomZlibStream)
private
function GetCompressionRate: Single;
public
constructor Create(CompressionLevel: TCompressionLevel; Dest: TStream);
destructor Destroy; override;
function Read(var Buffer; Count: Longint): Longint; override;
function Write(const Buffer; Count: Longint): Longint; override;
function Seek(Offset: Longint; Origin: Word): Longint; override;
property CompressionRate: Single read GetCompressionRate;
property OnProgress;
end;
{ TDecompressionStream decompresses data on the fly as data is read from it.
Compressed data comes from a separate source stream. TDecompressionStream
is read-only and unidirectional; you can seek forward in the stream, but not
backwards. The special case of setting the stream position to zero is
allowed. Seeking forward decompresses data until the requested position in
the uncompressed data has been reached. Seeking backwards, seeking relative
to the end of the stream, requesting the size of the stream, and writing to
the stream will raise an exception.
The Position property returns the number of bytes of uncompressed data that
have been read from the stream so far.
The OnProgress event is called each time the internal input buffer of
compressed data is exhausted and the next block is read from the input stream.
This is useful for updating a progress indicator when you are reading a
large chunk of data from the decompression stream in a single call.}
TDecompressionStream = class(TCustomZlibStream)
public
constructor Create(Source: TStream);
destructor Destroy; override;
function Read(var Buffer; Count: Longint): Longint; override;
function Write(const Buffer; Count: Longint): Longint; override;
function Seek(Offset: Longint; Origin: Word): Longint; override;
property OnProgress;
end;
{ CompressBuf compresses data, buffer to buffer, in one call.
In: InBuf = ptr to compressed data
InBytes = number of bytes in InBuf
Out: OutBuf = ptr to newly allocated buffer containing decompressed data
OutBytes = number of bytes in OutBuf }
procedure CompressBuf(const InBuf: Pointer; InBytes: Integer;
out OutBuf: Pointer; out OutBytes: Integer);
{ DecompressBuf decompresses data, buffer to buffer, in one call.
In: InBuf = ptr to compressed data
InBytes = number of bytes in InBuf
OutEstimate = zero, or est. size of the decompressed data
Out: OutBuf = ptr to newly allocated buffer containing decompressed data
OutBytes = number of bytes in OutBuf }
procedure DecompressBuf(const InBuf: Pointer; InBytes: Integer;
OutEstimate: Integer; out OutBuf: Pointer; out OutBytes: Integer);
{ DecompressToUserBuf decompresses data, buffer to buffer, in one call.
In: InBuf = ptr to compressed data
InBytes = number of bytes in InBuf
Out: OutBuf = ptr to user-allocated buffer to contain decompressed data
BufSize = number of bytes in OutBuf }
procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
const OutBuf: Pointer; BufSize: Integer);
const
zlib_version = '1.2.13';
type
EZlibError = class(Exception);
ECompressionError = class(EZlibError);
EDecompressionError = class(EZlibError);
implementation
uses ZLibConst;
const
Z_NO_FLUSH = 0;
Z_PARTIAL_FLUSH = 1;
Z_SYNC_FLUSH = 2;
Z_FULL_FLUSH = 3;
Z_FINISH = 4;
Z_OK = 0;
Z_STREAM_END = 1;
Z_NEED_DICT = 2;
Z_ERRNO = (-1);
Z_STREAM_ERROR = (-2);
Z_DATA_ERROR = (-3);
Z_MEM_ERROR = (-4);
Z_BUF_ERROR = (-5);
Z_VERSION_ERROR = (-6);
Z_NO_COMPRESSION = 0;
Z_BEST_SPEED = 1;
Z_BEST_COMPRESSION = 9;
Z_DEFAULT_COMPRESSION = (-1);
Z_FILTERED = 1;
Z_HUFFMAN_ONLY = 2;
Z_RLE = 3;
Z_DEFAULT_STRATEGY = 0;
Z_BINARY = 0;
Z_ASCII = 1;
Z_UNKNOWN = 2;
Z_DEFLATED = 8;
{$L adler32.obj}
{$L compress.obj}
{$L crc32.obj}
{$L deflate.obj}
{$L infback.obj}
{$L inffast.obj}
{$L inflate.obj}
{$L inftrees.obj}
{$L trees.obj}
{$L uncompr.obj}
{$L zutil.obj}
procedure adler32; external;
procedure compressBound; external;
procedure crc32; external;
procedure deflateInit2_; external;
procedure deflateParams; external;
function _malloc(Size: Integer): Pointer; cdecl;
begin
Result := AllocMem(Size);
end;
procedure _free(Block: Pointer); cdecl;
begin
FreeMem(Block);
end;
procedure _memset(P: Pointer; B: Byte; count: Integer); cdecl;
begin
FillChar(P^, count, B);
end;
procedure _memcpy(dest, source: Pointer; count: Integer); cdecl;
begin
Move(source^, dest^, count);
end;
// deflate compresses data
function deflateInit_(var strm: TZStreamRec; level: Integer; version: PChar;
recsize: Integer): Integer; external;
function deflate(var strm: TZStreamRec; flush: Integer): Integer; external;
function deflateEnd(var strm: TZStreamRec): Integer; external;
// inflate decompresses data
function inflateInit_(var strm: TZStreamRec; version: PChar;
recsize: Integer): Integer; external;
function inflate(var strm: TZStreamRec; flush: Integer): Integer; external;
function inflateEnd(var strm: TZStreamRec): Integer; external;
function inflateReset(var strm: TZStreamRec): Integer; external;
function zlibAllocMem(AppData: Pointer; Items, Size: Integer): Pointer; cdecl;
begin
// GetMem(Result, Items*Size);
Result := AllocMem(Items * Size);
end;
procedure zlibFreeMem(AppData, Block: Pointer); cdecl;
begin
FreeMem(Block);
end;
{function zlibCheck(code: Integer): Integer;
begin
Result := code;
if code < 0 then
raise EZlibError.Create('error'); //!!
end;}
function CCheck(code: Integer): Integer;
begin
Result := code;
if code < 0 then
raise ECompressionError.Create('error'); //!!
end;
function DCheck(code: Integer): Integer;
begin
Result := code;
if code < 0 then
raise EDecompressionError.Create('error'); //!!
end;
procedure CompressBuf(const InBuf: Pointer; InBytes: Integer;
out OutBuf: Pointer; out OutBytes: Integer);
var
strm: TZStreamRec;
P: Pointer;
begin
FillChar(strm, sizeof(strm), 0);
strm.zalloc := zlibAllocMem;
strm.zfree := zlibFreeMem;
OutBytes := ((InBytes + (InBytes div 10) + 12) + 255) and not 255;
GetMem(OutBuf, OutBytes);
try
strm.next_in := InBuf;
strm.avail_in := InBytes;
strm.next_out := OutBuf;
strm.avail_out := OutBytes;
CCheck(deflateInit_(strm, Z_BEST_COMPRESSION, zlib_version, sizeof(strm)));
try
while CCheck(deflate(strm, Z_FINISH)) <> Z_STREAM_END do
begin
P := OutBuf;
Inc(OutBytes, 256);
ReallocMem(OutBuf, OutBytes);
strm.next_out := PChar(Integer(OutBuf) + (Integer(strm.next_out) - Integer(P)));
strm.avail_out := 256;
end;
finally
CCheck(deflateEnd(strm));
end;
ReallocMem(OutBuf, strm.total_out);
OutBytes := strm.total_out;
except
FreeMem(OutBuf);
raise
end;
end;
procedure DecompressBuf(const InBuf: Pointer; InBytes: Integer;
OutEstimate: Integer; out OutBuf: Pointer; out OutBytes: Integer);
var
strm: TZStreamRec;
P: Pointer;
BufInc: Integer;
begin
FillChar(strm, sizeof(strm), 0);
strm.zalloc := zlibAllocMem;
strm.zfree := zlibFreeMem;
BufInc := (InBytes + 255) and not 255;
if OutEstimate = 0 then
OutBytes := BufInc
else
OutBytes := OutEstimate;
GetMem(OutBuf, OutBytes);
try
strm.next_in := InBuf;
strm.avail_in := InBytes;
strm.next_out := OutBuf;
strm.avail_out := OutBytes;
DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
try
while DCheck(inflate(strm, Z_NO_FLUSH)) <> Z_STREAM_END do
begin
P := OutBuf;
Inc(OutBytes, BufInc);
ReallocMem(OutBuf, OutBytes);
strm.next_out := PChar(Integer(OutBuf) + (Integer(strm.next_out) - Integer(P)));
strm.avail_out := BufInc;
end;
finally
DCheck(inflateEnd(strm));
end;
ReallocMem(OutBuf, strm.total_out);
OutBytes := strm.total_out;
except
FreeMem(OutBuf);
raise
end;
end;
procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
const OutBuf: Pointer; BufSize: Integer);
var
strm: TZStreamRec;
begin
FillChar(strm, sizeof(strm), 0);
strm.zalloc := zlibAllocMem;
strm.zfree := zlibFreeMem;
strm.next_in := InBuf;
strm.avail_in := InBytes;
strm.next_out := OutBuf;
strm.avail_out := BufSize;
DCheck(inflateInit_(strm, zlib_version, sizeof(strm)));
try
if DCheck(inflate(strm, Z_FINISH)) <> Z_STREAM_END then
raise EZlibError.CreateRes(@sTargetBufferTooSmall);
finally
DCheck(inflateEnd(strm));
end;
end;
// TCustomZlibStream
constructor TCustomZLibStream.Create(Strm: TStream);
begin
inherited Create;
FStrm := Strm;
FStrmPos := Strm.Position;
FZRec.zalloc := zlibAllocMem;
FZRec.zfree := zlibFreeMem;
end;
procedure TCustomZLibStream.Progress(Sender: TObject);
begin
if Assigned(FOnProgress) then FOnProgress(Sender);
end;
// TCompressionStream
constructor TCompressionStream.Create(CompressionLevel: TCompressionLevel;
Dest: TStream);
const
Levels: array [TCompressionLevel] of ShortInt =
(Z_NO_COMPRESSION, Z_BEST_SPEED, Z_DEFAULT_COMPRESSION, Z_BEST_COMPRESSION);
begin
inherited Create(Dest);
FZRec.next_out := FBuffer;
FZRec.avail_out := sizeof(FBuffer);
CCheck(deflateInit_(FZRec, Levels[CompressionLevel], zlib_version, sizeof(FZRec)));
end;
destructor TCompressionStream.Destroy;
begin
FZRec.next_in := nil;
FZRec.avail_in := 0;
try
if FStrm.Position <> FStrmPos then FStrm.Position := FStrmPos;
while (CCheck(deflate(FZRec, Z_FINISH)) <> Z_STREAM_END)
and (FZRec.avail_out = 0) do
begin
FStrm.WriteBuffer(FBuffer, sizeof(FBuffer));
FZRec.next_out := FBuffer;
FZRec.avail_out := sizeof(FBuffer);
end;
if FZRec.avail_out < sizeof(FBuffer) then
FStrm.WriteBuffer(FBuffer, sizeof(FBuffer) - FZRec.avail_out);
finally
deflateEnd(FZRec);
end;
inherited Destroy;
end;
function TCompressionStream.Read(var Buffer; Count: Longint): Longint;
begin
raise ECompressionError.CreateRes(@sInvalidStreamOp);
end;
function TCompressionStream.Write(const Buffer; Count: Longint): Longint;
begin
FZRec.next_in := @Buffer;
FZRec.avail_in := Count;
if FStrm.Position <> FStrmPos then FStrm.Position := FStrmPos;
while (FZRec.avail_in > 0) do
begin
CCheck(deflate(FZRec, 0));
if FZRec.avail_out = 0 then
begin
FStrm.WriteBuffer(FBuffer, sizeof(FBuffer));
FZRec.next_out := FBuffer;
FZRec.avail_out := sizeof(FBuffer);
FStrmPos := FStrm.Position;
Progress(Self);
end;
end;
Result := Count;
end;
function TCompressionStream.Seek(Offset: Longint; Origin: Word): Longint;
begin
if (Offset = 0) and (Origin = soFromCurrent) then
Result := FZRec.total_in
else
raise ECompressionError.CreateRes(@sInvalidStreamOp);
end;
function TCompressionStream.GetCompressionRate: Single;
begin
if FZRec.total_in = 0 then
Result := 0
else
Result := (1.0 - (FZRec.total_out / FZRec.total_in)) * 100.0;
end;
// TDecompressionStream
constructor TDecompressionStream.Create(Source: TStream);
begin
inherited Create(Source);
FZRec.next_in := FBuffer;
FZRec.avail_in := 0;
DCheck(inflateInit_(FZRec, zlib_version, sizeof(FZRec)));
end;
destructor TDecompressionStream.Destroy;
begin
FStrm.Seek(-FZRec.avail_in, 1);
inflateEnd(FZRec);
inherited Destroy;
end;
function TDecompressionStream.Read(var Buffer; Count: Longint): Longint;
begin
FZRec.next_out := @Buffer;
FZRec.avail_out := Count;
if FStrm.Position <> FStrmPos then FStrm.Position := FStrmPos;
while (FZRec.avail_out > 0) do
begin
if FZRec.avail_in = 0 then
begin
FZRec.avail_in := FStrm.Read(FBuffer, sizeof(FBuffer));
if FZRec.avail_in = 0 then
begin
Result := Count - FZRec.avail_out;
Exit;
end;
FZRec.next_in := FBuffer;
FStrmPos := FStrm.Position;
Progress(Self);
end;
CCheck(inflate(FZRec, 0));
end;
Result := Count;
end;
function TDecompressionStream.Write(const Buffer; Count: Longint): Longint;
begin
raise EDecompressionError.CreateRes(@sInvalidStreamOp);
end;
function TDecompressionStream.Seek(Offset: Longint; Origin: Word): Longint;
var
I: Integer;
Buf: array [0..4095] of Char;
begin
if (Offset = 0) and (Origin = soFromBeginning) then
begin
DCheck(inflateReset(FZRec));
FZRec.next_in := FBuffer;
FZRec.avail_in := 0;
FStrm.Position := 0;
FStrmPos := 0;
end
else if ( (Offset >= 0) and (Origin = soFromCurrent)) or
( ((Offset - FZRec.total_out) > 0) and (Origin = soFromBeginning)) then
begin
if Origin = soFromBeginning then Dec(Offset, FZRec.total_out);
if Offset > 0 then
begin
for I := 1 to Offset div sizeof(Buf) do
ReadBuffer(Buf, sizeof(Buf));
ReadBuffer(Buf, Offset mod sizeof(Buf));
end;
end
else
raise EDecompressionError.CreateRes(@sInvalidStreamOp);
Result := FZRec.total_out;
end;
end.
|
unit uFrmCadFornecedorCredito;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, UFrmFormDataSet, System.Actions,
Vcl.ActnList, Vcl.StdCtrls, Vcl.Buttons, Vcl.ExtCtrls, Vcl.ComCtrls, Vcl.Mask,
Vcl.DBCtrls, PBNumEdit, siComp, siLngLnk, uDM, uDMLista, uLib, uConstantes;
type
TFrmCadFornecedorCredito = class(TFrmFormDataSet)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Label4: TLabel;
Label6: TLabel;
edt_valor: TPBNumEdit;
dbLookupMoeda: TDBLookupComboBox;
dbHistorico: TDBEdit;
dbCaixa: TDBEdit;
dtpData: TDateTimePicker;
DBDocumento: TDBEdit;
Panel2: TPanel;
Label5: TLabel;
lb_nomefornecedor: TLabel;
siLangLinked_FrmCadFornecedorCredito: TsiLangLinked;
procedure FormActivate(Sender: TObject);
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure acSalvarExecute(Sender: TObject);
private
Fid_fornecedor: integer;
Fnome_fornecedor: string;
{ Private declarations }
public
{ Public declarations }
property id_fornecedor: integer read Fid_fornecedor write Fid_fornecedor;
property nome_fornecedor: string read Fnome_fornecedor write Fnome_fornecedor;
end;
var
FrmCadFornecedorCredito: TFrmCadFornecedorCredito;
implementation
{$R *.dfm}
procedure TFrmCadFornecedorCredito.acSalvarExecute(Sender: TObject);
var
tudoOk : Boolean;
id_historico : integer;
sigla : string;
op_credito : integer;
begin
op_credito := 0;
op_credito := fnGetOPA('capc_fornecedor_credito');
if op_credito > 0 then
begin
if dbLookupMoeda.KeyValue = null then
begin
showMessage('Elija una moneda');
dbLookupMoeda.setFocus;
end
else if edt_valor.AsFloat = 0 then
begin
showMessage('Cual es el monto del credito?');
edt_valor.SetFocus;
end
else if dbCaixa.Text = '' then
begin
showMessage('En que caja debo poner el credito?');
dbcaixa.SetFocus;
end
else
begin
tudoOk := false;
id_historico := 0;
sigla := DMDadosLista.qListaMoeda.FieldByName('sigla').AsString;
with dmdados do
begin
bancodados.StartTransaction;
try
dataset1.FieldByName('data').AsDateTime := dtpData.datetime;
dataset1.FieldByName('id_usuario').AsInteger := fnGetIDUsuarioLogado;
dataset1.FieldByName('tipo').AsInteger := 1; //tipo credito de fornecedor
dataset1.FieldByName('id_clifor').AsInteger := id_fornecedor;
dataset1.FieldByName('valor').AsFloat := edt_valor.AsFloat;
dataset1.FieldByName('status').AsInteger := 1;
dataset1.Post;
//historico recebimento
qHR.Close;
qHR.Macros.MacroByName('filtro').AsRaw := ' where id_historico = -1 ';
qHR.Open();
//CABECALHO DO RECEBIMENTO
qHR.Append;
qHR.FieldByname('id_credito').AsInteger := qClienteCredito.FieldByName('id_credito').AsInteger;
qHR.FieldByname('tipo').AsInteger := TIPO_CREDITO_FORNECEDOR;
qHR.FieldByname('id_usuario' ).AsInteger := fnGetIDUsuarioLogado;
qHR.FieldByname('id_caixa').AsInteger := dbCaixa.Field.AsInteger;
qHR.FieldByName('historico').AsString := 'REF. OP CREDITO PROVEEDOR - ' + dbHistorico.Field.AsString;
qHR.FieldByname('data').AsDateTime := fnGetDataHora;
qHR.Post;
id_historico := qHR.FieldByName('id_historico').AsInteger;
//FORMA DE PAGAMENTO
//NO futuro vou abrir para fazer credito em outras formas, al'em de EFETIVO
qHRFP.Close;
qHRFP.macros.MacroByName('filtro').asraw := ' where id_historico_formapago = -1';
qHRFP.open();
qHRFP.Append;
qHRFP.fieldbyname('id_historico').AsInteger := id_historico;
qHRFP.FieldByName('id_moeda').AsInteger := dbLookupMoeda.KeyValue;
qHRFP.FieldByName('id_formapagamento').AsInteger := 1; // EFETIVO
qHRFP.FieldByName('valor').AsFloat := edt_valor.AsFloat;
if sigla = fnGetMoedaPadrao then
begin
qHRFP.FieldByName('cambio').AsFloat := 1;
end
else
begin
if sigla = 'U$' then
begin
qHRFP.FieldByName('cambio').AsFloat := fnGetUltimoCambio('U$');
end
else if sigla = 'G$' then
begin
qHRFP.FieldByName('cambio').AsFloat := fnGetUltimoCambio('G$');
end
else if sigla = 'R$' then
begin
qHRFP.FieldByName('cambio').AsFloat := fnGetUltimoCambio('R$')
end;
end;
qHRFP.post;
//CAIXA
qCaixaMov.Close;
qCaixaMov.Macros.MacroByName('filtro').AsRaw := ' where id_caixa = -1 ';
qCaixaMov.Open();
qCaixaMov.append;
qCaixaMov.fieldbyname('caixa').asInteger := dbCaixa.Field.AsInteger;
qCaixaMov.fieldbyname('id_moeda').asInteger := dbLookupMoeda.KeyValue;;
QCaixaMov.fieldbyname('id_operacao').asInteger := op_credito;
QCaixaMov.fieldbyname('historico').asString := dbHistorico.Field.AsString;
qCaixaMov.fieldbyname('valor').asFloat := edt_valor.AsFloat;
qCaixaMov.fieldbyname('tipo').asString := 'S'; //efetivo
qCaixaMov.fieldbyname('data').asDateTime := fnGetDataSistema;
qCaixaMov.fieldbyname('id_cliente').asInteger := id_fornecedor;
qCaixaMov.FieldByName('id_usuario').asInteger := fnGetIDUsuarioLogado;
qCaixaMov.FieldByName('cambio').asFloat := fnGetUltimoCambio(sigla);
qCaixaMov.FieldByName('id_formapagamento').asInteger := 1;
qCaixaMov.FieldByName('id_historico_recebimento').AsInteger := id_historico;
qCaixaMov.post;
tudoOk := true;
except
tudoOk := false;
end;
if tudoOk then
begin
BancoDados.Commit;
showMessage('El credito fue grabado exitosamente!');
end
else
begin
BancoDados.Rollback;
showMessage('No fue posible grabar el credito!');
end;
close;
end;
end;
end
else
begin
showMessage('No hay configuración de credito de Proveedores');
end;
end;
procedure TFrmCadFornecedorCredito.FormActivate(Sender: TObject);
begin
inherited;
siLangLinked_FrmCadFornecedorCredito.Language := DMDados.siLang_DMDados.Language;
end;
procedure TFrmCadFornecedorCredito.FormCreate(Sender: TObject);
begin
inherited;
dataset1 := dmdados.qClienteCredito;
dataset2 := dmdadosLista.qListaMoeda;
end;
procedure TFrmCadFornecedorCredito.FormShow(Sender: TObject);
begin
inherited;
if Assigned(DataSet1) then
begin
dataset1.Close;
dataset1.Macros.MacroByName('filtro').AsRaw := ' where id_credito = -1 ';
dataset1.open;
dataset1.Append;
end;
if Assigned(Dataset2) then
begin
DataSet2.Close;
dataset2.Open();
dataset2.refresh;
end;
lb_nomefornecedor.Caption := nome_fornecedor;
dtpData.DateTime := fnGetDataHora;
dbLookupMoeda.SetFocus;
end;
end.
|
unit RRManagerStructureInfoForm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
FramesWizard, RRManagerEditMainStructureInfoFrame, RRmanagerBaseObjects,
RRManagerDiscoveredStructureInfo, RRManagerPreparedStructureInfo,
RRManagerDrilledStructureInfo, RRManagerEditMainFieldInfoFrame, ClientCommon,
RRManagerEditHistoryFrame, RRManagerBaseGUI, RRManagerCommon, RRManagerEditDocumentsFrame;
type
TfrmStructureInfo = class(TCommonForm)
DialogFrame1: TDialogFrame;
private
FAreaID: integer;
FPetrolRegionID: integer;
FTectStructID: integer;
FDistrictID: integer;
FOrganizationID: integer;
procedure SetAreaID(const Value: integer);
procedure SetPetrolRegionID(const Value: integer);
procedure SetTectStructID(const Value: integer);
procedure SetDistrictID(const Value: integer);
procedure SetOrganizationID(const Value: integer);
{ Private declarations }
protected
function GetDlg: TDialogFrame; override;
procedure NextFrame(Sender: TObject); override;
function GetEditingObjectName: string; override;
public
{ Public declarations }
property AreaID: integer read FAreaID write SetAreaID;
property PetrolRegionID: integer read FPetrolRegionID write SetPetrolRegionID;
property TectStructID: integer read FTectStructID write SetTectStructID;
property DistrictID: integer read FDistrictID write SetDistrictID;
property OrganizationID: integer read FOrganizationID write SetOrganizationID;
procedure Prepare;
constructor Create(AOwner: TComponent); override;
end;
var
frmStructureInfo: TfrmStructureInfo;
implementation
uses RRManagerEditParamsFrame, Facade;
{$R *.DFM}
constructor TfrmStructureInfo.Create(AOwner: TComponent);
begin
inherited;
// Prepare;
Width := 1000;
Height := 700;
end;
function TfrmStructureInfo.GetDlg: TDialogFrame;
begin
Result := DialogFrame1;
end;
function TfrmStructureInfo.GetEditingObjectName: string;
begin
Result := 'Стурктура';
end;
procedure TfrmStructureInfo.NextFrame;
var i, iStructureType: integer;
cls: TbaseFrameClass;
e: boolean;
frm: TBaseFrame;
begin
if (dlg.ActiveFrameIndex = 0)
and ((dlg.Frames[0] as TfrmMainStructureInfo).cmbxStructureType.ItemIndex > -1) then
begin
with (dlg.Frames[0] as TfrmMainStructureInfo).cmbxStructureType do
iStructureType := Integer(Items.Objects[ItemIndex]);
cls := nil;
case iStructureType of
// Выявленные
1: cls := TfrmDiscoveredStructureInfo;
// подгтовленные
2: cls := TfrmPreparedStructureInfo;
// в бурении
3: cls := TfrmDrilledStructureInfo;
// месторождения
4: cls := TfrmMainFieldInfo;
end;
if not (dlg.Frames[1] is cls) then
begin
e := (dlg.Frames[1] as TBaseFrame).Edited;
// добавяляем нормальные фрэймы
for i := dlg.FrameCount - 1 downto 1 do
dlg.Delete(i);
if Assigned(cls) then
begin
frm := dlg.AddFrame(cls) as TBaseFrame;
frm.Edited := e;
end;
// добавляем остальные разные
// если был новый элемент истории
with (dlg.Frames[0] as TfrmMainStructureInfo) do
if Assigned(Structure) and (Structure.History.Count > 0)
and assigned(Structure.LastHistoryElement) then
begin
frm := dlg.AddFrame(TfrmHistory) as TBaseFrame;
frm.Edited := e;
dlg.FinishEnableIndex := 2;
end;
frm := dlg.AddFrame(TfrmParams) as TBaseFrame;
frm.Edited := e;
//frm := dlg.AddFrame(TfrmDocuments) as TBaseFrame;
//frm.Edited := e;
end;
end;
inherited;
end;
procedure TfrmStructureInfo.Prepare;
begin
dlg.Clear;
dlg.AddFrame(TfrmMainStructureInfo);
// добавляем игрушечный фрэйм просто, чтоб можно было дяльше идти
{ DONE : Выяснить какие чаще попадаются. Те и добавлять. }
dlg.AddFrame(TfrmMainStructureInfo);
dlg.ActiveFrameIndex := 0;
dlg.FinishEnableIndex := 1;
end;
procedure TfrmStructureInfo.SetAreaID(const Value: integer);
begin
if FAreaID <> Value then
begin
FAreaID := Value;
(dlg.Frames[0] as TfrmMainStructureInfo).cmplxNewArea.AddItem(FAreaID, GetObjectName((TMainFacade.GetInstance as TMainFacade).AllDicts.DictByName['TBL_AREA_DICT'].Dict, FAreaID));
(dlg.Frames[0] as TfrmMainStructureInfo).cmplxNewAreacmbxNameChange(nil);
end;
end;
procedure TfrmStructureInfo.SetDistrictID(const Value: integer);
begin
if FDistrictID <> Value then
begin
FDistrictID := Value;
(dlg.Frames[0] as TfrmMainStructureInfo).cmplxDistrict.AddItem(FDistrictID,
GetObjectName((TMainFacade.GetInstance as TMainFacade).AllDicts.DictByName['TBL_DISTRICT_DICT'].Dict, FDistrictID));
end;
end;
procedure TfrmStructureInfo.SetOrganizationID(const Value: integer);
begin
if FOrganizationID <> Value then
begin
FOrganizationID := Value;
(dlg.Frames[0] as TfrmMainStructureInfo).cmplxOrganization.AddItem(FOrganizationID,
GetObjectName((TMainFacade.GetInstance as TMainFacade).AllDicts.DictByName['TBL_ORGANIZATION_DICT'].Dict, FOrganizationID));
end;
end;
procedure TfrmStructureInfo.SetPetrolRegionID(const Value: integer);
begin
if FPetrolRegionID <> Value then
begin
FPetrolRegionID := Value;
(dlg.Frames[0] as TfrmMainStructureInfo).cmplxPetrolRegion.AddItem(FPetrolRegionID,
GetObjectName((TMainFacade.GetInstance as TMainFacade).AllDicts.DictByName['TBL_PETROLIFEROUS_REGION_DICT'].Dict, FPetrolRegionID));
end;
end;
procedure TfrmStructureInfo.SetTectStructID(const Value: integer);
begin
if FTectStructID <> Value then
begin
FTectStructID := Value;
(dlg.Frames[0] as TfrmMainStructureInfo).cmplxTectStruct.AddItem(FTectStructID,
GetObjectName((TMainFacade.GetInstance as TMainFacade).AllDicts.DictByName['TBL_TECTONIC_STRUCT_DICT'].Dict, FTectStructID));
end;
end;
end.
|
program testfunctions11(output);
{tests that you can pass an integer literal into a real parameter in a function}
function simpleFunc(a:Real):Real;
begin
simpleFunc := a;
end;
begin
writeln(simpleFunc(3));
end.
|
unit main;
interface
uses
SysUtils, Classes, HTTPApp, IniFiles, HTTPProd, DateUtils, cgi_h;
type
TClouds = class(TWebModule)
LoadHTML: TPageProducer;
procedure WebModule1WebActionItem1Action(Sender: TObject;
Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
procedure LoadHTMLHTMLTag(Sender: TObject; Tag: TTag;
const TagString: String; TagParams: TStrings;
var ReplaceText: String);
procedure NewsAddLabelAction(Sender: TObject; Request: TWebRequest;
Response: TWebResponse; var Handled: Boolean);
private
procedure LoadFile(const FileName:string);
procedure setProcResult(bError: boolean; strError: string);
public
end;
type TProcRes = record
status: string;
descript: string;
bError: boolean;
end;
type
TLabelRecord=record
id: Longint;
strlabel:string;
keys: TStringList;
title: string;
description: string;
height: byte;
color: byte;
active: boolean;
end;
var
Clouds: TClouds;
strLogin, strPasswd, strPathURL, strPathURLPict, userIP, legalIp: string;
LabelRecord: TLabelRecord;
ProcRes : TProcRes;
const pathINIFile='cgicfg.ini';
MaxReadBlockSize = 8192;
function AddDataInToDB: boolean;
function UpdateDataInToDB: boolean;
function DeleteDataFromDB: boolean;
implementation
uses utilites, dbutil;
{$R *.dfm}
procedure TClouds.WebModule1WebActionItem1Action(Sender: TObject;
Request: TWebRequest; Response: TWebResponse; var Handled: Boolean);
var Ini: TIniFile;
begin
Ini:=TIniFile.Create(pathINIFile);
strPathURL:=Ini.ReadString('NewsDir','URL','');
strPathURLPict := Ini.ReadString('NewsDir','URLPict','');
legalIp:=Ini.ReadString('NewsDir','legalIp','');
Ini.Free;
userIP := GetRemoteIP;
if (Pos(userIP,legalIp)=0) then
begin
LoadFile('badmin.html');
exit;
end;
strLogin:=Request.ContentFields.Values['login'];
strPasswd:=Request.ContentFields.Values['password'];
if (strLogin='') and (strPasswd='') then
begin
strLogin:=Request.QueryFields.Values['login'];
strPasswd:=Request.QueryFields.Values['password'];
end;
if checkLoginPasswd(strLogin,strPasswd) then
begin
if Request.QueryFields.Values['act']='login' then
LoadFile('cloud.html');
if (Request.QueryFields.Values['act']='getlist') then
begin
Response.ContentType := 'application/json; charset=windows-1251';
Response.Content := getLabelItems(Request.QueryFields);
end;
end
else LoadFile('badmin.html');
end;
procedure TClouds.LoadFile(const FileName:string);
var Ini: TIniFile;
s: Tstrings;
PathHTMLFile:string;
begin
Ini:=TIniFile.Create(pathINIFile);
PathHTMLFile:=Ini.ReadString('NewsDir','PathPage','');
Ini.Free;
s:=TstringList.Create;
try
s.LoadFromFile(PathHTMLFile+'\\'+Filename);
LoadHTML.HTMLDoc:=s;
Response.Content:=LoadHTML.Content;
except
Response.Content:='Отсутствует файл '+FileName+' в '+PathHTMLFile;
end;
s.Free;
end;
procedure TClouds.NewsAddLabelAction(Sender: TObject; Request: TWebRequest;
Response: TWebResponse; var Handled: Boolean);
var Header, HList: TStrings;
Boundary, AllContent, BufferStr, Data, opetation: string;
ByteToRead, ReadedBytes, RSize: LongInt;
Buffer: PChar;
p:integer;
Ini: TIniFile;
Function ProcessString(s:string):string;
Begin
repeat
p:=Pos('<',s); if p>0 then begin delete(s,p,1); insert('<',s,p); end else break;
until false;
repeat
p:=Pos('>',s); if p>0 then begin delete(s,p,1); insert('>',s,p); end else break;
until false;
repeat
p:=Pos('"',s); if p>0 then begin delete(s,p,1); insert('"',s,p); end else break;
until false;
repeat
p:=Pos('''',s); if p>0 then begin delete(s,p,1); insert('"',s,p); end else break;
until false;
Result:=s;
End;
begin
ProcRes.bError := false;
LabelRecord.keys := TStringList.Create;
Ini:=TIniFile.Create(pathINIFile);
strPathURL:=Ini.ReadString('NewsDir','URL','');
legalIp:=Ini.ReadString('NewsDir','legalIp','');
Ini.Free;
strLogin:=Request.QueryFields.Values['login'];
strPasswd:=Request.QueryFields.Values['password'];
userIP:=GetRemoteIP;
if ((Pos(userIP,legalIp)=0) or not checkLoginPasswd(strLogin,strPasswd)) then
begin
LoadFile('badmin.html');
exit;
end;
if (Pos('multipart/form-data', LowerCase(Request.ContentType)) > 0) and
(Pos('boundary', LowerCase(Request.ContentType)) > 0) then
begin
Header:=TstringList.Create;
try
ExtractHeaderFields([';'], [' '], PChar(Request.ContentType), Header, False, False);
Boundary:=Header.Values['boundary'];
finally
Header.Free;
end;
AllContent := Request.Content;
ByteToRead := Request.ContentLength - Length(AllContent);
try
while ByteToRead > 0 do
begin
RSize := MaxReadBlockSize;
if RSize > ByteToRead then
RSize := ByteToRead;
GetMem(Buffer, RSize);
try
ReadedBytes := Request.ReadClient(Buffer^, RSize);
SetString(BufferStr, Buffer, ReadedBytes);
AllContent := AllContent + BufferStr;
finally
FreeMem(Buffer, RSize);
end;
ByteToRead := Request.ContentLength - Length(AllContent);
end;
if Request.ContentLength = Length(AllContent) then
while Length(AllContent) > Length('--' + Boundary + '--' + #13#10) do
begin
Header := TStringList.Create;
HList := TStringList.Create;
try
AllContent := ReadMultipartRequest('--' + Boundary, AllContent,Header, Data);
ExtractHeaderFields([';'], [' '], PChar(Header.Values['Content-Disposition']), HList, False, True);
if Hlist.Values['name']='label' then
if (Data='') then setProcResult(true, 'Поле "Метка" не может быть пустым')
else LabelRecord.strLabel:=Data;
if (Hlist.Values['name']='label_id') then
if (Data<>'') then
LabelRecord.id:=strToIntDef(Data, 0);
if Hlist.Values['name']='keys' then
if (Data='') then setProcResult(true, 'Поле "Ключевые слова" не может быть пустым')
else LabelRecord.keys.CommaText := StringReplace(Data, ' ', '_', [rfReplaceAll]);
if Hlist.Values['name']='title' then
if (Data='') then setProcResult(true, 'Поле "Заголовок" не может быть пустым')
else LabelRecord.title:=Data;
if Hlist.Values['name']='description' then LabelRecord.description:=Data;
if Hlist.Values['name']='height' then
LabelRecord.height:=strToIntDef(Data, 0);
if Hlist.Values['name']='color' then
LabelRecord.color:=strToIntDef(Data, 0);
if Hlist.Values['name']='active' then
begin
LabelRecord.active := false;
if (Data = 'on') then LabelRecord.active := true;
end;
if Hlist.Values['name']='add' then
opetation:='add';
if Hlist.Values['name']='edit' then
opetation:='edit';
if Hlist.Values['name']='delete' then
opetation:='delete';
if (ProcRes.bError) then break;
finally
HList.Free;
Header.Free;
end;
end;
if (ProcRes.bError) then LoadFile('result.html')
else
begin
if opetation = 'add' then
if not AddDataInToDB then setProcResult(true, '')
else setProcResult(false, 'Метка успешно записана в облако');
if opetation='edit' then
if not UpdateDataInToDB then setProcResult(true, '')
else setProcResult(false, 'Метка успешно отредактирована в облаке');
if opetation='delete' then
if not DeleteDataFromDB then setProcResult(true, '')
else setProcResult(false, 'Метка успешно удалена из облака');
LoadFile('result.html');
end;
except
on E: Exception do Response.Content := Response.Content + '<p>' + E.Message;
end;
end
else Response.Content := 'Content-type is not "multipart/form-data".';
LabelRecord.keys.Free;
end;
function AddDataInToDB: boolean;
var strSQL, keys:string;
begin
Result := true;
keys := StringReplace(LabelRecord.keys.CommaText, '_', ' ', [rfReplaceAll]);
strSQL := 'INSERT INTO cloud (label, keys, title, description, height, color, active) '+
'VALUES ('''+LabelRecord.strlabel+''','''+keys+''','''+LabelRecord.title+''','''+LabelRecord.description+''','+
intToStr(LabelRecord.height)+','+intToStr(LabelRecord.color)+','+boolToStr(LabelRecord.active)+');';
if not WriteDB(strSQL) then Result := false;
end;
function UpdateDataInToDB: boolean;
var strSQL, keys:string;
begin
Result:=true;
keys := StringReplace(LabelRecord.keys.CommaText, '_', ' ', [rfReplaceAll]);
strSQL:='UPDATE cloud set label='''+LabelRecord.strlabel+''',keys='''+keys+''', title='''+LabelRecord.title+''', '+
'description='''+LabelRecord.description+''', height='+intToStr(LabelRecord.height)+', color='+intToStr(LabelRecord.color)+','+
'active='+boolToStr(LabelRecord.active)+' WHERE id='+intToStr(LabelRecord.id)+';';
if not WriteDB(strSQL) then Result:=false;
end;
function DeleteDataFromDB: boolean;
var strSQL: string;
begin
Result:=true;
strSQL:='DELETE FROM cloud WHERE id='+intToStr(LabelRecord.id)+';';
if not WriteDB(strSQL) then Result:=false;
end;
procedure TClouds.LoadHTMLHTMLTag(Sender: TObject; Tag: TTag;
const TagString: String; TagParams: TStrings; var ReplaceText: String);
begin
if (TagString='login') then ReplaceText:=strLogin;
if (TagString='password') then ReplaceText:=strPasswd;
if (TagString ='result') then ReplaceText := ProcRes.status;
if (TagString ='resultcontent') then ReplaceText:=ProcRes.descript;
if (TagString ='URL') then ReplaceText:=strPathURL;
if (TagString='r') then
begin
Randomize();
ReplaceText := FloatToStr(random(100000));
end;
end;
procedure TClouds.setProcResult(bError: boolean; strError: string);
begin
ProcRes.status := 'Операция выполнена';
if bError then ProcRes.status := 'Операция не выполнена';
ProcRes.descript := strError;
ProcRes.bError := bError;
end;
end.
|
{ Subroutine STRING_TKPICK (TOKEN,TLIST,TNUM);
*
* Pick a token from a list of tokens. TOKEN is the token
* against which the tokens in the list are matched. TLIST
* contains a list of tokens, separated by spaces. TNUM is
* returned as the number of the token in TLIST that TOKEN
* did match. The first token in TLIST is number 1. TOKEN
* must not contain any leading or trailing blanks, or it
* will never match.
*
* TOKEN must contain the exact full token as in TLIST for
* a valid match. Use STRING_TKPICKM if you want to be able
* to abbreviate tokens.
}
module string_tkpick;
define string_tkpick;
%include 'string2.ins.pas';
procedure string_tkpick ( {pick unabbreviated token from list}
in token: univ string_var_arg_t; {token}
in tlist: univ string_var_arg_t; {list of tokens separated by spaces}
out tnum: sys_int_machine_t); {token number of match (0=no match)}
var
patt: string_var132_t; {current pattern parsed from TLIST}
p: string_index_t; {parse index for TLIST}
stat: sys_err_t;
label
next_patt, no_match;
begin
patt.max := sizeof(patt.str); {init local var string}
p := 1; {init parse pointer}
tnum := 0; {init token number in TLIST}
next_patt: {back here for next TLIST pattern}
string_token (tlist, p, patt, stat); {get next pattern to match against}
if string_eos(stat) then goto no_match; {got to end of list and nothing matched ?}
tnum := tnum+1; {make new token number}
if string_equal (token, patt) {does it match this token ?}
then return {yes, we found the match}
else goto next_patt; {no, go try next token}
no_match: {didn't match any of the tokens}
tnum := 0; {indicate no match}
end;
|
(*
* Copyright (c) 2009, Ciobanu Alexandru
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the <organization> nor the
* names of its contributors may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*)
{$I ../Library/src/DeHL.Defines.inc}
unit Tests.Nullable;
interface
uses SysUtils,
Tests.Utils,
TestFramework,
DeHL.Types,
DeHL.Exceptions,
DeHL.Math.BigCardinal,
DeHL.Nullable;
type
TTestNullable = class(TDeHLTestCase)
procedure TestCreate();
procedure TestIsNull();
procedure TestMakeNull();
procedure TestValue();
procedure TestValueOrDefault();
procedure TestImplicits();
procedure TestExceptions();
procedure TestType();
end;
implementation
{ TTestNullable }
procedure TTestNullable.TestCreate;
var
X: Nullable<Integer>;
begin
Check(X.IsNull, 'X should be NULL by default!');
X := Nullable<Integer>.Create(10);
Check(not X.IsNull, 'X should not be NULL after creation!');
Check(X.Value = 10, 'X should be equal to 10');
end;
procedure TTestNullable.TestExceptions;
var
X: Nullable<Double>;
I: Double;
begin
CheckException(ENullValueException,
procedure()
begin
X.Value;
end,
'ENullValueException not thrown in X.Value (default)'
);
CheckException(ENullValueException,
procedure()
begin
I := X;
end,
'ENullValueException not thrown in I := X (default)'
);
X := 1.1;
X.MakeNull();
CheckException(ENullValueException,
procedure()
begin
X.Value;
end,
'ENullValueException not thrown in X.Value (MakeNull)'
);
CheckException(ENullValueException,
procedure()
begin
I := X;
end,
'ENullValueException not thrown in I := X (MakeNull)'
);
end;
procedure TTestNullable.TestImplicits;
var
X: Nullable<Integer>;
I: Integer;
begin
X := 100;
Check(not X.IsNull, 'X should not be NULL after implicit!');
Check(X.Value = 100, 'X should be equal to 100');
I := X;
Check(not X.IsNull, 'X should not be NULL after implicit assignment!');
Check(I = 100, 'I should be equal to 100');
X := X;
Check(not X.IsNull, 'X should not be NULL after implicit X = X assignment!');
Check(X.Value = 100, 'X should be equal to 100');
end;
procedure TTestNullable.TestIsNull;
var
X, Y: Nullable<Integer>;
begin
Check(X.IsNull, 'X should be NULL by default!');
Y := X;
Check(Y.IsNull, 'Y should be NULL after assignment from X!');
X.MakeNull();
Check(X.IsNull, 'X should be NULL after MakeNull by default!');
X := 10;
Check(not X.IsNull, 'X should not be NULL after assignment');
X.MakeNull();
Check(X.IsNull, 'X should be NULL after MakeNull');
end;
procedure TTestNullable.TestMakeNull;
var
X: Nullable<String>;
begin
Check(X.IsNull, 'X should be NULL by default!');
X := 'Hello';
Check(not X.IsNull, 'X should not be NULL after assignment!');
X.MakeNull();
Check(X.IsNull, 'X should be NULL after MakeNull!');
end;
procedure TTestNullable.TestType;
var
Support: IType<Nullable<BigCardinal>>;
X, Y: Nullable<BigCardinal>;
begin
{ TEST WITH A MANAGED TYPE }
Support := TNullableType<BigCardinal>.Create();
{ Test null stuff }
Check(Support.Compare(X, Y) = 0, '(null) Expected Support.Compare(X, X) = 0 to be true!');
Check(Support.Compare(Y, Y) = 0, '(null) Expected Support.Compare(X, X) = 0 to be true!');
Check(Support.GenerateHashCode(X) = Support.GenerateHashCode(Y), 'Expected Support.GenerateHashCode(X/Y) to be stable!');
Check(Support.GetString(X) = '0', 'Expected Support.GetString(X) = "0"');
Check(Support.GetString(Y) = '0', 'Expected Support.GetString(Y) = "0"');
X := BigCardinal.Parse('39712903721983712893712893712893718927389217312321893712986487234623785');
Y := BigCardinal.Parse('29712903721983712893712893712893718927389217312321893712986487234623785');
{ Test stuff }
Check(Support.Compare(X, X) = 0, 'Expected Support.Compare(X, X) = 0 to be true!');
Check(Support.Compare(Y, Y) = 0, 'Expected Support.Compare(X, X) = 0 to be true!');
Check(Support.Compare(X, Y) > 0, 'Expected Support.Compare(X, Y) > 0 to be true!');
Check(Support.Compare(Y, X) < 0, 'Expected Support.Compare(Y, X) < 0 to be true!');
Check(Support.AreEqual(X, X), 'Expected Support.AreEqual(X, X) to be true!');
Check(Support.AreEqual(Y, Y), 'Expected Support.AreEqual(Y, Y) to be true!');
Check(not Support.AreEqual(X, Y), 'Expected Support.AreEqual(X, Y) to be false!');
Check(Support.GenerateHashCode(X) = Support.GenerateHashCode(X), 'Expected Support.GenerateHashCode(X) to be stable!');
Check(Support.GenerateHashCode(Y) = Support.GenerateHashCode(Y), 'Expected Support.GenerateHashCode(Y) to be stable!');
Check(Support.GenerateHashCode(Y) <> Support.GenerateHashCode(X), 'Expected Support.GenerateHashCode(X/Y) to be different!');
Check(Support.GetString(X) = '39712903721983712893712893712893718927389217312321893712986487234623785', 'Expected Support.GetString(X) = "39712903721983712893712893712893718927389217312321893712986487234623785"');
Check(Support.GetString(Y) = '29712903721983712893712893712893718927389217312321893712986487234623785', 'Expected Support.GetString(Y) = "29712903721983712893712893712893718927389217312321893712986487234623785"');
Check(Support.Name = 'Nullable<DeHL.Math.BigCardinal.BigCardinal>', 'Type Name = "Nullable<DeHL.Math.BigCardinal.BigCardinal>"');
Check(Support.Size = SizeOf(Nullable<BigCardinal>), 'Type Size = SizeOf(Nullable<BigCardinal>)');
Check(Support.TypeInfo = TypeInfo(Nullable<BigCardinal>), 'Type information provider failed!');
Check(Support.Family = tfUnknown, 'Type Family = tfUnknown');
Check(Support.Management() = tmCompiler, 'Type support = tmCompiler');
Check(TType<Nullable<BigCardinal>>.Default.GetString(X) = Support.GetString(X), 'CCTOR registration failed!');
CheckException(ENilArgumentException,
procedure()
begin
Support := TNullableType<BigCardinal>.Create(nil);
end,
'ENilArgumentException not thrown in ctor(nil)'
);
end;
procedure TTestNullable.TestValue;
var
X: Nullable<String>;
begin
X.Value := 'Hello!';
Check(X.Value = 'Hello!', 'Value expected to be "Hello!"');
Check(not X.IsNull, 'X should not be null');
X.Value := X.Value + ' World!';
Check(X.Value = 'Hello! World!', 'Invalid cummulative value');
end;
procedure TTestNullable.TestValueOrDefault;
var
X: Nullable<String>;
begin
X := 'Hello';
Check(X.ValueOrDefault = 'Hello', 'Expected the normal value to be retrieved');
X.MakeNull;
Check(X.ValueOrDefault = '', 'Expected the default value to be retrieved');
end;
initialization
TestFramework.RegisterTest(TTestNullable.Suite);
end.
|
unit Parse;
////////////////////////////////////////////////////////////////////////////////
//
// Author: Jaap Baak
// https://github.com/transportmodelling/Utils
//
////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////
interface
////////////////////////////////////////////////////////////////////////////////
Uses
Classes,SysUtils,ArrayBld;
Type
TToken = record
private
FValue: String;
public
Class Operator Implicit(Token: TToken): String;
Class Operator Implicit(Token: TToken): Integer;
Class Operator Implicit(Token: TToken): Int64;
Class Operator Implicit(Token: TToken): Float32;
Class Operator Implicit(Token: TToken): Float64;
public
Function ToChar: Char; inline;
Function ToInt: Integer; inline;
Function ToFloat: Float64; inline;
Function Round: Integer; inline;
public
Property Value: string read FValue;
end;
TDelimiter = (Comma,Tab,Semicolon,Space);
TStringParser = record
private
FTokens: TArray<String>;
FSeparators: TArray<Char>;
SplitOptions: TStringSplitOptions;
ParseMethod: Integer;
Function GetExcludeEmpty: Boolean;
Procedure SetExcludeEmpty(ExcludeEmpty: Boolean);
Function GetTokens(Token: Integer): TToken; inline;
Function GetChar(Token: Integer): Char; inline;
Function GetStr(Token: Integer): String; inline;
Function GetByte(Token: Integer): Byte; inline;
Function GetInt(Token: Integer): Integer; inline;
Function GetInt64(Token: Integer): Int64; inline;
Function GetFloat(Token: Integer): Float64; inline;
public
Class Operator Initialize(out Tokenizer: TStringParser);
public
// Parse options
Procedure SetSeparators(const Separators: array of Char);
Function SeparatorCount: Integer;
Function GetSeparators(Index: Integer): Char;
Property ExcludeEmpty: Boolean read GetExcludeEmpty write SetExcludeEmpty;
// Parse methods
Procedure CSV;
Procedure TabDelimited;
Procedure SpaceDelimited;
Procedure SemicolonDelimited;
// Manage content
Constructor Create(Delimiter: TDelimiter; const Line: String = '');
Procedure Clear;
Procedure Assign(const Line: String); overload;
Procedure Assign(const Line: String; Quote: Char); overload;
Procedure ReadLine(var TextFile: TextFile); overload;
Procedure ReadLine(const TextReader: TTextReader); overload;
// Query Tokens
Function Count: Integer; inline;
Property Tokens[Token: Integer]: TToken read GetTokens; default;
Property Char[Token: Integer]: Char read GetChar;
Property Str[Token: Integer]: String read GetStr;
Property Byte[Token: Integer]: Byte read GetByte;
Property Int[Token: Integer]: Integer read GetInt;
Property Int64[Token: Integer]: Int64 read GetInt64;
Property Float[Token: Integer]: Float64 read GetFloat;
Function ToStrArray: TArray<String>; overload;
Function ToStrArray(Offset,Count: Integer): TArray<String>; overload;
Function ToIntArray: TArray<Int32>; overload;
Function ToIntArray(Offset,Count: Integer): TArray<Int32>; overload;
Function ToFloatArray: TArray<Float64>; overload;
Function ToFloatArray(Offset,Count: Integer): TArray<Float64>; overload;
Function ToFloatArray(const FormatSettings: TFormatSettings): TArray<Float64>; overload;
Function ToFloatArray(const FormatSettings: TFormatSettings; Offset,Count: Integer): TArray<Float64>; overload;
Function TryToIntArray(out Values: TArray<Int32>): Boolean; overload;
Function TryToIntArray(Offset,Count: Integer; out Values: TArray<Int32>): Boolean; overload;
Function TryToFloatArray(out Values: TArray<Float64>): Boolean; overload;
Function TryToFloatArray(Offset,Count: Integer; out Values: TArray<Float64>): Boolean; overload;
Function TryToFloatArray(const FormatSettings: TFormatSettings; out Values: TArray<Float64>): Boolean; overload;
Function TryToFloatArray(const FormatSettings: TFormatSettings; Offset,Count: Integer; out Values: TArray<Float64>): Boolean; overload;
end;
TFixedWidthParser = record
private
FTokens: TArray<String>;
Widths: TArray<Integer>;
Function GetTokens(Token: Integer): TToken; inline;
Function GetInt(Token: Integer): Integer; inline;
Function GetFloat(Token: Integer): Float64; inline;
public
// Initialization
Constructor Create(const FixedWidths: array of Integer);
// Manage content
Procedure Assign(Line: String); overload;
Procedure ReadLine(var TextFile: TextFile); overload;
Procedure ReadLine(const TextReader: TTextReader); overload;
// Query Tokens
Function Count: Integer; inline;
Property Tokens[Token: Integer]: TToken read GetTokens; default;
Property Int[Token: Integer]: Integer read GetInt;
Property Float[Token: Integer]: Float64 read GetFloat;
end;
////////////////////////////////////////////////////////////////////////////////
implementation
////////////////////////////////////////////////////////////////////////////////
Class Operator TToken.Implicit(Token: TToken): String;
begin
Result := Token.Value;
end;
Class Operator TToken.Implicit(Token: TToken): Integer;
begin
Result := Token.Value.ToInteger;
end;
Class Operator TToken.Implicit(Token: TToken): Int64;
begin
Result := Token.Value.ToInt64;
end;
Class Operator TToken.Implicit(Token: TToken): Float32;
begin
Result := Token.Value.ToSingle;
end;
Class Operator TToken.Implicit(Token: TToken): Float64;
begin
Result := Token.Value.ToDouble;
end;
Function TToken.ToChar: Char;
begin
if Value.Length = 1 then
Result := Value[1]
else
raise Exception.Create('Invalid token length');
end;
Function TToken.ToInt: Integer;
begin
Result := Value.ToInteger;
end;
Function TToken.ToFloat: Float64;
begin
Result := Value.ToDouble;
end;
Function TToken.Round: Integer;
begin
Result := System.Round(ToFloat);
end;
////////////////////////////////////////////////////////////////////////////////
Class Operator TStringParser.Initialize(out Tokenizer: TStringParser);
begin
Tokenizer.ParseMethod := -1;
Tokenizer.SpaceDelimited;
end;
Function TStringParser.GetExcludeEmpty: Boolean;
begin
Result := (SplitOptions = TStringSplitOptions.ExcludeEmpty);
end;
Procedure TStringParser.SetExcludeEmpty(ExcludeEmpty: Boolean);
begin
if ExcludeEmpty <> GetExcludeEmpty then
begin
FTokens := nil;
ParseMethod := -1;
if ExcludeEmpty then
SplitOptions := TStringSplitOptions.ExcludeEmpty
else
SplitOptions := TStringSplitOptions.None;
end;
end;
Function TStringParser.GetTokens(Token: Integer): TToken;
begin
Result.FValue := FTokens[Token];
end;
Function TStringParser.GetChar(Token: Integer): Char;
begin
if FTokens[Token].Length = 1 then
Result := FTokens[Token][1]
else
raise Exception.Create('Invalid token length');
end;
Function TStringParser.GetStr(Token: Integer): String;
begin
Result := FTokens[Token];
end;
Function TStringParser.GetByte(Token: Integer): Byte;
begin
Result := FTokens[Token].ToInteger;
end;
Function TStringParser.GetInt(Token: Integer): Integer;
begin
Result := FTokens[Token].ToInteger;
end;
Function TStringParser.GetInt64(Token: Integer): Int64;
begin
Result := FTokens[Token].ToInt64;
end;
Function TStringParser.GetFloat(Token: Integer): Float64;
begin
Result := FTokens[Token].ToDouble;
end;
Procedure TStringParser.SetSeparators(const Separators: array of Char);
begin
FTokens := nil;
ParseMethod := -1;
FSeparators := TCharArrayBuilder.Create(Separators);
end;
Function TStringParser.SeparatorCount: Integer;
begin
Result := Length(FSeparators);
end;
Function TStringParser.GetSeparators(Index: Integer): Char;
begin
Result := FSeparators[Index];
end;
Procedure TStringParser.CSV;
begin
if ParseMethod <> Ord(Comma) then
begin
SetSeparators([#44]);
ExcludeEmpty := false;
ParseMethod := Ord(Comma);
end;
end;
Procedure TStringParser.TabDelimited;
begin
if ParseMethod <> Ord(Tab) then
begin
SetSeparators([#9]);
ExcludeEmpty := false;
ParseMethod := Ord(Tab);
end;
end;
Procedure TStringParser.SpaceDelimited;
begin
if ParseMethod <> Ord(Space) then
begin
SetSeparators([#9,#32]);
ExcludeEmpty := true;
ParseMethod := Ord(Space);
end;
end;
Procedure TStringParser.SemicolonDelimited;
begin
if ParseMethod <> Ord(Semicolon) then
begin
SetSeparators([#59]);
ExcludeEmpty := false;
ParseMethod := Ord(Semicolon);
end;
end;
Constructor TStringParser.Create(Delimiter: TDelimiter; const Line: String = '');
begin
// Initialize
case Delimiter of
Comma: CSV;
Tab: TabDelimited;
SemiColon: SemicolonDelimited;
Space: SpaceDelimited;
end;
// Assign content
Assign(Line);
end;
Procedure TStringParser.Clear;
begin
FTokens := nil;
end;
Procedure TStringParser.Assign(const Line: String);
begin
FTokens := Line.Split(FSeparators,SplitOptions);
end;
Procedure TStringParser.Assign(const Line: String; Quote: Char);
begin
FTokens := Line.Split(FSeparators,Quote,Quote,SplitOptions);
end;
Procedure TStringParser.ReadLine(var TextFile: TextFile);
var
Line: String;
begin
readln(TextFile,Line);
Assign(Line);
end;
Procedure TStringParser.ReadLine(const TextReader: TTextReader);
begin
Assign(TextReader.ReadLine);
end;
Function TStringParser.Count: Integer;
begin
Result := Length(FTokens);
end;
Function TStringParser.ToStrArray: TArray<String>;
begin
Result := ToStrArray(0,Count);
end;
Function TStringParser.ToStrArray(Offset,Count: Integer): TArray<String>;
begin
SetLength(Result,Count);
for var Token := 0 to Count-1 do Result[Token] := FTokens[Token+Offset];
end;
Function TStringParser.ToIntArray: TArray<Int32>;
begin
Result := ToIntArray(0,Count);
end;
Function TStringParser.ToIntArray(Offset,Count: Integer): TArray<Int32>;
begin
SetLength(Result,Count);
for var Token := 0 to Count-1 do Result[Token] := StrToInt(FTokens[Token+Offset]);
end;
Function TStringParser.ToFloatArray: TArray<Float64>;
begin
Result := ToFloatArray(FormatSettings,0,Count);
end;
Function TStringParser.ToFloatArray(Offset,Count: Integer): TArray<Float64>;
begin
Result := ToFloatArray(FormatSettings,Offset,Count);
end;
Function TStringParser.ToFloatArray(const FormatSettings: TFormatSettings): TArray<Float64>;
begin
Result := ToFloatArray(FormatSettings,0,Count);
end;
Function TStringParser.ToFloatArray(const FormatSettings: TFormatSettings; Offset,Count: Integer): TArray<Float64>;
begin
SetLength(Result,Count);
for var Token := 0 to Count-1 do Result[Token] := StrToFloat(FTokens[Token+Offset],FormatSettings);
end;
Function TStringParser.TryToIntArray(out Values: TArray<Int32>): Boolean;
begin
Result := TryToIntArray(0,Count,Values);
end;
Function TStringParser.TryToIntArray(Offset,Count: Integer; out Values: TArray<Int32>): Boolean;
begin
Result := true;
SetLength(Values,Count);
for var Token := 0 to Count-1 do
if not TryStrToInt(FTokens[Token+Offset],Values[Token]) then Exit(false);
end;
Function TStringParser.TryToFloatArray(out Values: TArray<Float64>): Boolean;
begin
Result := TryToFloatArray(FormatSettings,0,Count,Values);
end;
Function TStringParser.TryToFloatArray(Offset,Count: Integer; out Values: TArray<Float64>): Boolean;
begin
Result := TryToFloatArray(FormatSettings,Offset,Count,Values);
end;
Function TStringParser.TryToFloatArray(const FormatSettings: TFormatSettings; out Values: TArray<Float64>): Boolean;
begin
Result := TryToFloatArray(FormatSettings,0,Count,Values);
end;
Function TStringParser.TryToFloatArray(const FormatSettings: TFormatSettings; Offset,Count: Integer; out Values: TArray<Float64>): Boolean;
begin
Result := true;
SetLength(Values,Count);
for var Token := 0 to Count-1 do
if not TryStrToFloat(FTokens[Token+Offset],Values[Token],FormatSettings) then Exit(false);
end;
////////////////////////////////////////////////////////////////////////////////
Constructor TFixedWidthParser.Create(const FixedWidths: array of Integer);
begin
Finalize(FTokens);
Widths := TArrayBuilder<Integer>.Create(FixedWidths);
end;
Function TFixedWidthParser.GetTokens(Token: Integer): TToken;
begin
Result.FValue := FTokens[Token];
end;
Function TFixedWidthParser.GetInt(Token: Integer): Integer;
begin
Result := Trim(FTokens[Token]).ToInteger;
end;
Function TFixedWidthParser.GetFloat(Token: Integer): Float64;
begin
Result := Trim(FTokens[Token]).ToDouble;
end;
Procedure TFixedWidthParser.Assign(Line: String);
begin
var Pos := 1;
SetLength(FTokens,Length(Widths));
for var Token := 0 to Count-1 do
begin
FTokens[Token] := Copy(Line,Pos,Widths[Token]);
Inc(Pos,Widths[Token]);
end;
end;
Procedure TFixedWidthParser.ReadLine(var TextFile: TextFile);
var
Line: String;
begin
readln(TextFile,Line);
Assign(Line);
end;
Procedure TFixedWidthParser.ReadLine(const TextReader: TTextReader);
begin
Assign(TextReader.ReadLine);
end;
Function TFixedWidthParser.Count: Integer;
begin
Result := Length(FTokens);
end;
end.
|
unit uFamilyMgr;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uGlobal, cxGraphics, cxControls, cxLookAndFeels,
cxLookAndFeelPainters, cxStyles, dxSkinsCore, dxSkinCaramel,
cxCustomData, cxFilter, cxData, cxDataStorage, cxEdit,
DB, cxDBData, cxLabel, ADODB, cxGridLevel, cxGridCustomTableView,
cxGridTableView, cxGridDBTableView, cxClasses, cxGridCustomView, cxGrid,
Menus, StdCtrls, cxButtons, dxSkinOffice2007Blue, dxSkinBlack, dxSkinBlue,
dxSkinCoffee, dxSkinDarkRoom, dxSkinDarkSide, dxSkinFoggy, dxSkinGlassOceans,
dxSkiniMaginary, dxSkinLilian, dxSkinLiquidSky, dxSkinLondonLiquidSky,
dxSkinMcSkin, dxSkinMoneyTwins, dxSkinOffice2007Black, dxSkinOffice2007Green,
dxSkinOffice2007Pink, dxSkinOffice2007Silver, dxSkinPumpkin, dxSkinSeven,
dxSkinSharp, dxSkinSilver, dxSkinSpringTime, dxSkinStardust, dxSkinSummer2008,
dxSkinsDefaultPainters, dxSkinValentine, dxSkinXmas2008Blue, dxSkinBlueprint,
dxSkinDevExpressDarkStyle, dxSkinDevExpressStyle, dxSkinHighContrast,
dxSkinMetropolis, dxSkinMetropolisDark, dxSkinOffice2010Black,
dxSkinOffice2010Blue, dxSkinOffice2010Silver, dxSkinOffice2013DarkGray,
dxSkinOffice2013LightGray, dxSkinOffice2013White, dxSkinSevenClassic,
dxSkinSharpPlus, dxSkinTheAsphaltWorld, dxSkinVS2010, dxSkinWhiteprint,
dxSkinscxPCPainter, cxNavigator;
type
TfrmFamilyMgr = class(TForm)
cxGrid1: TcxGrid;
cxGFamily: TcxGridDBTableView;
cxGFamilyRelationshipName: TcxGridDBColumn;
cxGFamilyFamilyName: TcxGridDBColumn;
cxGFamilyInMate: TcxGridDBColumn;
cxGFamilyHealth: TcxGridDBColumn;
cxGFamilyETC: TcxGridDBColumn;
cxGrid1Level1: TcxGridLevel;
adoFamily: TADOQuery;
dsFamily: TDataSource;
btnFamilyAppend: TcxButton;
btnFamilyUpdate: TcxButton;
btnFamilyDelete: TcxButton;
btnClose: TcxButton;
procedure btnFamilyAppendClick(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure btnFamilyUpdateClick(Sender: TObject);
procedure dsFamilyDataChange(Sender: TObject; Field: TField);
procedure btnFamilyDeleteClick(Sender: TObject);
procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
private
{ Private declarations }
procedure SetControls;
public
{ Public declarations }
Modified: Boolean;
adoInOut: TAdoQuery;
end;
var
frmFamilyMgr: TfrmFamilyMgr;
implementation
uses uConfig, uDB, uFamilyInput, uQuery;
{$R *.dfm}
procedure TfrmFamilyMgr.btnFamilyAppendClick(Sender: TObject);
var
oInput: TfrmFamilyInput;
nFamilyID: integer;
begin
if not adoFamily.Active then Exit;
Application.CreateForm(TfrmFamilyInput, oInput);
oInput.Relation.Clear;
if oInput.ShowModal = mrOK then
begin
try
adoFamily.Connection.BeginTrans;
adoFamily.Append;
adoFamily.FieldByName('InOutID').AsInteger := adoInOut.FieldByName('InOutID').AsInteger;// oInOut.InOutID;
adoFamily.FieldByName('FamilyName').AsString := oInput.Relation.FamilyName;
adoFamily.FieldByName('InMate').AsBoolean := oInput.Relation.InMate;
adoFamily.FieldByName('Health').AsString := oInput.Relation.Health;
adoFamily.FieldByName('Pay').AsBoolean := oInput.Relation.Pay;
adoFamily.FieldByName('RelationshipID').AsInteger := oInput.Relation.RelationshipID;
adoFamily.Post;
adoFamily.Connection.CommitTrans;
nFamilyID := adoFamily.FieldByName('FamilyID').AsInteger;
adoFamily.Close;
adoFamily.Open;
adoFamily.Locate('FamilyID', nFamilyID, [loCaseInsensitive]);
oGlobal.Msg('추가하였습니다!');
Modified := True;
except
adoFamily.Cancel;
adoFamily.Connection.RollbackTrans;
oGlobal.Msg('추가하지 못햇습니다!');
end;
end;
oInput.Free;
end;
procedure TfrmFamilyMgr.btnFamilyDeleteClick(Sender: TObject);
var
oT: TADOQuery;
begin
if adoFamily.IsEmpty then Exit;
if oGlobal.YesNo('삭제하시겠습니까?') <> mrYes then
Exit;
oT := TADOQuery.Create(self);
oT.Connection := adoFamily.Connection;
oT.SQL.Text := 'DELETE Families WHERE FamilyID=' + adoFamily.FieldByName('FamilyID').AsString;
try
oT.Connection.BeginTrans;
oT.ExecSQL;
oT.Connection.CommitTrans;
adoFamily.Close;
adoFamily.Open;
oGlobal.Msg('삭제하였습니다!');
Modified := True;
except
oT.Connection.RollbackTrans;
oGlobal.Msg('삭제하지 못했습니다!');
end;
oT.Free;
end;
procedure TfrmFamilyMgr.btnFamilyUpdateClick(Sender: TObject);
var
oInput: TfrmFamilyInput;
nFamilyID: integer;
begin
if adoFamily.IsEmpty then Exit;
Application.CreateForm(TfrmFamilyInput, oInput);
oInput.Relation.Clear;
oInput.Relation.FamilyName := adoFamily.FieldByName('FamilyName').AsString;
oInput.Relation.Health := adoFamily.FieldByName('Health').AsString;
oInput.Relation.InMate := adoFamily.FieldByName('InMate').AsBoolean;
oInput.Relation.Pay := adoFamily.FieldByName('Pay').AsBoolean;
oInput.Relation.RelationshipID := adoFamily.FieldByName('RelationshipID').AsInteger;
oInput.Relation.RelationshipName := adoFamily.FieldByName('RelationshipName').AsString;
if oInput.ShowModal = mrOK then
begin
try
adoFamily.Connection.BeginTrans;
adoFamily.Edit;
adoFamily.FieldByName('FamilyName').AsString := oInput.Relation.FamilyName;
adoFamily.FieldByName('InMate').AsBoolean := oInput.Relation.InMate;
adoFamily.FieldByName('Health').AsString := oInput.Relation.Health;
adoFamily.FieldByName('Pay').AsBoolean := oInput.Relation.Pay;
adoFamily.FieldByName('RelationshipID').AsInteger := oInput.Relation.RelationshipID;
adoFamily.Post;
adoFamily.Connection.CommitTrans;
nFamilyID := adoFamily.FieldByName('FamilyID').AsInteger;
adoFamily.Close;
adoFamily.Open;
adoFamily.Locate('FamilyID', nFamilyID, [loCaseInsensitive]);
oGlobal.Msg('수정하였습니다!');
Modified := True;
except
adoFamily.Cancel;
adoFamily.Connection.RollbackTrans;
oGlobal.Msg('수정하지 못햇습니다!');
end;
end;
oInput.Free;
end;
procedure TfrmFamilyMgr.dsFamilyDataChange(Sender: TObject; Field: TField);
begin
SetControls;
end;
procedure TfrmFamilyMgr.FormClose(Sender: TObject; var Action: TCloseAction);
begin
adoInOut := nil;
end;
procedure TfrmFamilyMgr.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if Key = VK_ESCAPE then
Close;
end;
procedure TfrmFamilyMgr.FormShow(Sender: TObject);
begin
Modified := False;
try
adoFamily.SQL.Text := QueryFamily(adoInOut.FieldByName('InOutID').AsInteger);
adoFamily.Open;
except
oGlobal.Msg('가족관계정보에 접근할 수 없습니다!');
Close;
end;
end;
procedure TfrmFamilyMgr.SetControls;
begin
btnFamilyAppend.Enabled := adoFamily.Active;
btnFamilyUpdate.Enabled := not adoFamily.IsEmpty;
btnFamilyDelete.Enabled := not adoFamily.IsEmpty;
end;
end.
|
{$include kode.inc}
unit kode_thread;
{
TODO:
- linux (pthread)
}
//----------------------------------------------------------------------
interface
//----------------------------------------------------------------------
{$ifdef KODE_WIN32}
uses
KODE_WINDOWS_UNIT;//Windows;
//#include <unistd.h> // sleep
{$endif}
//----------
type
KThreadBase = class
protected
FThreadRunning : Boolean;
FThreadSleep : LongInt;
public
constructor create;
destructor destroy; override;
procedure startThread(ms:LongInt=-1); virtual; // -1 = no timer
procedure stopThread; virtual;
public
procedure on_threadFunc; virtual; // called at thread creation, or every timer tick if ms > 0
end;
//----------
{$ifdef KODE_WIN32}
KThreadWin32 = class(KThreadBase)
private
FThreadHandle : HANDLE;
FThreadID : DWORD;
public
constructor create;
destructor destroy; override;
procedure startThread(ms:LongInt=-1); override;
procedure stopThread; override;
end;
KThread = KThreadWin32;
{$endif}
//----------------------------------------------------------------------
implementation
//----------------------------------------------------------------------
//----------------------------------------------------------------------
// KThreadBase
//----------------------------------------------------------------------
constructor KThreadBase.create;
begin
FThreadRunning := False;
FThreadSleep := -1;
end;
//----------
destructor KThreadBase.destroy;
begin
end;
//----------
procedure KThreadBase.startThread(ms:LongInt);
begin
end;
//----------
procedure KThreadBase.stopThread;
begin
end;
//----------
procedure KThreadBase.on_threadFunc;
begin
end;
//----------------------------------------------------------------------
// TThreadWin32
//----------------------------------------------------------------------
{$ifdef KODE_WIN32}
//static DWORD WINAPI threadProc(LPVOID data)
function win32_threadProc(data:LPVOID) : DWORD;
var
thr : KThreadWin32;
begin
thr := KThreadWin32(data);
if Assigned (thr) then
begin
if thr.FThreadSleep >= 0 then
begin
while thr.FThreadRunning = True do
begin
thr.on_threadFunc();
Sleep(thr.FThreadSleep);
end;
end else thr.on_threadFunc();
end;
result := 0;
end;
//----------
constructor KThreadWin32.create;
begin
inherited;
FThreadHandle := 0;
FThreadID := 0;
end;
//----------
destructor KThreadWin32.destroy;
begin
if FThreadRunning then stopThread;
end;
//----------
procedure KThreadWin32.startThread(ms:LongInt);
begin
FThreadSleep := ms;
FThreadRunning := true;
FThreadHandle := CreateThread(nil,0,@win32_threadProc,LPVOID(self),0,FThreadID);
end;
//----------
procedure KThreadWin32.stopThread;
//var
// ret : Pointer;
// waiter : DWORD;
begin
FThreadRunning := false;
{waiter :=} WaitForSingleObject(FThreadHandle,INFINITE);
CloseHandle(FThreadHandle);
end;
{$endif} // KODE_WIN32
(*
//----------------------------------------------------------------------
#ifdef AX_LINUX
//----------------------------------------------------------------------
#include <pthread.h>
#include <unistd.h> // sleep
class axThread : public axThreadBase
{
private:
pthread_t mThreadHandle;
//bool mThreadRunning;
//int mThreadSleep;
private:
static void* threadProc(void* data)
{
axThread* thr = (axThread* )data;
if (thr)
{
if (thr->mThreadSleep>=0)
{
while (thr->mThreadRunning)
{
thr->doThreadFunc();
usleep(thr->mThreadSleep*1000); //ms*1000;
}
} else thr->doThreadFunc();
}
return NULL;
}
public:
axThread()
: axThreadBase()
{
mThreadHandle = 0;
//mThreadRunning = false;
//mThreadSleep = -1;
}
virtual ~axThread()
{
if (mThreadRunning) stopThread();
}
//virtual void doThreadFunc(void) {}
virtual void startThread(int ms=-1)
{
mThreadSleep = ms;
mThreadRunning = true;
pthread_create(&mThreadHandle,NULL,&threadProc,this);
}
virtual void stopThread(void)
{
mThreadRunning = false;
void* ret;
pthread_join(mThreadHandle,&ret);
}
};
#endif
*)
//----------------------------------------------------------------------
end.
|
// ----------------------------------------------------------------------------
// Unit : PxRemoteStreamDefs.pas - a part of PxLib
// Author : Matthias Hryniszak
// Date : 2005-02-01
// Version : 1.0
// Description : Remote stream - definitions
// Changes log : 2005-02-01 - initial version
// ToDo : Testing, comments in code.
// ----------------------------------------------------------------------------
unit PxRemoteStreamDefs;
{$I PxDefines.inc}
interface
uses
Windows, Winsock, Classes, SysUtils,
{$IFDEF VER130}
PxDelphi5,
{$ENDIF}
PxBase;
const
PX_REMOTE_STREAM_PORT = 7010;
PX_USER_SPACE_SIZE = 1500-40-2;
PX_RES_OK = 0;
PX_RES_ERROR = 1;
PX_CMD_OPEN = 1;
PX_CMD_SET_SIZE = 2;
PX_CMD_READ = 3;
PX_CMD_WRITE = 4;
PX_CMD_SEEK = 5;
PX_CMD_GET_FILE_AGE = 6;
PX_CMD_CLOSE = 7;
PX_CMD_DELETE = 8;
type
TPxRemoteStreamHeader = packed record
Command : Word;
end;
TPxRemoteStreamPacket = packed record
Command : Word;
Data : array[0..PX_USER_SPACE_SIZE-1] of Byte;
end;
PPxRemoteStreamResponse = ^TPxRemoteStreamResponse;
TPxRemoteStreamResponse = packed record
Header : TPxRemoteStreamHeader;
end;
PPxRemoteStreamOpenFilePacket = ^TPxRemoteStreamOpenFilePacket;
TPxRemoteStreamOpenFilePacket = packed record
Header : TPxRemoteStreamHeader;
Mode : Word;
Backup : Byte; // 0 - don't make a backup copy; 1 - make a backup copy
FileName: array[0..31] of Char;
end;
PPxRemoteStreamSetSizePacket = ^TPxRemoteStreamSetSizePacket;
TPxRemoteStreamSetSizePacket = packed record
Header : TPxRemoteStreamHeader;
NewSize : Int64;
end;
PPxRemoteStreamReadRequestPacket = ^TPxRemoteStreamReadRequestPacket;
TPxRemoteStreamReadRequestPacket = packed record
Header : TPxRemoteStreamHeader;
Count : Int64;
end;
PPxRemoteStreamReadResponsePacket = ^TPxRemoteStreamReadResponsePacket;
TPxRemoteStreamReadResponsePacket = packed record
Header : TPxRemoteStreamHeader;
Count : Int64;
Data : array[0..PX_USER_SPACE_SIZE-8-1] of Byte;
end;
PPxRemoteStreamWritePacket = ^TPxRemoteStreamWritePacket;
TPxRemoteStreamWritePacket = packed record
Header : TPxRemoteStreamHeader;
Count : Int64;
Data : array[0..PX_USER_SPACE_SIZE-8-1] of Byte;
end;
PPxRemoteStreamWriteResponse = ^TPxRemoteStreamWriteResponse;
TPxRemoteStreamWriteResponse = packed record
Header : TPxRemoteStreamHeader;
Count : Int64;
end;
PPxRemoteStreamSeekRequestPacket = ^TPxRemoteStreamSeekRequestPacket;
TPxRemoteStreamSeekRequestPacket = packed record
Header : TPxRemoteStreamHeader;
Offset : Int64;
Origin : TSeekOrigin;
end;
PPxRemoteStreamSeekResponsePacket = ^TPxRemoteStreamSeekResponsePacket;
TPxRemoteStreamSeekResponsePacket = packed record
Header : TPxRemoteStreamHeader;
Offset : Int64;
end;
PPxRemoteStreamGetFileAgeRequest = ^TPxRemoteStreamGetFileAgeRequest;
TPxRemoteStreamGetFileAgeRequest = packed record
Header : TPxRemoteStreamHeader;
end;
PPxRemoteStreamGetFileAgeResponse = ^TPxRemoteStreamGetFileAgeResponse;
TPxRemoteStreamGetFileAgeResponse = packed record
Header : TPxRemoteStreamHeader;
FileAge : TDateTime;
end;
PPxRemoteStreamDeleteFilePacket = ^TPxRemoteStreamDeleteFilePacket;
TPxRemoteStreamDeleteFilePacket = packed record
Header : TPxRemoteStreamHeader;
Backup : Byte; // 0 - don't make a backup copy; 1 - make a backup copy
FileName: array[0..31] of Char;
end;
type
EPxRemoteStreamException = class (EPxException);
implementation
procedure Initialize;
var
WSAData: TWSAData;
begin
WSAStartup($101, WSAData);
end;
procedure Finalize;
begin
WSACleanup;
end;
initialization
Initialize;
finalization
Finalize;
end.
|
unit FeedbackClass;
interface
type TIndivFeedback = Class
private
FFeedbackTime : TDateTime;
FUser : String[15];
FTopic : String[30];
FTopicCorrectMarks : Array [1..8] of Byte;
FTopicTotalMarks : Array[1..8] of Byte;
FCorrectMarks : Byte;
FTotalMarks : Byte;
FComments : String[255];
public
function GetUser : String;
function GetTopic : String;
function GetComments : String;
function GetTopicCorrectMarks (Index : Integer) : Byte;
function GetTopicTotalMarks (Index : Integer) : Byte;
procedure SetFeedbackTime (NewFeedbackTime : TDateTime);
procedure SetUser (NewUser : String);
procedure SetTopic (NewTopic : String);
procedure SetTopicCorrectMarks (Index : Integer; Mark : Byte);
procedure SetTopicTotalMarks (Index : Integer; Mark : Byte);
procedure SetCorrectMarks (NewCorrectMarks : Byte);
procedure SetTotalMarks (NewTotalMarks : Byte);
procedure SetComments (NewComments : String);
property FeedbackTime : TDateTime read FFeedbackTime write SetFeedbackTime;
property User : String read GetUser write SetUser;
property Topic : String read GetTopic write SetTopic;
property TopicCorrectMarks[Index : Integer] : Byte read GetTopicCorrectMarks write SetTopicCorrectMarks;
property TopicTotalMarks[Index : Integer] : Byte read GetTopicTotalMarks write SetTopicTotalMarks;
property CorrectMarks : Byte read FCorrectMarks write SetCorrectMarks;
property TotalMarks : Byte read FTotalMarks write SetTotalMarks;
property Comments : String read GetComments write SetComments;
end;
implementation
function TIndivFeedback.GetUser : String;
begin
Result := String(FUser);
end;
function TIndivFeedback.GetTopic : String;
begin
Result := String(FTopic);
end;
function TIndivFeedback.GetComments : String;
begin
Result := String(FComments);
end;
function TIndivFeedback.GetTopicCorrectMarks(Index: Integer) : Byte;
begin
Result := FTopicCorrectMarks[Index];
end;
function TIndivFeedback.GetTopicTotalMarks(Index: Integer) : Byte;
begin
Result := FTopicTotalMarks[Index];
end;
procedure TIndivFeedback.SetFeedbackTime (NewFeedbackTime : TDateTime);
begin
FFeedbackTime := NewFeedbackTime;
end;
procedure TIndivFeedback.SetUser (NewUser : String);
begin
FUser := AnsiString(NewUser);
end;
procedure TIndivFeedback.SetTopic (NewTopic : String);
begin
FTopic := AnsiString(NewTopic);
end;
procedure TIndivFeedback.SetTopicCorrectMarks (Index : Integer; Mark : Byte);
begin
FTopicCorrectMarks[Index] := Mark;
end;
procedure TIndivFeedback.SetTopicTotalMarks(Index : Integer; Mark : Byte);
begin
FTopicTotalMarks[Index] := Mark;
end;
procedure TIndivFeedback.SetCorrectMarks (NewCorrectMarks : Byte);
begin
FCorrectMarks := NewCorrectMarks;
end;
procedure TIndivFeedback.SetTotalMarks (NewTotalMarks : Byte);
begin
FTotalMarks := NewTotalMarks;
end;
procedure TIndivFeedback.SetComments (NewComments : String);
begin
FComments := AnsiString(NewComments);
end;
end.
|
(* @file UTime.pas
* @author Willi Schinmeyer
* @date 2011-10-24
*
* UTime Unit
*
* Functions for dealing with time.
*)
Unit UTime;
interface
(*
* @brief Returns the milliseconds since midnight.
*)
function getMillisecondsSinceMidnight() : longint;
(*
* @brief Returns the difference between two times, assuming a
* "midnight overflow" happened if the earlierTime is later.
*)
function getDifference(laterTime, earlierTime : longint) : longint;
implementation
(* Sysutils contains some useful cross-platform time functions,
* amongst others *)
uses sysutils;
const
MILLISECONDS_PER_DAY : longint = 1000*60*60*24;
function getMillisecondsSinceMidnight() : longint;
var
(* returned by the function I use to get the current time *)
timestamp : TTimeStamp;
begin
(* get current time in days since 1970 and ms since midnight *)
timestamp := DateTimeToTimeStamp(Now);
getMillisecondsSinceMidnight := timestamp.Time;
end;
function getDifference(laterTime, earlierTime : longint) : longint;
begin
//this happens at midnight
if earlierTime > laterTime then
//milliseconds per day -
getDifference := laterTime + MILLISECONDS_PER_DAY -
earlierTime
else
getDifference := laterTime - earlierTime;
end;
begin
end.
|
unit sql.utils;
interface
uses System.SysUtils, System.TypInfo, System.Variants, System.Rtti;
function SQLFormat(Value : String; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : String; Size : Integer; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : Integer; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : TDate; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : TDateTime; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : TTime; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : Extended; Decimal : Integer = 2; IsNull : Boolean = False) : String; Overload;
function SQLFormat(Value : Variant; Size : Integer; IsNull : Boolean = False) : String; Overload;
function SQLFormat(TypeInfo : PTypeInfo; Value : Variant; Size : Integer; IsNull : Boolean = True) : String; Overload;
function SQLValueEmpty(Value : Variant) : Boolean;
implementation
uses sql.consts;
function SQLFormat(Value : String; IsNull : Boolean = False) : String; Overload;
begin
If (Value.IsEmpty And IsNull) Then
Result := SQLNull
Else
Result := Value.QuotedString;
end;
function SQLFormat(Value : String; Size : Integer; IsNull : Boolean = False) : String; Overload;
begin
If (Value.IsEmpty And IsNull) Then
Result := SQLNull
Else If (Size > 0) Then
Result := Value.Remove(Size).QuotedString
Else
Result := Value.QuotedString;
end;
function SQLFormat(Value : Integer; IsNull : Boolean = False) : String; Overload;
begin
If (Value = 0) And IsNull Then
Result := SQLNull
Else
Result := FormatFloat('0',Value);
end;
function SQLFormat(Value : TDate; IsNull : Boolean = False) : String; Overload;
begin
If (Value = 0) And IsNull Then
Result := SQLNull
Else
Result := SQLFormat(FormatDateTime(SQLDate,Value));
end;
function SQLFormat(Value : TDateTime; IsNull : Boolean = False) : String; Overload;
begin
If (Value = 0) And IsNull Then
Result := SQLNull
Else
Result := SQLFormat(FormatDateTime(SQLDateTime,Value));
end;
function SQLFormat(Value : TTime; IsNull : Boolean = False) : String; Overload;
begin
If (Value = 0) And IsNull Then
Result := SQLNull
Else
Result := SQLFormat(FormatDateTime(SQLTime,Value));
end;
function SQLFormat(Value : Extended; Decimal : Integer = 2; IsNull : Boolean = False) : String; Overload;
begin
If (Value = 0) And IsNull Then
Result := SQLNull
Else
Result := StringReplace(FormatFloat('0.' + StringOfChar('0',Decimal), Value),',','.',[rfIgnoreCase]);
end;
function SQLFormat(Value : Variant; Size : Integer; IsNull : Boolean = False) : String; Overload;
var V : TValue;
begin
V := TValue.FromVariant(Value);
Result := SQLNull;
If (V.TypeInfo = TypeInfo(TDateTime)) Then
Result := SQLFormat(TDateTime(Value),IsNull)
Else If (V.TypeInfo = TypeInfo(TDate)) Then
Result := SQLFormat(TDate(Value),IsNull)
Else If (V.TypeInfo = TypeInfo(TTime)) Then
Result := SQLFormat(TTime(Value),IsNull)
Else If (V.TypeInfo = TypeInfo(String)) Then
Result := SQLFormat(String(Value),IsNull)
Else If (V.TypeInfo = System.TypeInfo(Boolean)) Then
Result := SQLFormat(sql.consts.SQLBoolean[Boolean(Value)],IsNull)
Else If (V.TypeInfo = TypeInfo(Integer)) Or (V.TypeInfo = TypeInfo(Int64)) Or (V.TypeInfo = TypeInfo(Int32)) Then
Result := SQLFormat(Integer(Value),IsNull)
Else If (V.TypeInfo = TypeInfo(Extended)) Or (V.TypeInfo = TypeInfo(Double)) Or (V.TypeInfo = TypeInfo(Real)) Then
Begin
If (Size = 0) Then
Size := 2;
Result := SQLFormat(Extended(Value),Size,IsNull);
End;
end;
function SQLFormat(TypeInfo : PTypeInfo; Value : Variant; Size : Integer; IsNull : Boolean = True) : String; Overload;
Begin
Try
If (Value = null) Then
Result := 'null'
Else If (TypeInfo = System.TypeInfo(TDateTime)) Then
Result := sql.utils.SQLFormat(TDateTime(Value),IsNull)
Else If (TypeInfo = System.TypeInfo(TDate)) Then
Result := sql.utils.SQLFormat(TDate(Value),IsNull)
Else If (TypeInfo = System.TypeInfo(TTime)) Then
Result := sql.utils.SQLFormat(TTime(Value),IsNull)
Else If (TypeInfo = System.TypeInfo(Boolean)) Then
Result := sql.utils.SQLFormat(SQLBoolean[Boolean(Value)],IsNull)
Else If (TypeInfo = System.TypeInfo(Integer)) Or
(TypeInfo = System.TypeInfo(Int64)) Or (TypeInfo = System.TypeInfo(Int32)) Then
Result := sql.utils.SQLFormat(Integer(Value),IsNull)
Else If (TypeInfo = System.TypeInfo(Extended)) Or
(TypeInfo = System.TypeInfo(Double)) Or (TypeInfo = System.TypeInfo(Real)) Then
Begin
If (Size = 0) Then
Size := 2;
Result := sql.utils.SQLFormat(Extended(Value),Size,IsNull)
End Else
Result := sql.utils.SQLFormat(String(Value),Size,IsNull);
Except
Result := 'null';
End;
End;
function SQLValueEmpty(Value : Variant) : Boolean;
begin
Result := VarIsNull(Value);
If VarIsStr(Value) Then
Result := (Trim(String(Value)) = '')
Else If VarIsType(Value,varDate) Then
Result := (TDateTime(Value) = 0)
Else If VarIsFloat(Value) Then
Result := (Extended(Value) = 0)
Else If VarIsNumeric(Value) Then
Result := (Integer(Value) = 0);
end;
end.
|
unit Rotate;
interface
uses
LibGfl, Graphics;
//function ImageRotate (gfl_bmp: PGFL_BITMAP; Angle: Integer): TBitmap;
implementation
uses
Dialogs, mainFrm;
{
function ImageRotate (gfl_bmp: PGFL_BITMAP; Angle: Integer): TBitmap;
var
bmp: TBitmap;
y, ImagePixelFormat: Integer;
LineSrc: Pointer;
LineDest: Pointer;
var
color: TGFL_COLOR;
begin
// белый цвет фота
color.Red := $FF;
color.Green := $FF;
color.Blue := $FF;
gflRotate(gfl_bmp, nil, Angle, @color);
if (gfl_bmp.Btype = GFL_BINARY) then begin
ImagePixelFormat := 1;
end else begin
ImagePixelFormat := gfl_bmp.BytesPerPixel * 8;
end;
if not (ImagePixelFormat in [1, 4, 8, 24, 32]) then begin
MessageDlg('Only 1, 4, 8, 24 or 32 BitsPerPixel are supported in this demo !', mtError, [mbOK], 0);
gflFreeBitmap(gfl_bmp);
exit;
end;
bmp := TBitmap.Create;
bmp.PixelFormat := IntToPixelFormat(ImagePixelFormat);
bmp.Width := gfl_bmp.Width;
bmp.Height := gfl_bmp.Height;
case bmp.PixelFormat of
pf1bit: begin end;
pf4Bit: begin end;
pf8Bit: begin end;
pf24Bit, pf32Bit:
begin
for y := 0 to gfl_bmp.Height - 1 do begin
lineSrc := Pointer(Integer(gfl_bmp.data) + (y * gfl_bmp.BytesPerLine));
lineDest := bmp.Scanline[y];
move(lineSrc^, lineDest^, gfl_bmp.BytesPerLine);
end;
Result := bmp;
end;
end;
//Result := RePaintOriginal(gfl_bmp);
//Result := gfl2bmp(gfl_bmp);
end; }
end.
|
unit ClipB;
interface
uses Windows, Clipbrd;
type
TDBRecord = packed record
Kod : Word;
Chert : string[13];
Kol : array [1..3 ] of Word;
Kol_1 : Word;
Kol_v : array [1..3] of Word;
TM : array [1..12] of String[2];
Primech : string[255];
end;
TDBRecordOst = packed record
Vp : Char;
Cp : string[3];
Shifr : string[8];
KI : string[4];
Kol : string[11];
Kol2 : string[11];
Kol3 : string[11];
Norma : string[9];
kol_m:string[3];
kol_m2:string[3];
kol_m3:string[3];
Podrazd:Integer;
Znak:Char;
Eim:string[5];
Primech:string[50];
end;
TRows = record
Num : integer;
DBRecAr : array of TDBRecord;
end;
TRowsOst = record
Num:Integer;
DBRecAr: array of TDBRecordOst;
end;
const
FormatName = 'CF_MyFormat';
FormatNameOst = 'CF_MyFormatOst';
var
CF_MyFormat, CF_MyFormatOst: Word;
procedure CopyToClipboard(Rows : TRows);
function LoadFromClipboard : TRows;
procedure CopyToClipboardOst(Rows : TRowsOst);
function LoadFromClipboardOst : TRowsOst;
implementation
procedure CopyToClipboard(Rows : TRows);
var
h : THandle;
First : ^Byte;
iSize, RecSize, i : Integer;
begin
Rows.Num := Length(Rows.DBRecAr);
iSize := SizeOf(integer);
RecSize := SizeOf(TDBRecord);
h := GlobalAlloc(GMEM_MOVEABLE, iSize + RecSize*Rows.Num);
First := GlobalLock(h);
try
Move(Rows, First^, iSize);
First := pointer(LongWord(First) + iSize);
for i := 1 to Rows.Num do begin
Move(Rows.DBRecAr[i-1], First^, RecSize);
First := pointer(LongWord(First) + RecSize);
end;
Clipboard.SetAsHandle(CF_MyFormat, h);
finally
GlobalUnlock(h);
end;
end;
function LoadFromClipboard : TRows;
var
h : THandle;
First : ^Byte;
Rows : TRows;
i, iSize : integer;
begin
h := Clipboard.GetAsHandle(CF_MyFormat);
if (h <> 0) then begin
First := GlobalLock(h);
try
iSize := SizeOf(integer);
Move(First^, Rows, iSize);
SetLength(Rows.DBRecAr, Rows.Num);
First := pointer(LongWord(First) + iSize);
for i := 1 to Rows.Num do begin
Move(First^, Rows.DBRecAr[i-1], SizeOf(TDBRecord));
First := pointer(LongWord(First) + SizeOf(TDBRecord));
end;
finally
GlobalUnlock(h);
Result := Rows;
end;
end;
end;
procedure CopyToClipboardOst(Rows : TRowsOst);
var
h : THandle;
First : ^Byte;
iSize, RecSize, i : Integer;
begin
Rows.Num := Length(Rows.DBRecAr);
iSize := SizeOf(integer);
RecSize := SizeOf(TDBRecordOst);
h := GlobalAlloc(GMEM_MOVEABLE, iSize + RecSize*Rows.Num);
First := GlobalLock(h);
try
Move(Rows, First^, iSize);
First := pointer(LongWord(First) + iSize);
for i := 1 to Rows.Num do begin
Move(Rows.DBRecAr[i-1], First^, RecSize);
First := pointer(LongWord(First) + RecSize);
end;
Clipboard.SetAsHandle(CF_MyFormatOst, h);
finally
GlobalUnlock(h);
end;
end;
function LoadFromClipboardOst : TRowsOst;
var
h : THandle;
First : ^Byte;
Rows : TRowsOst;
i, iSize : integer;
begin
h := Clipboard.GetAsHandle(CF_MyFormatOst);
if (h <> 0) then begin
First := GlobalLock(h);
try
iSize := SizeOf(integer);
Move(First^, Rows, iSize);
SetLength(Rows.DBRecAr, Rows.Num);
First := pointer(LongWord(First) + iSize);
for i := 1 to Rows.Num do begin
Move(First^, Rows.DBRecAr[i-1], SizeOf(TDBRecordOst));
First := pointer(LongWord(First) + SizeOf(TDBRecordOst));
end;
finally
GlobalUnlock(h);
Result := Rows;
end;
end;
end;
initialization
CF_MyFormat := RegisterClipboardFormat(FormatName);
CF_MyFormatOst := RegisterClipboardFormat(FormatNameOst);
end.
|
unit Livro;
interface
uses
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Vcl.StdCtrls, Vcl.ExtCtrls, uADStanIntf,
uADStanOption, uADStanParam, uADStanError, uADDatSManager, uADPhysIntf,
uADDAptIntf, uADStanAsync, uADDAptManager, Data.DB, uADCompDataSet,
uADCompClient, Vcl.Grids, Vcl.DBGrids;
type
TfrmCadLivro = class(TForm)
editTitulo: TLabeledEdit;
editAutor: TLabeledEdit;
editDescricao: TLabeledEdit;
comboEditora: TComboBox;
editValor: TLabeledEdit;
editAno: TLabeledEdit;
Label1: TLabel;
btnSalvar: TButton;
btnExcluir: TButton;
btnAtualizar: TButton;
btnCancelar: TButton;
ADQuery1: TADQuery;
DataSource1: TDataSource;
dbGridLivros: TDBGrid;
editID: TLabeledEdit;
btnListar: TButton;
procedure btnSalvarClick(Sender: TObject);
procedure FormShow(Sender: TObject);
procedure btnAtualizarClick(Sender: TObject);
procedure dbGridLivrosCellClick(Column: TColumn);
procedure btnExcluirClick(Sender: TObject);
procedure btnCancelarClick(Sender: TObject);
procedure btnListarClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
frmCadLivro: TfrmCadLivro;
implementation
{$R *.dfm}
//cadastra livro
procedure TfrmCadLivro.btnSalvarClick(Sender: TObject);
begin
if editID.Text <> '' then begin
ShowMessage('O campo ID deve estar em branco para realizar um novo cadastro!');
exit;
end;
if editTitulo.Text <> '' then begin
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('INSERT INTO TBLIVRO (TITULO, DESCRICAO, ID_EDITORA, AUTOR, ANO, VALOR, ID_USUARIO) VALUES (:TITULO, :DESCRICAO, :ID_EDITORA, :AUTOR, :ANO, :VALOR, 1)');
ADQuery1.ParamByName('TITULO').AsString := editTitulo.Text;
ADQuery1.ParamByName('DESCRICAO').AsString := editDescricao.Text;
ADQuery1.ParamByName('ID_EDITORA').AsInteger := StrToIntDef(comboEditora.Text, 0);
ADQuery1.ParamByName('AUTOR').AsString := editAutor.Text;
ADQuery1.ParamByName('ANO').AsInteger := StrToIntDef(editAno.Text, 0);
ADQuery1.ParamByName('VALOR').AsCurrency := StrToCurrDef(editAno.Text, 0);
ADQuery1.ExecSQL;
btnListarClick(Sender);
end;
end;
//lista itens na grid após clicar no botão Listar
procedure TfrmCadLivro.btnListarClick(Sender: TObject);
begin
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('SELECT * FROM TBLIVRO');
ADQuery1.Open;
end;
//insere os dados da linha que foi clicada no DBgrid
procedure TfrmCadLivro.dbGridLivrosCellClick(Column: TColumn);
begin
editID.Text := dbGridLivros.DataSource.DataSet.FieldByName('ID').AsString;
editTitulo.Text := dbGridLivros.DataSource.DataSet.FieldByName('TITULO').AsString;
editDescricao.Text := dbGridLivros.DataSource.DataSet.FieldByName('DESCRICAO').AsString;
comboEditora.Text := dbGridLivros.DataSource.DataSet.FieldByName('ID_EDITORA').AsString;
editAutor.Text := dbGridLivros.DataSource.DataSet.FieldByName('AUTOR').AsString;
editAno.Text := dbGridLivros.DataSource.DataSet.FieldByName('ANO').AsString;
editValor.Text := dbGridLivros.DataSource.DataSet.FieldByName('VALOR').AsString;
end;
//carrega os dados da DBgrid após mostrar o formulário
procedure TfrmCadLivro.FormShow(Sender: TObject);
begin
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('SELECT * FROM TBLIVRO');
ADQuery1.Open;
end;
//atualiza dados
procedure TfrmCadLivro.btnAtualizarClick(Sender: TObject);
begin
if editID.Text <> '' then begin //verifica id e descrição se estão vazios
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('SELECT ID FROM TBLIVRO WHERE ID = :ID');
ADQuery1.ParamByName('ID').AsString := editID.Text;
ADQuery1.Open;
if not ADQuery1.IsEmpty then begin
try
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('UPDATE TBLIVRO SET TITULO = :TITULO, DESCRICAO = :DESCRICAO, ID_EDITORA = :EDITORA, AUTOR = :AUTOR, ANO = :ANO, VALOR = :VALOR WHERE ID = :ID');
ADQuery1.ParamByName('TITULO').AsString := editTitulo.Text;
ADQuery1.ParamByName('DESCRICAO').AsString := editDescricao.Text;
ADQuery1.ParamByName('EDITORA').AsInteger := StrToIntDef(comboEditora.Text, 0);
ADQuery1.ParamByName('AUTOR').AsString := editAutor.Text;
ADQuery1.ParamByName('ANO').AsInteger := StrToIntDef(editAno.Text, 0);
ADQuery1.ParamByName('VALOR').AsCurrency := StrToCurrDef(editAno.Text, 0);
ADQuery1.ParamByName('ID').AsString := editID.Text;
ADQuery1.ExecSQL;
finally
btnListarClick(Sender);
ShowMessage('Atualizado com sucesso!');
end;
end;
end;
end;
//excluir livro
procedure TfrmCadLivro.btnExcluirClick(Sender: TObject);
begin
if editID.Text <> '' then begin //verifica id e descrição se estão vazios
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('SELECT ID FROM TBLIVRO WHERE ID = :ID');
ADQuery1.ParamByName('ID').AsString := editID.Text;
ADQuery1.Open;
if not ADQuery1.IsEmpty then begin
try
ADQuery1.Close;
ADQuery1.SQL.Clear;
ADQuery1.SQL.Add('DELETE FROM TBLIVRO WHERE ID = :ID');
ADQuery1.ParamByName('ID').AsString := editID.Text;
ADQuery1.ExecSQL;
finally
editID.Clear;
editTitulo.Clear;
comboEditora.Clear;
editDescricao.Clear;
editAutor.Clear;
editAno.Clear;
editValor.Clear;
btnListarClick(Sender);
ShowMessage('Deletado com sucesso!');
end;
end;
end;
end;
//cancelar
procedure TfrmCadLivro.btnCancelarClick(Sender: TObject);
begin
editID.Clear;
editTitulo.Clear;
comboEditora.Clear;
editDescricao.Clear;
editAutor.Clear;
editAno.Clear;
editValor.Clear;
end;
end.
|
unit UserInsert;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, Buttons, DB, ZAbstractRODataset, ZAbstractDataset,
ZDataset;
type
TFormUserInsert = class(TForm)
Label1: TLabel;
EditLogin: TEdit;
BitBtnCancel: TBitBtn;
QMaxUserID: TZQuery;
QInsertUser: TZQuery;
QBOSSES: TZQuery;
QInsertBOSS: TZQuery;
Label2: TLabel;
EditPWD: TEdit;
Label3: TLabel;
EditFIO: TEdit;
Label4: TLabel;
EditComment: TEdit;
QBOSSESU_LOGIN: TStringField;
QBOSSESU_PASSWORD: TStringField;
QBOSSESU_FIO: TStringField;
QBOSSESU_COMMENT: TStringField;
QBOSSESU_ID: TIntegerField;
QBOSSESU_ISBOSS: TIntegerField;
QBOSSESU_ISCLOSED: TSmallintField;
BitBtnSave: TBitBtn;
CBEditPrices: TCheckBox;
procedure BitBtnCancelClick(Sender: TObject);
procedure FormKeyUp(Sender: TObject; var Key: Word;
Shift: TShiftState);
procedure BitBtnSaveClick(Sender: TObject);
private
public
procedure SetPosition(L, T: integer);
procedure SetUser;
end;
var
FormUserInsert: TFormUserInsert;
implementation
uses MainForm, Users, DataModule;
{$R *.dfm}
procedure TFormuserInsert.SetPosition(L,T:integer);
Left:=L+ShiftLeft;
begin
Top:=T+ShiftTop;
end;
procedure TFormUserInsert.BitBtnCancelClick(Sender: TObject);
begin
Close;
end;
procedure TFormUserInsert.SetUser;
begin
EditLOGIN.Clear;
EditPWD.Clear;
EditFIO.Clear;
EditComment.Clear;
CBEditPrices.Checked:=false;
end;
procedure TFormUserInsert.FormKeyUp(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
case Key of //
VK_Escape: BitBtnCancel.Click;
VK_F2: BitBtnSave.Click;
end; // case
end;
procedure TFormUserInsert.BitBtnSaveClick(Sender: TObject);
var Max:integer;
Comment:string;
begin
if length(trim(EditFIO.Text))=0 then
begin
MessageDlg('Логин пользователя не указан, заполните поле',mtInformation,[mbOK],0);
ModalResult:=mrNone;
exit;
end;
QMaxUserID.Close;
QMaxUSerID.Open;
if VarIsNull(QMaxUserID['MAXID']) then Max:=0 else Max:=QMaxUserID['MAXID'];
QInsertUser.Close;
QInsertUSer.ParamByName('U_ID').AsInteger:=Max+1;
QInsertUser.ParamByName('U_LOGIN').AsString:=EditLogin.Text;
QInsertUser.ParamByName('U_FIO').AsString:=EditFIO.Text;
QInsertUser.ParamByName('U_PASSWORD').AsString:=AnsiUppercase(EditPWD.Text);
if length(EditComment.Text)= 0 then Comment:=' ' else Comment:=EditComment.Text;
// В Firebird обнаружил баг при операции || c Null полем, исправлем его символом пробела
QInsertUser.ParamByName('U_COMMENT').AsString:=Comment;
if CBEDitPrices.Checked
then QInsertUser.ParamByName('U_EDIT_PRICES').AsInteger:=1
else QInsertUser.ParamByName('U_EDIT_PRICES').AsInteger:=0;
QInsertUSer.ExecSQL;
if not QBosses.Active then QBosses.Open;
QBosses.First;
while not QBosses.EOF do
begin
QInsertBoss.Close;
QInsertBoss.ParamByName('UB_USERID').AsInteger:=Max+1;
QInsertBoss.ParamByName('UB_VIEWERID').AsInteger:=QBosses['U_ID'];
QInsertBoss.ExecSQL;
QBosses.Next;
end;
FocusControl(EditFIO);
end;
end.
|
{
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi
Copyright (c) 2016, Isaque Pinheiro
All rights reserved.
GNU Lesser General Public License
Versão 3, 29 de junho de 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
A todos é permitido copiar e distribuir cópias deste documento de
licença, mas mudá-lo não é permitido.
Esta versão da GNU Lesser General Public License incorpora
os termos e condições da versão 3 da GNU General Public License
Licença, complementado pelas permissões adicionais listadas no
arquivo LICENSE na pasta principal.
}
{ @abstract(ORMBr Framework.)
@created(20 Jul 2016)
@author(Isaque Pinheiro <isaquepsp@gmail.com>)
@author(Skype : ispinheiro)
ORM Brasil é um ORM simples e descomplicado para quem utiliza Delphi.
}
unit ormbr.mapping.exceptions;
interface
uses
SysUtils,
Rtti;
type
EClassNotRegistered = class(Exception)
public
constructor Create(AClass: TClass);
end;
EFieldNotNull = class(Exception)
public
constructor Create(AName: string);
end;
EFieldValidate = class(Exception)
public
constructor Create(AField: string; AMensagem: string);
end;
EFieldZero = class(Exception)
public
constructor Create(AName: string);
end;
implementation
{ EClassNotRegistered }
constructor EClassNotRegistered.Create(AClass: TClass);
begin
inherited CreateFmt('Classe %s não registrada. Registre no Initialization usando TRegisterClasses.GetInstance.RegisterClass(%s)', [AClass.ClassName]);
end;
{ EFieldNotNull }
constructor EFieldNotNull.Create(AName: string);
begin
inherited CreateFmt('O valor da campo [ %s ] não pode ser Nulo!', [AName]);
end;
{ EFieldZero }
constructor EFieldZero.Create(AName: string);
begin
inherited CreateFmt('O valor da campo [ %s ] não pode ser menor que zero!', [AName]);
end;
{ EFieldValidate }
constructor EFieldValidate.Create(AField: string; AMensagem: string);
begin
inherited CreateFmt('[ %s ] %s', [AField, AMensagem]);
end;
end.
|
unit EchoPane;
/////////////////////////////////////////////////////////////////////
//
// Hi-Files Version 2
// Copyright (c) 1997-2004 Dmitry Liman [2:461/79]
//
// http://hi-files.narod.ru
//
/////////////////////////////////////////////////////////////////////
interface
procedure OpenFileEchoes;
procedure CloseFileEchoBrowser;
{ =================================================================== }
implementation
uses
Objects, MyLib, MyViews, SysUtils, Views, Dialogs, Drivers, App, MsgBox,
_CFG, _RES, _LOG, _FAreas, AreaPane, Setup, MsgAPI, Import, HiFiHelp;
var
NO_HOST_AREA: String;
{ --------------------------------------------------------- }
{ TTagBox }
{ --------------------------------------------------------- }
type
PTagBox = ^TTagBox;
TTagBox = object (TMyListBox)
Echo: PFileEcho;
function GetText( Item, MaxLen: Integer ) : String; virtual;
end; { TTagBox }
{ GetText ------------------------------------------------- }
function TTagBox.GetText( Item, MaxLen: Integer ) : String;
var
j: Integer;
S: String[2];
Link: PEchoLink;
begin
S := '--';
Link := List^.At(Item);
if Echo^.Downlinks^.Search( @Link^.Addr, j ) then
S[1] := 'R';
if Echo^.Uplinks^.Search( @Link^.Addr, j ) then
S[2] := 'W';
Result := Format( '%2s ³ %-25s', [S, AddrToStr(Link^.Addr)] );
end; { GetText }
{ --------------------------------------------------------- }
{ TLinkSelector }
{ --------------------------------------------------------- }
type
PLinkSelector = ^TLinkSelector;
TLinkSelector = object (TDialog)
ListBox: PTagBox;
Rights : PCheckBoxes;
procedure SetupDialog( Echo: PFileEcho );
procedure HandleEvent( var Event: TEvent ); virtual;
end; { TLinkSelector }
{ SetupDialog --------------------------------------------- }
procedure TLinkSelector.SetupDialog( Echo: PFileEcho );
var
R: TRect;
begin
R.Assign( 0, 0, 0, 0 );
Rights := PCheckBoxes( ShoeHorn( @Self, New( PCheckBoxes, Init(R, nil) )));
ListBox := PTagBox( ShoeHorn( @Self, New( PTagBox, Init( R, 1, nil ))));
ListBox^.SetMode( [] );
ListBox^.Echo := Echo;
ListBox^.NewList( CFG^.Links );
end; { SetupDialog }
{ HandleEvent --------------------------------------------- }
procedure TLinkSelector.HandleEvent( var Event: TEvent );
const
bRead = $0001;
bWrite = $0002;
cmSet = 200;
procedure SetRights;
var
Q: Longint;
j: Integer;
Link: PEchoLink;
procedure Add( List: PAddrList );
begin
if not List^.Search( @Link^.Addr, j ) then
begin
List^.Insert( NewAddr(Link^.Addr) );
FileBase^.Modified := True;
end;
end; { Add }
procedure Del( List: PAddrList );
begin
if List^.Search( @Link^.Addr, j ) then
begin
List^.AtFree( j );
FileBase^.Modified := True;
end;
end; { Del }
begin
if ListBox^.Focused < ListBox^.Range then
begin
Rights^.GetData( Q );
Link := CFG^.Links^.At(ListBox^.Focused);
if TestBit( Q, bRead ) then
Add( ListBox^.Echo^.Downlinks )
else
Del( ListBox^.Echo^.Downlinks );
if TestBit( Q, bWrite ) then
Add( ListBox^.Echo^.Uplinks )
else
Del( ListBox^.Echo^.Uplinks );
ListBox^.DrawView;
end;
end; { SetRights }
procedure GetRights;
var
Q: Longint;
j: Integer;
Link: PEchoLink;
begin
Q := 0;
if ListBox^.Focused < ListBox^.Range then
begin
Link := CFG^.Links^.At(ListBox^.Focused);
SetBit( Q, bRead, ListBox^.Echo^.Downlinks^.Search( @Link^.Addr, j ) );
SetBit( Q, bWrite, ListBox^.Echo^.Uplinks^.Search( @Link^.Addr, j ) );
if Rights^.GetState( sfDisabled ) then
Rights^.SetState( sfDisabled, False );
end
else
begin
if not Rights^.GetState( sfDisabled ) then
Rights^.SetState( sfDisabled, True );
end;
Rights^.SetData( Q );
end; { GetRights }
begin
inherited HandleEvent( Event );
case Event.What of
evCommand:
begin
case Event.Command of
cmSet: SetRights;
else
Exit;
end;
ClearEvent( Event );
end;
evBroadcast:
case Event.Command of
cmFocusMoved:
GetRights;
end;
end;
end; { HandleEvent }
{ --------------------------------------------------------- }
{ SelectLinks }
{ --------------------------------------------------------- }
function SelectLinks( Echo: PFileEcho ) : Boolean;
var
R: TRect;
E: PLinkSelector;
D: PDialog;
begin
R.Assign( 0, 0, 0, 0 );
D := PDialog( Res^.Get('SEL_LINKS') );
D^.HelpCtx := hcSelLinks;
E := New( PLinkSelector, Init(R, '') );
SwapDlg( D, E );
E^.SetupDialog( Echo );
Application^.ExecuteDialog( E, nil );
end; { SelectLinks }
{ --------------------------------------------------------- }
{ TAreaSelector }
{ --------------------------------------------------------- }
const
cmPassthrough = 200;
type
PAreaSelector = ^TAreaSelector;
TAreaSelector = object (TDialog)
ListBox : PFileAreaBox;
InfoPane: PInfoPane;
procedure SetupDialog( Host: PFileArea );
procedure HandleEvent( var Event: TEvent ); virtual;
procedure SetData( var Data ); virtual;
procedure GetData( var Data ); virtual;
function DataSize: Word; virtual;
private
InfoData: String;
InfoLink: Pointer;
procedure Refresh;
end; { TAreaSelector }
{ SetupDialog --------------------------------------------- }
procedure TAreaSelector.SetupDialog( Host: PFileArea );
var
R: TRect;
H: PStaticText;
S: String;
j: Integer;
begin
R.Assign( 0, 0, 0, 0 );
InfoPane := PInfoPane( ShoeHorn( @Self, New( PInfoPane, Init( R, '', 0 ))));
ListBox := PFileAreaBox( ShoeHorn( @Self, New( PFileAreaBox, Init(R, 1, nil))));
H := PStaticText( ShoeHorn( @Self, New( PStaticText, Init(R, ''))));
H^.GetText( S );
if Host = nil then
ReplaceStr( H^.Text, S + NO_HOST_AREA )
else
ReplaceStr( H^.Text, S + Host^.Name^ );
InfoLink := @InfoData;
InfoPane^.SetData( InfoLink );
ListBox^.NewList( FileBase );
if Host <> nil then
begin
j := FileBase^.IndexOf(Host);
if j >= 0 then
ListBox^.FocusItem(j);
end;
end; { SetupDialog }
{ HandleEvent --------------------------------------------- }
procedure TAreaSelector.HandleEvent( var Event: TEvent );
begin
inherited HandleEvent( Event );
case Event.What of
evCommand:
begin
case Event.Command of
cmPassthrough: EndModal( cmPassthrough );
else
Exit;
end;
end;
evBroadcast:
case Event.Command of
cmFocusMoved: Refresh;
end;
end;
end; { HandleEvent }
{ SetData ------------------------------------------------- }
procedure TAreaSelector.SetData( var Data );
begin
Refresh;
end; { SetData }
{ GetData ------------------------------------------------- }
procedure TAreaSelector.GetData( var Data );
begin
Integer(Data) := ListBox^.Focused;
end; { GetData }
{ DataSize ------------------------------------------------ }
function TAreaSelector.DataSize: Word;
begin
Result := SizeOf(Integer);
end; { DataSize }
{ Refresh ------------------------------------------------- }
procedure TAreaSelector.Refresh;
var
Area: PFileArea;
begin
with ListBox^ do
begin
if Focused < Range then
begin
Area := List^.At(Focused);
if not Area^.GetPDP( InfoData ) then
InfoData := LoadString(_SNoValidDLPath);
end
else
InfoData := '';
end;
InfoPane^.DrawView;
end; { Refresh }
{ --------------------------------------------------------- }
{ SeletArea }
{ --------------------------------------------------------- }
function SelectArea( var Area: PFileArea; const NoNameTag: String ) : Boolean;
var
R: TRect;
D: PDialog;
E: PAreaSelector;
Q: Integer;
begin
R.Assign( 0, 0, 0, 0 );
D := PDialog( Res^.Get('SELECT_HOST') );
D^.HelpCtx := hcSelectHost;
E := New( PAreaSelector, Init(R, '') );
SwapDlg( D, E );
E^.SetupDialog( Area );
Result := True;
case Application^.ExecuteDialog( E, @Q ) of
cmOk:
Area := FileBase^.At( Q );
cmPassthrough:
Area := nil;
else
Result := False;
end;
end; { SelectArea }
{ --------------------------------------------------------- }
{ TFileEchoSetupDialog }
{ --------------------------------------------------------- }
type
TFileEchoSetupData = record
EchoTag : LongStr;
HostArea: LongStr;
Paranoia: Longint;
State : Longint;
end; { TFileEchoSetupData }
PFileEchoSetupDialog = ^TFileEchoSetupDialog;
TFileEchoSetupDialog = object (TDialog)
HostAreaInput: PInputLine;
procedure SetupDialog( E: PFileEcho );
procedure HandleEvent( var Event: TEvent ); virtual;
procedure SetData( var Data ); virtual;
private
Echo: PFileEcho;
procedure RefreshInput;
procedure ChangeHost;
end; { TFileEchoSetupDialog }
{ SetupDialog --------------------------------------------- }
procedure TFileEchoSetupDialog.SetupDialog( E: PFileEcho );
var
R: TRect;
begin
R.Assign( 0, 0, 0, 0 );
HostAreaInput := PInputLine( ShoeHorn(@Self, New(PInputLine, Init(R, Pred(SizeOf(LongStr))))));
HostAreaInput^.SetState( sfDisabled, True );
Echo := E;
RefreshInput;
end; { SetupDialog }
{ SetData ------------------------------------------------- }
procedure TFileEchoSetupDialog.SetData( var Data );
var
S: LongStr;
begin
HostAreaInput^.GetData( S );
inherited SetData( Data );
HostAreaInput^.SetData( S );
end; { SetData }
{ RefreshInput -------------------------------------------- }
procedure TFileEchoSetupDialog.RefreshInput;
var
S: String;
begin
if Echo^.Area = nil then
S := NO_HOST_AREA
else
S := Echo^.Area^.Name^;
HostAreaInput^.SetData( S );
end; { RefreshInput }
{ HandleEvent --------------------------------------------- }
procedure TFileEchoSetupDialog.HandleEvent( var Event: TEvent );
const
cmLink = 200;
cmHook = 202;
cmHost = 203;
begin
inherited HandleEvent( Event );
case Event.What of
evCommand:
begin
case Event.Command of
cmLink: SelectLinks( Echo );
cmHook: EditStrList( LoadString(_SHooksCaption), Echo^.Hooks, hcSetupHooks );
cmHost: ChangeHost;
else
Exit;
end;
ClearEvent( Event );
end;
end;
end; { HandleEvent }
{ ChangeHost ---------------------------------------------- }
procedure TFileEchoSetupDialog.ChangeHost;
begin
if FileBase^.EchoList^.Count > 0 then
begin
SelectArea( Echo^.Area, NO_HOST_AREA );
RefreshInput;
end;
end; { ChangeHost }
{ --------------------------------------------------------- }
{ TFileEchoBox }
{ --------------------------------------------------------- }
type
PFileEchoBox = ^TFileEchoBox;
TFileEchoBox = object (TMyListBox)
function GetText( Item, MaxLen: Integer ) : String; virtual;
end; { TFileEchoBox }
{ GetText ------------------------------------------------- }
function TFileEchoBox.GetText( Item, MaxLen: Integer ) : String;
begin
Result := PFileEcho(List^.At(Item))^.Name^;
end; { GetText }
{ --------------------------------------------------------- }
{ TFileEchoBrowser }
{ --------------------------------------------------------- }
type
PFileEchoBrowser = ^TFileEchoBrowser;
TFileEchoBrowser = object (TDialog)
ListBox: PFileEchoBox;
destructor Done; virtual;
procedure SetupDialog;
procedure HandleEvent( var Event: TEvent ); virtual;
function Valid( Command: Word ) : Boolean; virtual;
private
Modified: Boolean;
procedure Refresh;
procedure SetupEcho;
procedure CreateEcho;
procedure DeleteEcho;
function SelectedEcho( var Echo: PFileEcho ) : PFileEcho;
function GetHostArea( var Area: PFileArea ) : PFileArea;
end; { TFileEchoBrowser }
const
FileEchoBrowser: PFileEchoBrowser = nil;
{ Done ---------------------------------------------------- }
destructor TFileEchoBrowser.Done;
begin
FileEchoBrowser := nil;
inherited Done;
end; { Done }
{ SetupDialog --------------------------------------------- }
procedure TFileEchoBrowser.SetupDialog;
var
R: TRect;
begin
Desktop^.GetExtent( R );
R.Grow( -1, -1 );
Locate( R );
OpenFileBase;
R.Assign( 0, 0, 0, 0 );
ListBox := PFileEchoBox( ShoeHorn( @Self, New( PFileEchoBox, Init(R, 1, nil) )));
GetExtent( R );
R.Grow( -1, -1 );
ListBox^.SetBounds( R );
R.A.X := R.B.X; Inc( R.B.X );
ListBox^.VScrollBar^.SetBounds(R);
ListBox^.NewList( FileBase^.EchoList );
end; { SetupDialog }
{ Valid --------------------------------------------------- }
function TFileEchoBrowser.Valid( Command: Word ) : Boolean;
begin
Result := True;
if Modified then
FileBase^.Modified := True;
end; { Valid }
{ Refresh ------------------------------------------------- }
procedure TFileEchoBrowser.Refresh;
begin
with ListBox^ do
begin
List := nil;
NewList( FileBase^.EchoList );
end;
end; { Refresh }
{ HandleEvent --------------------------------------------- }
procedure TFileEchoBrowser.HandleEvent( var Event: TEvent );
var
Area: PFileArea;
begin
inherited HandleEvent( Event );
case Event.What of
evCommand:
begin
case Event.Command of
cmEnter : OpenFileArea( GetHostArea(Area) );
cmOptions: SetupEcho;
cmInsItem: CreateEcho;
cmDelItem: DeleteEcho;
cmImport : if ImportEcho then Refresh;
else
Exit;
end;
ClearEvent( Event );
end;
end;
end; { HandleEvent }
{ SelectedEcho -------------------------------------------- }
function TFileEchoBrowser.SelectedEcho( var Echo: PFileEcho ) : PFileEcho;
begin
with ListBox^ do
begin
if Focused < Range then
Echo := List^.At(Focused)
else
Echo := nil;
end;
Result := Echo;
end; { SelectedEcho }
{ GetHostArea --------------------------------------------- }
function TFileEchoBrowser.GetHostArea( var Area: PFileArea ) : PFileArea;
var
Echo: PFileEcho;
begin
if SelectedEcho(Echo) = nil then
begin
Area := nil;
Result := nil;
end
else
begin
Area := Echo^.Area;
Result := Area;
end;
end; { GetHostArea }
{ SetupEcho ----------------------------------------------- }
procedure TFileEchoBrowser.SetupEcho;
var
R: TRect;
E: PFileEchoSetupDialog;
D: PDialog;
T: PFileEcho;
Q: TFileEchoSetupData;
Echo: PFileEcho;
begin
if SelectedEcho( Echo ) = nil then Exit;
R.Assign( 0, 0, 0, 0 );
D := PDialog( Res^.Get('SETUP_FE') );
D^.HelpCtx := hcSetupEcho;
E := New( PFileEchoSetupDialog, Init(R, '') );
SwapDlg( D, E );
E^.SetupDialog( Echo );
FillChar( Q, SizeOf(Q), #0 );
Q.EchoTag := Echo^.Name^;
Q.Paranoia := Echo^.Paranoia;
Q.State := Ord(Echo^.State);
if Application^.ExecuteDialog( E, @Q ) = cmOk then
begin
Modified := True;
Q.EchoTag := Trim(Q.EchoTag);
T := FileBase^.GetEcho( Q.EchoTag );
if (T <> nil) and (T <> Echo) then
begin
ShowError( LoadString(_SCantRenEchoNameExists) );
Exit;
end;
FileBase^.EchoList^.AtDelete( ListBox^.Focused );
ReplaceStr( Echo^.Name, Q.EchoTag );
FileBase^.EchoList^.Insert( Echo );
ListBox^.FocusItem( FileBase^.EchoList^.IndexOf( Echo ) );
Echo^.Paranoia := Q.Paranoia;
Echo^.State := TEchoState(Q.State);
end;
end; { SetupEcho }
{ CreateEcho ---------------------------------------------- }
procedure TFileEchoBrowser.CreateEcho;
var
Shit: Integer;
Name: String;
NewEcho: PFileEcho;
begin
Name := LoadString(_SNewEchoName);
Shit := 0;
while FileBase^.GetEcho( Name ) <> nil do
begin
Inc( Shit );
Name := LoadString(_SNewEchoName) + ' (' + IntToStr(Shit) + ')';
end;
New( NewEcho, Init(Name) );
FileBase^.EchoList^.Insert( NewEcho );
Shit := FileBase^.EchoList^.IndexOf( NewEcho );
with ListBox^ do
begin
SetRange( Succ(Range) );
FocusItem( Shit );
end;
SetupEcho;
Modified := True;
end; { CreateEcho }
{ DeleteEcho ---------------------------------------------- }
procedure TFileEchoBrowser.DeleteEcho;
var
Echo: PFileEcho;
begin
if SelectedEcho( Echo ) = nil then Exit;
if MessageBox( Format(LoadString(_SConfirmDelEcho), [Echo^.Name^]), nil, mfWarning + mfYesNoCancel) = cmYes then
begin
with ListBox^ do
begin
FileBase^.EchoList^.AtFree( Focused );
SetRange( Pred(Range) );
DrawView;
end;
Modified := True;
end;
end; { DeleteEcho }
{ --------------------------------------------------------- }
{ OpenFileEchoes }
{ --------------------------------------------------------- }
procedure OpenFileEchoes;
var
R: TRect;
D: PDialog;
begin
if FileEchoBrowser <> nil then
FileEchoBrowser^.Select
else
begin
NO_HOST_AREA := LoadString( _SNoHostArea );
R.Assign( 0, 0, 0, 0 );
D := PDialog( Res^.Get('FILE_ECHOES') );
D^.HelpCtx := hcFileEchoManager;
FileEchoBrowser := New( PFileEchoBrowser, Init(R, '') );
SwapDlg( D, FileEchoBrowser );
FileEchoBrowser^.SetupDialog;
Desktop^.Insert( FileEchoBrowser );
end;
end; { OpenFileEchoes }
{ --------------------------------------------------------- }
{ CloseFileEchoBrowser }
{ --------------------------------------------------------- }
procedure CloseFileEchoBrowser;
begin
if FileEchoBrowser <> nil then
begin
Destroy( FileEchoBrowser );
FileEchoBrowser := nil;
end;
end; { CloseFileEchoBrowser }
end.
|
unit StratClientWellConfirm;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, ExtCtrls, Variants, Area, Well;
type
TfrmWellConfirm = class(TForm)
pnlButtons: TPanel;
btnOk: TButton;
btnIgnore: TButton;
gbxWell: TGroupBox;
Label1: TLabel;
cmbxArea: TComboBox;
cmbxWellNum: TComboBox;
Label2: TLabel;
lblReport: TLabel;
procedure FormCreate(Sender: TObject);
procedure cmbxAreaChange(Sender: TObject);
procedure cmbxWellNumChange(Sender: TObject);
private
{ Private declarations }
vCurrentWells: variant;
procedure EnableOk;
function GetSelectedArea: TSimpleArea;
function GetSelectedWell: TSimpleWell;
public
{ Public declarations }
FoundAltitude, FoundDepth: single;
property SelectedArea: TSimpleArea read GetSelectedArea;
property SelectedWell: TSimpleWell read GetSelectedWell;
procedure SetAreaAndWell(AAreaName, AWellNum: string);
end;
var
frmWellConfirm: TfrmWellConfirm;
implementation
uses ClientCommon, StringUtils, Facade;
{$R *.DFM}
procedure TfrmWellConfirm.EnableOk;
begin
btnOk.Enabled := Assigned(SelectedArea) and Assigned(SelectedWell);
end;
procedure TfrmWellConfirm.FormCreate(Sender: TObject);
begin
TMainFacade.GetInstance.AllAreas.MakeList(cmbxArea.Items, true, false);
end;
procedure TfrmWellConfirm.cmbxAreaChange(Sender: TObject);
begin
if Assigned(SelectedArea) then SelectedArea.Wells.MakeList(cmbxWellNum.Items)
else cmbxWellNum.Clear;
EnableOk;
end;
procedure TfrmWellConfirm.cmbxWellNumChange(Sender: TObject);
var vTemp: variant;
begin
EnableOk;
// загружаем скважину
lblReport.Caption := '';
if Assigned(SelectedWell) then
begin
lblReport.Caption := 'Выбрана скважина: ' + SelectedWell.NumberWell + '-' + SelectedArea.Name;
lblReport.Caption := lblReport.Caption + '. Альтитуда: ' + Format('%6.2f', [SelectedWell.Altitude]) +
'; забой: ' + Format('%6.2f', [SelectedWell.TrueDepth]) + '.';
end;
end;
function TfrmWellConfirm.GetSelectedArea: TSimpleArea;
begin
if cmbxArea.ItemIndex > -1 then
Result := cmbxArea.Items.Objects[cmbxArea.ItemIndex] as TSimpleArea
else
Result := nil;
end;
function TfrmWellConfirm.GetSelectedWell: TSimpleWell;
begin
if cmbxWellNum.ItemIndex > -1 then
Result := cmbxWellNum.Items.Objects[cmbxWellNum.ItemIndex] as TSimpleWell
else
Result := nil;
end;
procedure TfrmWellConfirm.SetAreaAndWell(AAreaName,
AWellNum: string);
var i: integer;
begin
lblReport.Caption := '';
AAreaName := trim(StringReplace(AAreaName, '(-ое)', '', [rfReplaceAll]));
cmbxArea.ItemIndex := cmbxArea.Items.IndexOf(AAreaName);
if cmbxArea.ItemIndex = -1 then
for i := 0 to cmbxArea.Items.Count - 1 do
if pos(AnsiUpperCase(AAreaName), AnsiUpperCase(cmbxArea.Items[i])) = 1 then
begin
cmbxArea.ItemIndex := i;
break;
end;
if cmbxArea.ItemIndex = -1 then
for i := 0 to cmbxArea.Items.Count - 1 do
if pos(AnsiUpperCase(AAreaName), AnsiUpperCase(cmbxArea.Items[i])) > 0 then
begin
cmbxArea.ItemIndex := i;
break;
end;
cmbxAreaChange(cmbxArea);
if cmbxArea.ItemIndex > -1 then
begin
cmbxWellNum.ItemIndex := cmbxWellNum.Items.IndexOf(AWellNum);
if cmbxWellNum.ItemIndex = -1 then
for i := 0 to cmbxWellNum.Items.Count - 1 do
if pos(AnsiUpperCase(AWellNum), AnsiUpperCase(cmbxWellNum.Items[i])) = 1 then
begin
cmbxWellNum.ItemIndex := i;
break;
end;
if cmbxWellNum.ItemIndex = -1 then
for i := 0 to cmbxWellNum.Items.Count - 1 do
if pos(AnsiUpperCase(AWellNum), AnsiUpperCase(cmbxWellNum.Items[i])) > 0 then
begin
cmbxWellNum.ItemIndex := i;
break;
end;
end;
EnableOk;
end;
end.
|
unit data_sendlogs;
interface
uses
SysUtils, Classes, IdBaseComponent, IdComponent, IdTCPConnection, IdTCPClient,
IdHTTP, mxWebUpdate;
type
TdmoSendLogs = class(TDataModule)
IdHTTP: TIdHTTP;
WebUpdate: TmxWebUpdate;
procedure WebUpdateUpdateAvailable(Sender: TObject; ActualVersion,
NewVersion: string; var CanUpdate: Boolean);
procedure WebUpdateBeforeShowInfo(Sender: TObject; var ShowInfo,
CheckForUpdate: Boolean);
procedure WebUpdateCannotExecute(Sender: TObject);
procedure WebUpdateDownloadError(Sender: TObject);
procedure WebUpdateNoUpdateFound(Sender: TObject);
procedure DataModuleCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
willUpdate: boolean;
end;
implementation
{$R *.dfm}
procedure TdmoSendLogs.DataModuleCreate(Sender: TObject);
begin
willUpdate := False;
end;
procedure TdmoSendLogs.WebUpdateBeforeShowInfo(Sender: TObject; var ShowInfo,
CheckForUpdate: Boolean);
begin
ShowInfo := False;
CheckForUpdate := True;
end;
procedure TdmoSendLogs.WebUpdateCannotExecute(Sender: TObject);
begin
willUpdate := False;
end;
procedure TdmoSendLogs.WebUpdateDownloadError(Sender: TObject);
begin
willUpdate := False;
end;
procedure TdmoSendLogs.WebUpdateNoUpdateFound(Sender: TObject);
begin
willUpdate := False;
end;
procedure TdmoSendLogs.WebUpdateUpdateAvailable(Sender: TObject; ActualVersion,
NewVersion: string; var CanUpdate: Boolean);
begin
CanUpdate := False;
willUpdate := True;
end;
end.
|
unit Unit37;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, sqldb, db,
DBGrids, Unit1;
type
{ TForm37 }
TForm37 = class(TForm)
Datasource1: TDatasource;
DBGrid1: TDBGrid;
SQLQuery1: TSQLQuery;
procedure DBGrid1CellClick(Column: TColumn);
procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
procedure FormCreate(Sender: TObject);
procedure FormShow(Sender: TObject);
private
{ private declarations }
public
codigo_producto : string;
precio1 : string;
precio2 : string;
precio3 : string;
precio4 : string;
nombre_producto : string;
por_codigo : boolean;
iva_producto : string;
impint_producto : string;
end;
var
Form37: TForm37;
implementation
{ TForm37 }
procedure TForm37.FormShow(Sender: TObject);
var
producto : string;
QueryString : string;
begin
if SQLQuery1.Active = True then
SQLQuery1.Close;
codigo_producto := '';
precio1 := '';
precio2 := '';
precio3 := '';
precio4 := '';
nombre_producto := '';
if por_codigo = true then
producto := InputBox('Búsqueda de Productos', 'Ingrese código del producto:', '')
else
producto := InputBox('Búsqueda de Productos', 'Ingrese parte del nombre del producto:', '');
if producto <> '' then
begin
if por_codigo = true then
QueryString := 'select vw_stock.prd_cdg, vw_stock.prd_nombre, vw_stock.prd_descripcion, producto.prd_precio1, '
+ 'producto.prd_precio2, producto.prd_precio3, producto.prd_precio4, '
+ 'stk_cantidad, prd_iva, prd_impint from vw_stock, producto where vw_stock.prd_cdg = '
+ producto + ' and suc_nombre = ''' + Form1.mi_sucursal
+ ''' and vw_stock.prd_cdg = producto.prd_cdg order by prd_nombre'
else
QueryString := 'select vw_stock.prd_cdg, vw_stock.prd_nombre, vw_stock.prd_descripcion, producto.prd_precio1, '
+ 'producto.prd_precio2, producto.prd_precio3, producto.prd_precio4, '
+ 'stk_cantidad, prd_iva, prd_impint from vw_stock, producto where vw_stock.prd_nombre ilike ''%'
+ producto + '%'' and suc_nombre = ''' + Form1.mi_sucursal
+ ''' and vw_stock.prd_cdg = producto.prd_cdg order by prd_nombre';
SQLQuery1.SQL.Text := QueryString;
SQLQuery1.Open;
DBGrid1.Columns[0].Title.Caption := 'Código';
DBGrid1.Columns[1].Title.Caption := 'Producto';
DBGrid1.Columns[2].Title.Caption := 'Descripción';
DBGrid1.Columns[3].Title.Caption := 'Precio 1';
DBGrid1.Columns[4].Title.Caption := 'Precio 2';
DBGrid1.Columns[5].Title.Caption := 'Precio 3';
DBGrid1.Columns[6].Title.Caption := 'Precio 4';
DBGrid1.Columns[7].Title.Caption := 'Stock';
DBGrid1.Columns[0].Width := 60;
DBGrid1.Columns[1].Width := 110;
DBGrid1.Columns[2].Width := 290;
DBGrid1.Columns[3].Width := 80;
DBGrid1.Columns[4].Width := 80;
DBGrid1.Columns[5].Width := 80;
DBGrid1.Columns[6].Width := 80;
DBGrid1.Columns[7].Width := 60;
DBGrid1.Columns[8].Visible := False;
DBGrid1.Columns[9].Visible := False;
TColumn(DBGrid1.Columns[2]).DisplayFormat := '$ ####0.00';
TColumn(DBGrid1.Columns[3]).DisplayFormat := '$ ####0.00';
TColumn(DBGrid1.Columns[4]).DisplayFormat := '$ ####0.00';
TColumn(DBGrid1.Columns[5]).DisplayFormat := '$ ####0.00';
end
else
Close;
end;
procedure TForm37.FormClose(Sender: TObject; var CloseAction: TCloseAction);
begin
por_codigo := false;
if SQLQuery1.Active = True then
SQLQuery1.Close;
end;
procedure TForm37.FormCreate(Sender: TObject);
begin
SQLQuery1.DataBase := Form1.PQConnection1;
SQLQuery1.Transaction := Form1.SQLTransaction1;
end;
procedure TForm37.DBGrid1CellClick(Column: TColumn);
begin
codigo_producto := SQLQuery1.FieldByName('prd_cdg').AsString;
nombre_producto := SQLQuery1.FieldByName('prd_nombre').AsString;
precio1 := SQLQuery1.FieldByName('prd_precio1').AsString;
precio2 := SQLQuery1.FieldByName('prd_precio2').AsString;
precio3 := SQLQuery1.FieldByName('prd_precio3').AsString;
precio4 := SQLQuery1.FieldByName('prd_precio4').AsString;
iva_producto := SQLQuery1.FieldByName('prd_iva').AsString;
impint_producto := SQLQuery1.FieldByName('prd_impint').AsString;
Close;
end;
initialization
{$I unit37.lrs}
end.
|
unit sColorSelect;
{$I sDefs.inc}
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs, Buttons, sSpeedButton;
type
TsColorSelect = class(TsSpeedButton)
{$IFNDEF NOTFORHELP}
private
FColorValue : TColor;
FOnChange : TNotifyEvent;
FImgWidth: integer;
FImgHeight: integer;
FStandardDlg: boolean;
procedure SetColorValue(const Value: TColor);
procedure SetImgHeight(const Value: integer);
procedure SetImgWidth(const Value: integer);
public
ColorDialog : TColorDialog;
procedure AfterConstruction; override;
constructor Create (AOwner: TComponent); override;
procedure Click; override;
procedure Loaded; override;
procedure WndProc (var Message: TMessage); override;
procedure UpdateGlyph(Repaint : boolean = True);
published
property OnChange: TNotifyEvent read FOnChange write FOnChange;
{$ENDIF} // NOTFORHELP
property ColorValue : TColor read FColorValue write SetColorValue;
property ImgWidth : integer read FImgWidth write SetImgWidth default 15;
property ImgHeight : integer read FImgHeight write SetImgHeight default 15;
property StandardDlg : boolean read FStandardDlg write FStandardDlg default False;
end;
implementation
uses sDialogs, sCommonData, sThirdParty, sGraphUtils, sMessages, sAlphaGraph;
{ TsColorSelect }
procedure TsColorSelect.AfterConstruction;
begin
inherited;
UpdateGlyph(False);
end;
procedure TsColorSelect.Click;
var
cd : TColorDialog;
begin
if ColorDialog = nil then begin
if FStandardDlg then cd := TColorDialog.Create(Self) else cd := TsColorDialog.Create(Self);
end
else cd := ColorDialog;
cd.Color := ColorValue;
if cd.Execute then begin
ColorValue := cd.Color;
if Assigned(FOnChange) then FOnChange(Self);
end;
if ColorDialog <> cd then FreeAndNil(cd);
inherited Click;
end;
constructor TsColorSelect.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
FImgHeight := 15;
FImgWidth := 15;
FStandardDlg := False;
end;
procedure TsColorSelect.Loaded;
begin
inherited;
UpdateGlyph(False);
end;
procedure TsColorSelect.SetColorValue(const Value: TColor);
begin
if FColorValue <> Value then begin
FColorValue := Value;
Glyph.Assign(nil);
UpdateGlyph;
end;
end;
procedure TsColorSelect.SetImgHeight(const Value: integer);
begin
if FImgHeight <> Value then begin
FImgHeight := Value;
Glyph.Assign(nil);
UpdateGlyph;
end;
end;
procedure TsColorSelect.SetImgWidth(const Value: integer);
begin
if FImgWidth <> Value then begin
FImgWidth := Value;
Glyph.Assign(nil);
UpdateGlyph;
end;
end;
procedure TsColorSelect.UpdateGlyph;
begin
if not (csLoading in ComponentState) then begin
if (FImgHeight <> 0) and (FImgWidth <> 0) and (Glyph.Canvas.Pixels[FImgWidth div 2, FImgHeight div 2] <> ColorValue) then begin
if SkinData.Skinned then Glyph.OnChange := nil;
Glyph.PixelFormat := pf32bit;
Glyph.Width := FImgWidth;
Glyph.Height := FImgHeight;
// Glyph.Canvas.Brush.Color := ColorValue;
FillRect32(Glyph, Rect(0, 0, FImgWidth, FImgHeight), ColorValue);
// Glyph.Canvas.FillRect(Rect(0, 0, FImgWidth, FImgHeight));
// Transparent pixels in corners
Glyph.Canvas.Pixels[0, FImgHeight - 1] := ColorToRGB(clFuchsia);
Glyph.Canvas.Pixels[0, 0] := ColorToRGB(clFuchsia);
Glyph.Canvas.Pixels[FImgWidth - 1, FImgHeight - 1] := ColorToRGB(clFuchsia);
Glyph.Canvas.Pixels[FImgWidth - 1, 0] := ColorToRGB(clFuchsia);
if Repaint then begin
SkinData.BGChanged := True;
GraphRepaint;
end;
end;
end;
end;
procedure TsColorSelect.WndProc(var Message: TMessage);
begin
inherited;
if Message.Msg = SM_ALPHACMD then case Message.WParamHi of
AC_REFRESH : if (LongWord(Message.LParam) = LongWord(SkinData.SkinManager)) then begin
UpdateGlyph;
end;
end;
end;
end.
|
unit Bd.DmConfig;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.FB,
FireDAC.Phys.FBDef, Data.DB, FireDAC.Comp.Client, FireDAC.Phys.IBBase,
FireDAC.Stan.Param, FireDAC.DatS, FireDAC.DApt.Intf, FireDAC.DApt,
FireDAC.Comp.DataSet, FireDAC.VCLUI.Wait, FireDAC.Comp.UI;
type
TDmBd = class(TDataModule)
Conexao: TFDConnection;
FBDriver: TFDPhysFBDriverLink;
FdQuery: TFDQuery;
dsQuery: TDataSource;
FDGUIxWaitCursor1: TFDGUIxWaitCursor;
private
{ Private declarations }
public
function TestaConexao(AServidor, ABanco: string): Boolean;
procedure AbreConexao(AServidor, ABanco: string);
end;
var
DmBd: TDmBd;
implementation
{%CLASSGROUP 'Vcl.Controls.TControl'}
{$R *.dfm}
{ TDmBd }
procedure TDmBd.AbreConexao(AServidor, ABanco: string);
begin
with Conexao do
begin
Connected := False;
Params.Add('Server='+AServidor);
Params.Add('Database='+ABanco);
Params.Add('UserName=SYSDBA');
Params.Add('Password=masterkey');
Connected := True;
end;
end;
function TDmBd.TestaConexao(AServidor, ABanco: string): Boolean;
begin
Result := True;
try
AbreConexao(AServidor, ABanco);
except
Result := False;
end;
end;
end.
|
unit Bd.Gerenciador;
interface
uses
System.classes, System.SysUtils, Bd.DmConfig;
type
TBdGerenciador = class
private
FVersaoSistema : string;
FServidorBd : string;
FBanco : string;
FFalhouNaConexao : Boolean;
constructor Create;
public
property VersaoSistema : string read FVersaoSistema write FVersaoSistema;
property ServidorBd : string read FServidorBd write FServidorBd;
property Banco : string read FBanco write FBanco;
property FalhouNaConexao: Boolean read FFalhouNaConexao write FFalhouNaConexao;
class function ObterInstancia: TBdGerenciador;
class function NewInstance: TObject; override;
procedure AfterConstruction; override;
function ExisteConfiguracaoBanco: Boolean;
procedure AtualizaBanco;
function RetornaMaxCodigo(ATabela, ACampo: string): Integer;
end;
var
Instancia: TBdGerenciador;
implementation
uses
Winapi.Windows, Classes.Funcoes, Vcl.Forms, Bd.Atualizador, FireDAC.Comp.Client;
{ TDbGerenciador }
procedure TBdGerenciador.AfterConstruction;
begin
inherited;
try
if not SameText(ServidorBd, EmptyStr) and not SameText(Banco, EmptyStr) then
DmBd.AbreConexao(ServidorBd, Banco);
except
FalhouNaConexao := True;
end;
end;
procedure TBdGerenciador.AtualizaBanco;
var
AtualizaBd: TBdAtualizador;
begin
AtualizaBd := TBdAtualizador.Create;
try
AtualizaBd.CriaTabelas;
finally
FreeAndNil(AtualizaBd);
end;
end;
constructor TBdGerenciador.Create;
var
lLocal : HKey;
lChave : string;
begin
lLocal := HKEY_CURRENT_USER;
lChave := 'Software\\SoftPosto\\';
FalhouNaConexao := False;
with TFuncao do
begin
VersaoSistema := LerRegistroWindows(lLocal, lChave, 'VersaoSistema');
if SameText(VersaoSistema, EmptyStr) then
begin
VersaoSistema := '1.0.0';
SalvarRegistroWindows(lLocal, lChave, 'VersaoSistema', VersaoSistema);
end;
ServidorBd := LerRegistroWindows(lLocal, lChave, 'ServidorBd');
Banco := LerRegistroWindows(lLocal, lChave, 'Banco');
end;
end;
function TBdGerenciador.ExisteConfiguracaoBanco: Boolean;
begin
Result := not (SameText(ServidorBd, EmptyStr) and SameText(Banco, EmptyStr));
end;
class function TBdGerenciador.NewInstance: TObject;
begin
if not Assigned(Instancia) then
Instancia := TBdGerenciador(inherited NewInstance);
Result := Instancia;
end;
class function TBdGerenciador.ObterInstancia: TBdGerenciador;
begin
Result := TBdGerenciador.Create;
end;
function TBdGerenciador.RetornaMaxCodigo(ATabela, ACampo: string): Integer;
var
vSQL: string;
vDataSet: TFDQuery;
begin
Result := 0;
vSQL := 'Select Max(' + ACampo + ') as Codigo From ' + ATabela;
vDataSet := TFDQuery.Create(nil);
try
vDataSet.Connection := DmBd.Conexao;
if TFuncao.AbreTabela(vSQL, vDataSet) then
Result := StrToIntDef(vDataSet.FieldByName('Codigo').AsString, 0);
finally
vDataSet.Free;
end;
end;
initialization
finalization
FreeAndNil(Instancia);
end.
|
{*******************************************************************************
Title: T2Ti ERP
Description: VO relacionado à tabela [CONTRATO]
The MIT License
Copyright: Copyright (C) 2016 T2Ti.COM
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
The author may be contacted at:
t2ti.com@gmail.com
@author Albert Eije (t2ti.com@gmail.com)
@version 2.0
*******************************************************************************}
unit ContratoVO;
interface
uses
VO, Atributos, Classes, Constantes, Generics.Collections, SysUtils, DB,
ContratoHistFaturamentoVO, ContratoHistoricoReajusteVO, ContratoPrevFaturamentoVO,
ContabilContaVO, TipoContratoVO, ContratoSolicitacaoServicoVO;
type
[TEntity]
[TTable('CONTRATO')]
TContratoVO = class(TVO)
private
FID: Integer;
FID_SOLICITACAO_SERVICO: Integer;
FID_TIPO_CONTRATO: Integer;
FNUMERO: String;
FNOME: String;
FDESCRICAO: String;
FDATA_CADASTRO: TDateTime;
FDATA_INICIO_VIGENCIA: TDateTime;
FDATA_FIM_VIGENCIA: TDateTime;
FDIA_FATURAMENTO: String;
FVALOR: Extended;
FQUANTIDADE_PARCELAS: Integer;
FINTERVALO_ENTRE_PARCELAS: Integer;
FOBSERVACAO: String;
FCLASSIFICACAO_CONTABIL_CONTA: String;
//Transientes
FArquivo: String;
FTipoArquivo: String;
FContabilContaClassificacao: String;
FTipoContratoNome: String;
FContratoSolicitacaoServicoDescricao: String;
FContabilContaVO: TContabilContaVO;
FTipoContratoVO: TTipoContratoVO;
FContratoSolicitacaoServicoVO: TContratoSolicitacaoServicoVO;
FListaContratoHistFaturamentoVO: TObjectList<TContratoHistFaturamentoVO>;
FListaContratoHistoricoReajusteVO: TObjectList<TContratoHistoricoReajusteVO>;
FListaContratoPrevFaturamentoVO: TObjectList<TContratoPrevFaturamentoVO>;
public
constructor Create; override;
destructor Destroy; override;
[TId('ID', [ldGrid, ldLookup, ldComboBox])]
[TGeneratedValue(sAuto)]
[TFormatter(ftZerosAEsquerda, taCenter)]
property Id: Integer read FID write FID;
[TColumn('ID_SOLICITACAO_SERVICO', 'Id Solicitacao Servico', 80, [ldGrid, ldLookup, ldCombobox], False)]
[TFormatter(ftZerosAEsquerda, taCenter)]
property IdSolicitacaoServico: Integer read FID_SOLICITACAO_SERVICO write FID_SOLICITACAO_SERVICO;
[TColumnDisplay('CONTRATO_SOLICITACAO_SERVICO.DESCRICAO', 'Descrição da Solicitação', 250, [ldGrid], ftString, 'ContratoSolicitacaoServicoVO.TContratoSolicitacaoServicoVO', True)]
property ContratoSolicitacaoServicoDescricao: String read FContratoSolicitacaoServicoDescricao write FContratoSolicitacaoServicoDescricao;
[TColumn('ID_TIPO_CONTRATO', 'Id Tipo Contrato', 80, [ldGrid, ldLookup, ldCombobox], False)]
[TFormatter(ftZerosAEsquerda, taCenter)]
property IdTipoContrato: Integer read FID_TIPO_CONTRATO write FID_TIPO_CONTRATO;
[TColumnDisplay('TIPO_CONTRATO.NOME', 'Tipo Contrato', 200, [ldGrid], ftString, 'TipoContratoVO.TTipoContratoVO', True)]
property TipoContratoNome: String read FTipoContratoNome write FTipoContratoNome;
[TColumn('NUMERO', 'Numero', 400, [ldGrid, ldLookup, ldCombobox], False)]
property Numero: String read FNUMERO write FNUMERO;
[TColumn('NOME', 'Nome', 450, [ldGrid, ldLookup, ldCombobox], False)]
property Nome: String read FNOME write FNOME;
[TColumn('DESCRICAO', 'Descricao', 450, [ldGrid, ldLookup, ldCombobox], False)]
property Descricao: String read FDESCRICAO write FDESCRICAO;
[TColumn('DATA_CADASTRO', 'Data Cadastro', 80, [ldGrid, ldLookup, ldCombobox], False)]
property DataCadastro: TDateTime read FDATA_CADASTRO write FDATA_CADASTRO;
[TColumn('DATA_INICIO_VIGENCIA', 'Data Inicio Vigencia', 80, [ldGrid, ldLookup, ldCombobox], False)]
property DataInicioVigencia: TDateTime read FDATA_INICIO_VIGENCIA write FDATA_INICIO_VIGENCIA;
[TColumn('DATA_FIM_VIGENCIA', 'Data Fim Vigencia', 80, [ldGrid, ldLookup, ldCombobox], False)]
property DataFimVigencia: TDateTime read FDATA_FIM_VIGENCIA write FDATA_FIM_VIGENCIA;
[TColumn('DIA_FATURAMENTO', 'Dia Faturamento', 16, [ldGrid, ldLookup, ldCombobox], False)]
property DiaFaturamento: String read FDIA_FATURAMENTO write FDIA_FATURAMENTO;
[TColumn('VALOR', 'Valor', 168, [ldGrid, ldLookup, ldCombobox], False)]
[TFormatter(ftFloatComSeparador, taRightJustify)]
property Valor: Extended read FVALOR write FVALOR;
[TColumn('QUANTIDADE_PARCELAS', 'Quantidade Parcelas', 80, [ldGrid, ldLookup, ldCombobox], False)]
[TFormatter(ftZerosAEsquerda, taCenter)]
property QuantidadeParcelas: Integer read FQUANTIDADE_PARCELAS write FQUANTIDADE_PARCELAS;
[TColumn('INTERVALO_ENTRE_PARCELAS', 'Intervalo Entre Parcelas', 80, [ldGrid, ldLookup, ldCombobox], False)]
[TFormatter(ftZerosAEsquerda, taCenter)]
property IntervaloEntreParcelas: Integer read FINTERVALO_ENTRE_PARCELAS write FINTERVALO_ENTRE_PARCELAS;
[TColumn('OBSERVACAO', 'Observacao', 450, [ldGrid, ldLookup, ldCombobox], False)]
property Observacao: String read FOBSERVACAO write FOBSERVACAO;
[TColumn('CLASSIFICACAO_CONTABIL_CONTA', 'Classificacao Contabil Conta', 240, [ldGrid, ldLookup, ldCombobox], False)]
property ClassificacaoContabilConta: String read FCLASSIFICACAO_CONTABIL_CONTA write FCLASSIFICACAO_CONTABIL_CONTA;
//Transientes
[TColumn('ARQUIVO', 'Arquivo', 80, [], True)]
property Arquivo: String read FArquivo write FArquivo;
[TColumn('TIPO_ARQUIVO', 'Tipo Arquivo', 80, [], True)]
property TipoArquivo: String read FTipoArquivo write FTipoArquivo;
[TAssociation('CLASSIFICACAO', 'CLASSIFICACAO_CONTABIL_CONTA')]
property ContabilContaVO: TContabilContaVO read FContabilContaVO write FContabilContaVO;
[TAssociation('ID', 'ID_TIPO_CONTRATO')]
property TipoContratoVO: TTipoContratoVO read FTipoContratoVO write FTipoContratoVO;
[TAssociation('ID', 'ID_SOLICITACAO_SERVICO')]
property ContratoSolicitacaoServicoVO: TContratoSolicitacaoServicoVO read FContratoSolicitacaoServicoVO write FContratoSolicitacaoServicoVO;
[TManyValuedAssociation('ID_CONTRATO', 'ID')]
property ListaContratoHistFaturamentoVO: TObjectList<TContratoHistFaturamentoVO> read FListaContratoHistFaturamentoVO write FListaContratoHistFaturamentoVO;
[TManyValuedAssociation('ID_CONTRATO', 'ID')]
property ListaContratoHistoricoReajusteVO: TObjectList<TContratoHistoricoReajusteVO> read FListaContratoHistoricoReajusteVO write FListaContratoHistoricoReajusteVO;
[TManyValuedAssociation('ID_CONTRATO', 'ID')]
property ListaContratoPrevFaturamentoVO: TObjectList<TContratoPrevFaturamentoVO> read FListaContratoPrevFaturamentoVO write FListaContratoPrevFaturamentoVO;
end;
implementation
constructor TContratoVO.Create;
begin
inherited;
FContabilContaVO := TContabilContaVO.Create;
FTipoContratoVO := TTipoContratoVO.Create;
FContratoSolicitacaoServicoVO := TContratoSolicitacaoServicoVO.Create;
FListaContratoHistFaturamentoVO := TObjectList<TContratoHistFaturamentoVO>.Create;
FListaContratoHistoricoReajusteVO := TObjectList<TContratoHistoricoReajusteVO>.Create;
FListaContratoPrevFaturamentoVO := TObjectList<TContratoPrevFaturamentoVO>.Create;
end;
destructor TContratoVO.Destroy;
begin
FreeAndNil(FContabilContaVO);
FreeAndNil(FTipoContratoVO);
FreeAndNil(FContratoSolicitacaoServicoVO);
FreeAndNil(FListaContratoHistFaturamentoVO);
FreeAndNil(FListaContratoHistoricoReajusteVO);
FreeAndNil(FListaContratoPrevFaturamentoVO);
inherited;
end;
initialization
Classes.RegisterClass(TContratoVO);
finalization
Classes.UnRegisterClass(TContratoVO);
end.
|
unit uJxdGpBasic;
interface
uses
Windows, Messages, SysUtils, Classes, Controls, StdCtrls, ExtCtrls, GDIPAPI, GDIPOBJ, Graphics, uJxdGpStyle;
type
TxdGraphicsBasic = class(TControl)
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
procedure Click; override;
procedure ClearDrawRect;
procedure InvalidateRect(const AR: TGPRect); overload;
procedure InvalidateRect(const AR: TGPRectF); overload;
procedure InvalidateRect(const AR: TRect); overload;
procedure Invalidate; override;
protected
FCurReDrawRect: TGPRect;
//子类实现
procedure DrawGraphics(const AGh: TGPGraphics); virtual;
procedure DoControlStateChanged(const AOldState, ANewState: TxdGpUIState; const ACurPt: TPoint); virtual;
//绘制接口
procedure SetParent(AParent: TWinControl); override;
procedure WMPaint(var Message: TWMPaint); message WM_PAINT;
procedure CMMouseEnter(var Message: TMessage); message CM_MOUSEENTER;
procedure CMMouseLeave(var Message: TMessage); message CM_MOUSELEAVE;
procedure WMLButtonDown(var Message: TWMLButtonDown); message WM_LBUTTONDOWN;
procedure WMLButtonUp(var Message: TWMLButtonUp); message WM_LBUTTONUP;
procedure WMSetText(var Message: TMessage); message WM_SETTEXT;
procedure WMMouseMove(var Message: TWMMouseMove); message WM_MOUSEMOVE;
procedure WMEraseBkGnd(var Message: TWMEraseBkGnd); message WM_ERASEBKGND;
//功能
function GetCurControlState: TxdGpUIState; inline;
function IsXolGpRect(const AR: TGPRect): Boolean; //指定的范围是否在当前需要绘制的位置
private
FDelBufBmpTimer: TTimer;
FBufBmp: TGPBitmap;
FDownPt: TPoint;
FLButtonDown: Boolean;
FCurControlState: TxdGpUIState;
FAllowMoveByMouse: Boolean;
procedure ChangedControlState(const ACurState: TxdGpUIState; const ACurPt: TPoint);
procedure SetAllowMoveByMouse(const Value: Boolean);
procedure CheckToDelBufBmpByTimer;
procedure DoTimerToDelBufBitmap(Sender: TObject);
published
property Align;
property Anchors;
property Caption;
property ShowHint;
property Visible;
property Enabled;
property OnClick;
property OnDblClick;
property OnCanResize;
property OnMouseDown;
property OnMouseLeave;
property OnMouseEnter;
property OnMouseMove;
property OnMouseUp;
property OnMouseWheel;
property OnMouseWheelDown;
property OnMouseWheelUp;
property AllowMoveByMouse: Boolean read FAllowMoveByMouse write SetAllowMoveByMouse;
end;
implementation
uses
uJxdGpSub;
{ TxdGraphicsBasic }
procedure TxdGraphicsBasic.ChangedControlState(const ACurState: TxdGpUIState; const ACurPt: TPoint);
var
oldState: TxdGpUIState;
begin
if Enabled and (FCurControlState <> ACurState) then
begin
oldState := FCurControlState;
FCurControlState := ACurState;
DoControlStateChanged( oldState, FCurControlState, ACurPt );
end;
end;
procedure TxdGraphicsBasic.CheckToDelBufBmpByTimer;
begin
if Assigned(FDelBufBmpTimer) then
begin
FDelBufBmpTimer.Enabled := False;
FDelBufBmpTimer.Enabled := True;
end
else
begin
FDelBufBmpTimer := TTimer.Create( Self );
FDelBufBmpTimer.Interval := 800;
FDelBufBmpTimer.OnTimer := DoTimerToDelBufBitmap;
FDelBufBmpTimer.Enabled := True;
end;
end;
procedure TxdGraphicsBasic.ClearDrawRect;
begin
FCurReDrawRect := MakeRect(0, 0, 0, 0);
end;
procedure TxdGraphicsBasic.Click;
begin
inherited;
end;
procedure TxdGraphicsBasic.CMMouseEnter(var Message: TMessage);
var
pt: TPoint;
begin
inherited;
GetCursorPos( pt );
ChangedControlState( uiActive, ScreenToClient(pt) );
end;
procedure TxdGraphicsBasic.CMMouseLeave(var Message: TMessage);
var
pt: TPoint;
begin
inherited;
if FCurControlState <> uiDown then
begin
GetCursorPos( pt );
ChangedControlState( uiNormal, ScreenToClient(pt) );
end;
end;
constructor TxdGraphicsBasic.Create(AOwner: TComponent);
begin
inherited;
FCurControlState := uiNormal;
FDownPt.X := 0;
FDownPt.Y := 0;
FLButtonDown := False;
FAllowMoveByMouse := False;
FBufBmp := nil;
FDelBufBmpTimer := nil;
end;
destructor TxdGraphicsBasic.Destroy;
begin
FreeAndNil( FBufBmp );
FreeAndNil( FDelBufBmpTimer );
inherited;
end;
procedure TxdGraphicsBasic.DoControlStateChanged(const AOldState, ANewState: TxdGpUIState; const ACurPt: TPoint);
begin
OutputDebugString( PChar('OldState: ' + IntToStr(Integer(AOldState)) +
'; NewState: ' + IntToStr(Integer(ANewState)) + 'Changed Point:' + IntToStr(ACurPt.X) + ', ' + IntToStr(ACurPt.Y)) );
Invalidate;
end;
procedure TxdGraphicsBasic.DoTimerToDelBufBitmap(Sender: TObject);
begin
FreeAndNil( FDelBufBmpTimer );
FreeAndNil( FBufBmp );
// OutputDebugString( 'DoTimerToDelBufBitmap' );
end;
procedure TxdGraphicsBasic.DrawGraphics(const AGh: TGPGraphics);
begin
end;
function TxdGraphicsBasic.GetCurControlState: TxdGpUIState;
begin
if Enabled then
Result := FCurControlState
else
Result := uiNormal;
end;
procedure TxdGraphicsBasic.Invalidate;
begin
FreeAndNil( FDelBufBmpTimer );
FreeAndNil( FBufBmp );
inherited Invalidate;
end;
procedure TxdGraphicsBasic.InvalidateRect(const AR: TGPRectF);
var
R: TRect;
begin
FCurReDrawRect := GpRect(AR);
if Assigned(Parent) then
begin
R.Left := Round(AR.X) + Left;
R.Top := Round(AR.Y) + Top;
R.Bottom := Round(R.Top) + Round(AR.Height);
R.Right := Round(R.Left) + Round(AR.Width);
FreeAndNil( FDelBufBmpTimer );
FreeAndNil( FBufBmp );
Windows.InvalidateRect( Parent.Handle, @R, False );
end
else
Invalidate;
end;
function TxdGraphicsBasic.IsXolGpRect(const AR: TGPRect): Boolean;
begin
if (FCurReDrawRect.X = 0) and (FCurReDrawRect.Y = 0) and (FCurReDrawRect.Width = 0) and (FCurReDrawRect.Height = 0) then
begin
Result := True;
Exit;
end;
Result := ((AR.X + AR.Width) >= FCurReDrawRect.X) and (AR.X <= (FCurReDrawRect.X + FCurReDrawRect.Width)) and
((AR.Y + AR.Height) >= FCurReDrawRect.Y) and (AR.Y <= (FCurReDrawRect.Y + FCurReDrawRect.Height));
end;
procedure TxdGraphicsBasic.InvalidateRect(const AR: TGPRect);
var
R: TRect;
begin
FCurReDrawRect := AR;
if Assigned(Parent) then
begin
R.Left := AR.X + Left;
R.Top := AR.Y + Top;
R.Bottom := R.Top + AR.Height;
R.Right := R.Left + AR.Width;
FreeAndNil( FDelBufBmpTimer );
FreeAndNil( FBufBmp );
Windows.InvalidateRect( Parent.Handle, @R, False );
end
else
Invalidate;
end;
procedure TxdGraphicsBasic.SetAllowMoveByMouse(const Value: Boolean);
begin
FAllowMoveByMouse := Value;
end;
procedure TxdGraphicsBasic.SetParent(AParent: TWinControl);
begin
inherited;
if Assigned(Parent) and not Parent.DoubleBuffered then
Parent.DoubleBuffered := True;
end;
procedure TxdGraphicsBasic.WMEraseBkGnd(var Message: TWMEraseBkGnd);
begin
Message.Result := 1;
end;
procedure TxdGraphicsBasic.WMLButtonDown(var Message: TWMLButtonDown);
begin
if FAllowMoveByMouse and not FLButtonDown then
begin
FLButtonDown := True;
FDownPt.X := Message.XPos;
FDownPt.Y := Message.YPos;
end;
ChangedControlState( uiDown, Point(Message.XPos, Message.YPos) );
inherited;
end;
procedure TxdGraphicsBasic.WMLButtonUp(var Message: TWMLButtonUp);
begin
if FLButtonDown then
FLButtonDown := False;
if PtInRect(ClientRect, Point(Message.XPos, Message.YPos)) then
ChangedControlState( uiActive, Point(Message.XPos, Message.YPos) )
else
ChangedControlState( uiNormal, Point(Message.XPos, Message.YPos) );
inherited;
end;
procedure TxdGraphicsBasic.WMMouseMove(var Message: TWMMouseMove);
begin
if FAllowMoveByMouse and FLButtonDown then
begin
Left := Left + Message.XPos - FDownPt.X;
Top := Top + Message.YPos - FDownPt.Y;
end;
inherited;
end;
procedure TxdGraphicsBasic.WMPaint(var Message: TWMPaint);
var
G: TGPGraphics;
memGh: TGPGraphics;
R: TRect;
begin
if (Message.DC <> 0) and not (csDestroying in ComponentState) then
begin
GetClipBox( Message.DC, R );
// OutputDebugString( PChar('Left: ' + IntToStr(R.Left) + ' Rigth: ' + IntTostr(R.Right) +
// 'Top: ' + IntToStr(R.Top) + 'Bottom: ' + IntToStr(R.Bottom)) );
G := TGPGraphics.Create( Message.DC );
try
if not Assigned(FBufBmp) or (Integer(FBufBmp.GetWidth) <> Width) or (Integer(FBufBmp.GetHeight) <> Height) then
begin
// OutputDebugString( 'Create New Buffer bitmap to Draw' );
FreeAndNil( FBufBmp );
FBufBmp := TGPBitmap.Create( Width, Height );
memGh := TGPGraphics.Create( FBufBmp );
try
DrawGraphics( memGh );
finally
memGh.Free;
end;
end;
if not Enabled then
ChangedBmpToGray( FBufBmp );
G.DrawImage( FBufBmp, R.Left, R.Top, R.Left, R.Top,
R.Right - R.Left, R.Bottom - R.Top, UnitPixel );
// FreeAndNil( FBufBmp );
CheckToDelBufBmpByTimer;
finally
G.Free;
FCurReDrawRect := MakeRect(0, 0, 0, 0);
end;
end;
end;
procedure TxdGraphicsBasic.WMSetText(var Message: TMessage);
begin
inherited;
Invalidate;
end;
procedure TxdGraphicsBasic.InvalidateRect(const AR: TRect);
begin
FCurReDrawRect := MakeRect(AR.Left, AR.Top, AR.Right - AR.Left, AR.Bottom - AR.Top);
if Assigned(Parent) then
begin
FreeAndNil( FDelBufBmpTimer );
FreeAndNil( FBufBmp );
Windows.InvalidateRect( Parent.Handle, @AR, False );
end
else
Invalidate;
end;
end.
|
unit Crypt;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, DCPsha1;
function GenerateSalt(SaltLength: Integer): String;
function HashString(StringToHash: String): String;
implementation
function HashString(StringToHash: String): String;
var
Hash: TDCP_sha1;
Digest: array [1..20] of byte;
ResultStr: String;
i: Integer;
begin
Hash:= TDCP_sha1.Create(nil);
try
Hash.Init;
Hash.UpdateStr(StringToHash); //calculate the hesh-sum
Hash.Final(Digest);
for i:=1 to 20 do
ResultStr:=ResultStr+inttohex(Digest[i],1);
Result:= ResultStr;
finally
Hash.Free;
end;
end;
function GenerateSalt(SaltLength: Integer): String;
var
Chars: string;
begin
Randomize;
//string with all possible chars
Chars:= 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
Result:= '';
repeat
Result:= Result + Chars[Random(Length(Chars)) + 1];
until (Length(Result) = SaltLength)
end;
|
unit CreateIndex;
interface
uses
System.SysUtils, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CreateObjectDialog, Vcl.Buttons,
Grids, JvExGrids, JvStringGrid, BCControls.StringGrid, Vcl.StdCtrls, BCControls.ComboBox, BCControls.Edit,
Vcl.ImgList, SynEditHighlighter, SynHighlighterSQL, ActnList, ComCtrls, ToolWin, JvExComCtrls, SynEdit, Vcl.ExtCtrls,
JvComCtrls, BCControls.PageControl, BCControls.ToolBar, BCDialogs.Dlg, System.Actions, BCControls.ImageList;
type
TCreateIndexDialog = class(TCreateObjectBaseDialog)
ColumnBottomPanel: TPanel;
ColumnsPanel: TPanel;
ColumnsStringGrid: TBCStringGrid;
ColumnsTabSheet: TTabSheet;
IndexNameEdit: TBCEdit;
IndexNameLabel: TLabel;
MoveDownColumnAction: TAction;
MoveupColumnAction: TAction;
NonuniqueRadioButton: TRadioButton;
TableLabel: TLabel;
TableNameComboBox: TBCComboBox;
TableNameEdit: TBCEdit;
UniquenessLabel: TLabel;
UniqueRadioButton: TRadioButton;
ColumnsToolBar: TBCToolBar;
MoveUpToolButton: TToolButton;
MoveDownToolButton: TToolButton;
procedure FormDestroy(Sender: TObject);
procedure Formshow(Sender: TObject);
procedure MoveDownColumnActionExecute(Sender: TObject);
procedure MoveupColumnActionExecute(Sender: TObject);
procedure TableNameComboBoxChange(Sender: TObject);
private
{ Private declarations }
procedure GetColumnNames;
procedure GetTableNames;
protected
function CheckFields: Boolean; override;
procedure CreateSQL; override;
procedure Initialize; override;
end;
function CreateIndexDialog: TCreateIndexDialog;
implementation
{$R *.dfm}
uses
DataModule, Ora, Lib, BCCommon.StyleUtils, BCCommon.Messages, BCCommon.Lib;
var
FCreateIndexDialog: TCreateIndexDialog;
function CreateIndexDialog: TCreateIndexDialog;
begin
if not Assigned(FCreateIndexDialog) then
Application.CreateForm(TCreateIndexDialog, FCreateIndexDialog);
Result := FCreateIndexDialog;
SetStyledFormSize(TDialog(Result));
end;
procedure TCreateIndexDialog.FormDestroy(Sender: TObject);
begin
inherited;
FCreateIndexDialog := nil;
end;
procedure TCreateIndexDialog.Formshow(Sender: TObject);
begin
inherited;
IndexNameEdit.SetFocus;
end;
procedure TCreateIndexDialog.MoveDownColumnActionExecute(Sender: TObject);
begin
inherited;
Lib.MoveStringGridRow(ColumnsStringGrid, 1);
end;
procedure TCreateIndexDialog.MoveupColumnActionExecute(Sender: TObject);
begin
inherited;
Lib.MoveStringGridRow(ColumnsStringGrid, -1);
end;
procedure TCreateIndexDialog.TableNameComboBoxChange(Sender: TObject);
begin
inherited;
GetColumnNames;
CreateSQL;
end;
function TCreateIndexDialog.CheckFields: Boolean;
var
i: Integer;
Found: Boolean;
begin
Result := False;
if Trim(IndexNameEdit.Text) = '' then
begin
ShowErrorMessage('Set index name.');
IndexNameEdit.SetFocus;
Exit;
end;
if Trim(TableNameComboBox.Text) = '' then
begin
ShowErrorMessage('Set table name.');
TableNameComboBox.SetFocus;
Exit;
end;
Found := False;
for i := 0 to ColumnsStringGrid.RowCount - 1 do
begin
if ColumnsStringGrid.Cells[1, i] = 'True' then
begin
Found := True;
Break;
end;
end;
if not Found then
begin
ShowErrorMessage('Set columns.');
Exit;
end;
Result := True;
end;
procedure TCreateIndexDialog.GetTableNames;
var
OraQuery: TOraQuery;
begin
OraQuery := TOraQuery.Create(nil);
OraQuery.Session := FOraSession;
OraQuery.SQL.Add(DM.StringHolder.StringsByName['AllTablesOfSchemaSQL'].Text);
with OraQuery do
try
ParamByName('P_SCHEMA').AsWideString := FSchemaParam;
Prepare;
Open;
while not Eof do
begin
TableNameComboBox.Items.Add(FieldByName('TABLE_NAME').AsString);
Next;
end;
finally
Close;
UnPrepare;
FreeAndNil(OraQuery);
end;
end;
procedure TCreateIndexDialog.Initialize;
begin
inherited;
if FObjectName <> '' then
begin
TableNameEdit.Visible := True;
TableNameEdit.Text := FObjectName;
TableNameComboBox.Visible := False;
TableNameComboBox.Text := FObjectName;
GetColumnNames;
end;
ColumnsStringGrid.Cells[0, 0] := 'Column';
ColumnsStringGrid.Cells[1, 0] := 'Selected';
GetTableNames;
end;
procedure TCreateIndexDialog.GetColumnNames;
var
i: Integer;
OraQuery: TOraQuery;
begin
OraQuery := TOraQuery.Create(nil);
OraQuery.Session := FOraSession;
OraQuery.SQL.Add(DM.StringHolder.StringsByName['TableColumnsSQL'].Text);
with OraQuery do
try
ParamByName('P_TABLE_NAME').AsWideString := TableNameComboBox.Text;
ParamByName('P_SCHEMA').AsWideString := FSchemaParam;
Prepare;
Open;
i := 1; // header & first row
ColumnsStringGrid.RowCount := RecordCount + 1;
while not Eof do
begin
ColumnsStringGrid.Cells[0, i] := FieldByName('COLUMN_NAME').AsString;
ColumnsStringGrid.Cells[1, i] := 'False';
Inc(i);
Next;
end;
finally
Close;
UnPrepare;
FreeAndNil(OraQuery);
end;
end;
procedure TCreateIndexDialog.CreateSQL;
var
i: Integer;
Unique, Columns: string;
begin
SourceSynEdit.Lines.Clear;
SourceSynEdit.Lines.BeginUpdate;
Unique := 'UNIQUE';
if NonuniqueRadioButton.Checked then
Unique := 'NON' + Unique;
SourceSynEdit.Lines.Text := Format('CREATE %s INDEX %s.%s ON %s.%s', [Unique, FSchemaParam,
IndexNameEdit.Text, FSchemaParam, TableNameComboBox.Text]) + CHR_ENTER;
Columns := '';
for i := 0 to ColumnsStringGrid.RowCount - 1 do
begin
if ColumnsStringGrid.Cells[1, i] = 'True' then
begin
if Columns <> '' then
Columns := Columns + ', ';
Columns := Columns + ColumnsStringGrid.Cells[0, i];
end;
end;
SourceSynEdit.Lines.Text := SourceSynEdit.Lines.Text + Format(' (%s);', [Columns]);
SourceSynEdit.Lines.Text := Trim(SourceSynEdit.Lines.Text);
SourceSynEdit.Lines.EndUpdate;
end;
end.
|
{ Routines that deal with the programmer firwmare version and other
* information about the firmware.
}
module picprg_fw;
define picprg_fwinfo;
define picprg_fw_show1;
define picprg_fw_check;
%include 'picprg2.ins.pas';
{
*******************************************************************************
*
* Subroutine PICPRG_FWINFO (PR, FWINFO, STAT)
*
* Determine the firmware information and related parameters. FWINFO will be
* completely filled in if STAT indicates no error. All previous values in
* FWINFO will be lost.
}
procedure picprg_fwinfo ( {get all info about programmer firmware}
in out pr: picprg_t; {state for this use of the library}
out fwinfo: picprg_fw_t; {returned information about programmer FW}
out stat: sys_err_t); {completion status}
val_param;
const
vppdef_k = 13.0; {default fixed Vpp, volts}
vppres_k = 20.0 / 255.0; {Vpp resolution, volts}
vddres_k = 6.0 / 255.0; {Vdd resolution, volts}
{
* Derived constants.
}
vpperr_k = vppres_k / 2.0; {error in describing Vpp level, volts}
ivppdef_k = trunc((vppdef_k / vppres_k) + 0.5); {byte value for default Vpp}
vppidef_k = ivppdef_k * vppres_k; {Vpp volts from default byte value}
vppdefmin_k = vppidef_k - vpperr_k; {minimum default programmer Vpp}
vppdefmax_k = vppidef_k + vpperr_k; {maximum default programmer Vpp}
var
i, j: sys_int_machine_t; {scratch integer and loop counter}
dat: sys_int_machine_t; {scratch data value}
cmd: picprg_cmd_t; {single command descriptor}
ovl: picprg_cmdovl_t; {overlapped commands control state}
out_p: picprg_cmd_p_t; {pointer to command descriptor for output}
in_p: picprg_cmd_p_t; {pointer to command descriptor for input}
s: integer32; {integer value of 32 element set}
b: boolean; {scratch TRUE/FALSE}
oldf: picprg_flags_t; {saved global flags}
subsys: string_var80_t; {subsystem name to find message file}
msg: string_var80_t; {name of message within message file}
tk: string_var80_t; {scratch token string}
label
spec2, spec5, loop_chkcmd, have_cmds, gc0done;
begin
subsys.max := size_char(subsys.str); {init local var strings}
msg.max := size_char(msg.str);
tk.max := size_char(tk.str);
picprg_cmdovl_init (ovl); {init overlapped commands state}
picprg_cmdw_fwinfo ( {send FWINFO command and get response}
pr, {state for this use of the library}
fwinfo.org, {organization ID}
fwinfo.cvlo, {lowest protocol spec compatible with}
fwinfo.cvhi, {highest protocol spec compatible with}
fwinfo.vers, {firmware version number}
fwinfo.info, {arbitrary 32 bit info value from firmware}
stat);
if sys_error(stat) then return;
{
* Init all remaining fields to default values.
}
fwinfo.id := 0; {firmware type ID}
fwinfo.idname.max := size_char(fwinfo.idname.str);
fwinfo.idreset := [
picprg_reset_none_k,
picprg_reset_62x_k,
picprg_reset_18f_k,
picprg_reset_dpna_k];
fwinfo.idwrite := [
picprg_write_none_k,
picprg_write_16f_k,
picprg_write_12f6_k,
picprg_write_core12_k];
fwinfo.idread := [
picprg_read_none_k,
picprg_read_16f_k,
picprg_read_18f_k,
picprg_read_core12_k];
fwinfo.varvdd := true;
fwinfo.vddmin := 0.0;
fwinfo.vddmax := 6.0;
fwinfo.vppmin := vppdefmin_k;
fwinfo.vppmax := vppdefmax_k;
fwinfo.ticksec := 200.0e-6; {default tick is 200uS}
fwinfo.ftickf := 0.0; {init to fast ticks not used}
{
* Determine which commands are available. All old firmware reports a maximum
* version of 1-4 and implements commands 1-38. Newer firmware with a maximum
* spec version of 5 or more implements the CHKCMD command which is used to
* determine the availability of individual commands.
}
if fwinfo.cvhi >= 9 then goto spec5; {definitely spec version 5 or later ?}
if fwinfo.cvhi <= 4 then goto spec2; {definitely spec version 2 ?}
{
* The reported firmware version is 5-8. This should indicate spec version 5
* or later, but unfortunately some EasyProg special releases for Radianse
* also report a version in this range although they only comply with spec
* version 2. If this is a ProProg or any other unit, it must be at spec
* version 5 or later, but we don't know that yet. The existance of the
* CHKCMD command (41) is tested, since this was first introduced in spec
* version 5. The CHKCMD command is assumed to be not present if it does
* not respond within a short time. Since the remote unit shouldn't be doing
* anything right now, it should respond to the CHKCMD command in well under
* 1 millisecond.
}
fwinfo.cmd[41] := true; {temporarily indicate CHKCMD command exists}
picprg_cmd_chkcmd (pr, cmd, 41, stat); {send CHKCMD CHKCMD command}
if sys_error(stat) then return;
oldf := pr.flags; {save snapshot of current flags}
pr.flags := pr.flags - [picprg_flag_nintout_k]; {make sure command timeout enabled}
picprg_wait_cmd_tout (pr, cmd, 0.100, stat); {wait for command or short timeout}
if picprg_flag_nintout_k in oldf then begin {timeout was disabled ?}
pr.flags := pr.flags + [picprg_flag_nintout_k]; {restore timeout flag}
end;
if not sys_error(stat) then goto spec5; {CHKCMD responded, spec rev >= 5 ?}
if not sys_stat_match (picprg_subsys_k, picprg_stat_nresp_k, stat)
then return;
fwinfo.cvhi := 2; {indicate real spec version}
fwinfo.cvlo := min(fwinfo.cvlo, fwinfo.cvhi); {make sure lowest doesn't exceed highest ver}
{
* This firmware conforms to a spec version before 5.
}
spec2:
for i := 0 to 255 do begin
fwinfo.cmd[i] := (i >= 1) and (i <= 38);
end;
goto have_cmds; {done determining list of implemented commands}
{
* This firmware conforms to spec version 5 or higher.
}
spec5:
fwinfo.cmd[41] := true; {indicate CHKCMD command is available}
i := 0; {init opcode to check with next CHKCMD command}
j := 0; {init opcode checked by next CHKCMD response}
loop_chkcmd: {back here to handle next CHKCMD cmd and/or resp}
if i <= 255 then begin {at least one more command to send ?}
picprg_cmdovl_out (pr, ovl, out_p, stat); {try to get free command descriptor}
if sys_error(stat) then return;
if out_p <> nil then begin {got a command descriptor ?}
picprg_cmd_chkcmd (pr, out_p^, i, stat); {send the command to check opcode I}
if sys_error(stat) then return;
i := i + 1; {make opcode to check with next command}
goto loop_chkcmd; {back to send next request if possible}
end;
end;
picprg_cmdovl_in (pr, ovl, in_p, stat); {get next command waiting for input}
if sys_error(stat) then return;
picprg_rsp_chkcmd (pr, in_p^, fwinfo.cmd[j], stat); {get this CHKCMD response}
if sys_error(stat) then return;
j := j + 1; {make opcode checked by next CHKCMD response}
if j <= 255 then goto loop_chkcmd; {back for next CHKCMD command and/or response}
have_cmds: {done filling in FWINFO.CMD}
{
* Get the real firmware type ID if the FWINFO2 command is supported. The
* IDNAME string will also be updated accordingly. IDNAME will be the
* name supplied in the message file PICPRG_ORGxx.MSG where XX is the
* decimal organization ID name. The name is the expansion of the message
* IDNAMExx where XX is the decimal firmware ID name.
}
if fwinfo.cmd[39] then begin {FWINFO2 command is available ?}
picprg_cmdw_fwinfo2 (pr, fwinfo.id, stat); {send FWINFO2 command}
if sys_error(stat) then return;
end;
string_vstring (subsys, 'picprg_org'(0), -1); {init subsystem name}
string_f_int (tk, ord(fwinfo.org)); {make decimal organization ID string}
string_append (subsys, tk); {make complete subsystem name}
string_vstring (msg, 'idname'(0), -1); {init message name}
string_f_int (tk, fwinfo.id); {make decimal firmware type ID}
string_append (msg, tk); {make complete message name}
if not string_f_messaget ( {unable to find fimware type name message ?}
fwinfo.idname, {returned message expansion string}
subsys, {generic message file name}
msg, {name of message within message file}
nil, 0) {parameters passed to the message}
then begin
string_f_int (fwinfo.idname, fwinfo.id); {default name to decimal ID}
end;
{
* Indicate variable Vdd is not available if the appropriate commands are
* not available.
}
fwinfo.varvdd := {indicate variable Vdd only if commands avail}
( fwinfo.cmd[16] and {VDDVALS available ?}
fwinfo.cmd[17] and {VDDLOW available ?}
fwinfo.cmd[19]) {VDDHIGH available ?}
or fwinfo.cmd[65]; {VDD available ?}
{
* Get the programmer clock tick time if the GETTICK commnd is available.
}
if fwinfo.cmd[64] then begin {GETTICK command available ?}
picprg_cmdw_gettick (pr, fwinfo.ticksec, stat); {get clock tick period}
if sys_error(stat) then return;
end;
{
* Get the fast clock tick period if this programmer supports fast clock ticks.
}
if fwinfo.cmd[84] then begin {FTICKF command available ?}
picprg_cmdw_ftickf (pr, fwinfo.ftickf, stat); {get fast tick frequency}
if sys_error(stat) then return;
end;
{
* Get information on specific optional capabilities. FWINFO has already
* been set to default values. These may be modified due to specific responses
* from the GETCAP command, if present.
}
if fwinfo.cmd[51] then begin {GETCAP command available ?}
picprg_cmdw_getcap (pr, picprg_pcap_varvdd_k, 0, i, stat); {variable Vdd ?}
if sys_error(stat) then return;
case i of
0: begin {0-6 volts variable Vdd is implemented}
fwinfo.varvdd := true;
fwinfo.vddmin := 0.0;
fwinfo.vddmax := 6.0;
end;
1: begin {programmer implements a fixed Vdd}
fwinfo.varvdd := false;
picprg_cmdw_getcap (pr, picprg_pcap_varvdd_k, 1, i, stat); {get fixed Vdd level}
if sys_error(stat) then return;
if i = 0
then begin {default, reporting fixed Vdd not implemented}
fwinfo.vddmin := 5.0 - vddres_k/2.0; {fixed Vdd is 5 volts}
fwinfo.vddmax := 5.0 + vddres_k/2.0;
end
else begin {fixed Vdd returned}
fwinfo.vddmin := (i - 0.5) * vddres_k;
fwinfo.vddmax := (i + 0.5) * vddres_k;
end
;
end;
otherwise
if {work around bug in LProg fiwmare before LPRG 8}
(fwinfo.org = picprg_org_official_k) and {Embed Inc firmware ?}
(fwinfo.id = 3) and {firmware type is LPRG ?}
(fwinfo.vers < 8) {a version before GETCAP 0 0 bug fixed ?}
then begin
fwinfo.varvdd := false;
fwinfo.vddmin := (140 - 0.5) * vddres_k;
fwinfo.vddmax := (140 + 0.5) * vddres_k;
goto gc0done;
end;
sys_stat_set (picprg_subsys_k, picprg_stat_getcap_bad_k, stat);
sys_stat_parm_int (ord(picprg_pcap_varvdd_k), stat); {GETCAP parameter 1}
sys_stat_parm_int (0, stat); {GETCAP parameter 2}
sys_stat_parm_int (i, stat); {GETCAP response}
return;
end;
gc0done: {done with GETCAP 0 inquiries}
s := 0; {init all IDs to unimplemented}
for dat := 0 to 31 do begin {once for each possible set element}
picprg_cmdw_getcap (pr, picprg_pcap_reset_k, dat, i, stat);
if sys_error(stat) then return;
if dat <= 3 {set B if this algorithm implemented}
then b := (i = 0) {IDs 0-3 default implemented}
else b := (i <> 0); {IDs >3 default unimplemented}
if b then s := s ! lshft(1, dat); {set bit if this ID implemented}
end; {back for next ID}
fwinfo.idreset := picprg_reset_t(s); {update official set of implemented IDs}
s := 0; {init all IDs to unimplemented}
for dat := 0 to 31 do begin {once for each possible set element}
picprg_cmdw_getcap (pr, picprg_pcap_write_k, dat, i, stat);
if sys_error(stat) then return;
if dat <= 3 {set B if this algorithm implemented}
then b := (i = 0) {IDs 0-3 default implemented}
else b := (i <> 0); {IDs >3 default unimplemented}
if b then s := s ! lshft(1, dat); {set bit if this ID implemented}
end; {back for next ID}
fwinfo.idwrite := picprg_write_t(s); {update official set of implemented IDs}
s := 0; {init all IDs to unimplemented}
for dat := 0 to 31 do begin {once for each possible set element}
picprg_cmdw_getcap (pr, picprg_pcap_read_k, dat, i, stat);
if sys_error(stat) then return;
if dat <= 3 {set B if this algorithm implemented}
then b := (i = 0) {IDs 0-3 default implemented}
else b := (i <> 0); {IDs >3 default unimplemented}
if b then s := s ! lshft(1, dat); {set bit if this ID implemented}
end; {back for next ID}
fwinfo.idread := picprg_read_t(s); {update official set of implemented IDs}
picprg_cmdw_getcap (pr, picprg_pcap_vpp_k, 0, i, stat); {ask about min Vpp}
if sys_error(stat) then return;
picprg_cmdw_getcap (pr, picprg_pcap_vpp_k, 1, j, stat); {ask about max Vpp}
if sys_error(stat) then return;
if (i <> 0) and (j <> 0) then begin {Vpp range is specified ?}
fwinfo.vppmin := max(0.0, i * vppres_k - vpperr_k); {save min Vpp capability}
fwinfo.vppmax := j * vppres_k + vpperr_k; {save max Vpp capability}
end;
end; {done using GETCAP}
end;
{
*******************************************************************************
*
* Subroutine PICPRG_FW_SHOW1 (PR, FW, STAT)
*
* Write information about the firmware to standard output. This will also
* show the user defined name of this programmer if the name is available.
}
procedure picprg_fw_show1 ( {show firmware: version, org name}
in out pr: picprg_t; {state for this use of the library}
in fw: picprg_fw_t; {firmware information}
out stat: sys_err_t); {completion status}
val_param;
const
max_msg_args = 3; {max arguments we can pass to a message}
var
tk: string_var32_t; {scratch token}
msg_parm: {references arguments passed to a message}
array[1..max_msg_args] of sys_parm_msg_t;
begin
tk.max := size_char(tk.str); {init local var string}
sys_error_none (stat); {init to no error encountered}
sys_msg_parm_vstr (msg_parm[1], fw.idname); {firmware type name}
sys_msg_parm_int (msg_parm[2], fw.vers); {set version number parameter}
if
(ord(fw.org) >= ord(picprg_org_min_k)) and
(ord(fw.org) <= ord(picprg_org_max_k)) and then
(pr.env.org[fw.org].name.len > 0)
then begin {organization name is available}
sys_msg_parm_vstr (msg_parm[3], pr.env.org[fw.org].name);
sys_message_parms ('picprg', 'fw_vers_name', msg_parm, 3);
end
else begin {no organization name, use organization ID}
sys_msg_parm_int (msg_parm[3], ord(fw.org));
sys_message_parms ('picprg', 'fw_vers_id', msg_parm, 3);
end
;
if pr.prgname.len <> 0 then begin {name for this unit is available ?}
sys_msg_parm_vstr (msg_parm[1], pr.prgname);
sys_message_parms ('picprg', 'name', msg_parm, 1);
end;
sys_flush_stdout; {make sure all output sent to parent program}
end;
{
*******************************************************************************
*
* Subroutine PICPRG_FW_CHECK (PR, FW, STAT)
*
* Check the programmer firmware for compatibility with this version of the
* PICPRG library. FW is the information about the firmware. STAT will
* be set to an appropriate status if the firmware is incompatible.
}
procedure picprg_fw_check ( {check firmware compatibility}
in out pr: picprg_t; {state for this use of the library}
in fw: picprg_fw_t; {firmware information}
out stat: sys_err_t); {completion status, error if FW incompatible}
val_param;
begin
sys_error_none (stat); {init to no error}
if (fw.cvlo <= picprg_fwmax_k) and (fw.cvhi >= picprg_fwmin_k)
then return; {compatible with this library version}
if fw.cvlo = fw.cvhi
then begin {firmware implements single spec version}
if picprg_fwmin_k = picprg_fwmax_k
then begin {software requires a single version}
sys_stat_set (picprg_subsys_k, picprg_stat_fwvers1_k, stat);
sys_stat_parm_int (picprg_fwmin_k, stat);
sys_stat_parm_int (fw.cvhi, stat);
end
else begin {software can handle range of versions}
sys_stat_set (picprg_subsys_k, picprg_stat_fwvers1b_k, stat);
sys_stat_parm_int (picprg_fwmin_k, stat);
sys_stat_parm_int (picprg_fwmax_k, stat);
sys_stat_parm_int (fw.cvlo, stat);
end
;
end
else begin {firmware is compatible with range of vers}
if picprg_fwmin_k = picprg_fwmax_k
then begin {software requires a single version}
sys_stat_set (picprg_subsys_k, picprg_stat_fwvers2_k, stat);
sys_stat_parm_int (picprg_fwmin_k, stat);
sys_stat_parm_int (fw.cvhi, stat);
sys_stat_parm_int (fw.cvlo, stat);
end
else begin {software can handle range of versions}
sys_stat_set (picprg_subsys_k, picprg_stat_fwvers2b_k, stat);
sys_stat_parm_int (picprg_fwmin_k, stat);
sys_stat_parm_int (picprg_fwmax_k, stat);
sys_stat_parm_int (fw.cvlo, stat);
sys_stat_parm_int (fw.cvhi, stat);
end
;
end
;
end;
|
unit uCrypto;
interface
uses
Classes, System.Hash, System.Generics.Collections,
uTPLb_CryptographicLibrary, uTPLb_Codec, uTPLb_Hash;
type
TCrypto = class
public
constructor Create(AOwner: TComponent);
destructor Destroy; override;
function GenerateSalt(size: Integer = 8): string;
function StrToHex(value: string): string;
function StringToHash(salt, value: string): string;
private
FLib: TCryptographicLibrary;
FCodec: TCodec;
FHashSHA2: THashSHA2;
end;
implementation
uses
uTPLb_Constants, System.SysUtils;
{ TCrypto }
constructor TCrypto.Create(AOwner: TComponent);
var
FHash: THash;
begin
FLib := TCryptographicLibrary.Create(AOwner); { TCrypto }
FHash := uTPLb_Hash.THash.Create(nil);
FHash.CryptoLibrary := FLib;
FHash.HashId := SHA256_ProgId;
FHash.Begin_Hash;
FHashSHA2 := THashSHA2.Create(SHA256);
end;
destructor TCrypto.Destroy;
begin
FCodec.Free;
FLib.Free;
FHashSHA2.Reset;
inherited;
end;
function TCrypto.GenerateSalt(size: Integer = 8): string;
var
I: Integer;
arr: TArray<Char>;
begin
Result := '';
for I := 0 to size - 1 do
Result := Result + IntToHex(Random(255), 2);
end;
function TCrypto.StringToHash(salt, value: string): string;
begin
Result := FHashSHA2.GetHashString(salt + value, SHA256);
end;
function TCrypto.StrToHex(value: string): string;
var
I: Integer;
begin
Result := '';
if value = '' then Exit;
for I := 1 to value.Length do
Result := Result + IntToHex(Ord(value[I]), 2);
end;
end.
|
{
单元名称: uJxdCustomPanel
单元作者: 江晓德(jxd524@163.com)
说 明: 容器类组件父类
开始时间: 2011-09-29
修改时间: 2011-09-29 (最后修改)
}
unit uJxdGpPanel;
interface
uses
SysUtils, Classes, Windows, Controls, ExtCtrls, Messages, Forms, uJxdGpStyle, uJxdGpSub, GDIPAPI, GDIPOBJ;
type
TxdPanel = class(TCustomPanel)
public
constructor Create(AOwner: TComponent); override;
destructor Destroy; override;
protected
FParentForm: TForm;
procedure CreateParams(var Params: TCreateParams); override;
procedure MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
procedure MouseMove(Shift: TShiftState; X, Y: Integer); override;
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer); override;
procedure DoDrawObjectChanged(Sender: TObject);
private
{绘制相关变量}
FBmpDC: HDC;
FBufBmp: HBITMAP;
FCurBmpWidth, FCurBmpHeight: Integer;
FDelDrawObjectTimer: TTimer;
procedure ClearBkRes;
procedure DoTimerToDeleteDrawObject(Sender: TObject);
procedure MoveMainWindow;
procedure WMPaint(var Message: TWMPaint); message WM_PAINT;
procedure WMEraseBkGnd(var Message: TWMEraseBkGnd); message WM_ERASEBKGND;
procedure CMTextChanged(var Message: TMessage); message CM_TEXTCHANGED; //不处理字体
private
FMoveForm: Boolean;
FImageInfo: TImageInfo;
FImgDrawMethod: TDrawMethod;
procedure SetMoveForm(const Value: Boolean);
procedure SetImageInfo(const Value: TImageInfo);
procedure SetImgDrawMethod(const Value: TDrawMethod);
published
property ImageInfo: TImageInfo read FImageInfo write SetImageInfo; //图像属性
property ImageDrawMethod: TDrawMethod read FImgDrawMethod write SetImgDrawMethod; //图像绘制方式
property AutoMoveForm: Boolean read FMoveForm write SetMoveForm default True;
property MoveForm: TForm read FParentForm write FParentForm;
property DockManager;
published
property Align;
property Alignment;
property Anchors;
property AutoSize;
property BevelEdges;
property BevelInner;
property BevelKind;
property BevelOuter;
property BevelWidth;
property BiDiMode;
property BorderWidth;
property BorderStyle;
property Caption;
property Color;
property Constraints;
property Ctl3D;
property UseDockManager default True;
property DockSite;
property DragCursor;
property DragKind;
property DragMode;
property Enabled;
property FullRepaint;
property Font;
property Locked;
property Padding;
property ParentBiDiMode;
property ParentBackground;
property ParentColor;
property ParentCtl3D;
property ParentFont;
property ParentShowHint;
property PopupMenu;
property ShowHint;
property TabOrder;
property TabStop;
property VerticalAlignment;
property Visible;
property OnAlignInsertBefore;
property OnAlignPosition;
property OnCanResize;
property OnClick;
property OnConstrainedResize;
property OnContextPopup;
property OnDockDrop;
property OnDockOver;
property OnDblClick;
property OnDragDrop;
property OnDragOver;
property OnEndDock;
property OnEndDrag;
property OnEnter;
property OnExit;
property OnGetSiteInfo;
property OnMouseActivate;
property OnMouseDown;
property OnMouseEnter;
property OnMouseLeave;
property OnMouseMove;
property OnMouseUp;
property OnResize;
property OnStartDock;
property OnStartDrag;
property OnUnDock;
end;
implementation
{ TKKPanel }
procedure TxdPanel.ClearBkRes;
begin
FCurBmpWidth := 0;
FCurBmpHeight := 0;
if FBufBmp <> 0 then
begin
DeleteObject( FBufBmp );
FBufBmp := 0;
end;
if FBmpDC <> 0 then
begin
DeleteDC( FBmpDC );
FBmpDC := 0;
end;
end;
procedure TxdPanel.CMTextChanged(var Message: TMessage);
begin
Message.Result := 1;
end;
constructor TxdPanel.Create(AOwner: TComponent);
begin
inherited;
if (AOwner <> nil) and (AOwner is TForm) then
FParentForm := (AOwner as TForm)
else
FParentForm := nil;
FBmpDC := 0;
FBufBmp := 0;
FCurBmpWidth := 0;
FCurBmpHeight := 0;
FDelDrawObjectTimer := nil;
FMoveForm := True;
FImageInfo := TImageInfo.Create;
FImgDrawMethod := TDrawMethod.Create;
FImageInfo.OnChange := DoDrawObjectChanged;
FImgDrawMethod.OnChange := DoDrawObjectChanged;
BevelOuter := bvNone;
end;
procedure TxdPanel.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
with Params do
WindowClass.style := WindowClass.style and not (CS_HREDRAW or CS_VREDRAW);
end;
destructor TxdPanel.Destroy;
begin
FreeAndNil( FImageInfo );
FreeAndNil( FImgDrawMethod );
ClearBkRes;
inherited;
end;
procedure TxdPanel.DoDrawObjectChanged(Sender: TObject);
begin
Invalidate;
end;
procedure TxdPanel.DoTimerToDeleteDrawObject(Sender: TObject);
begin
ClearBkRes;
FreeAndNil( FDelDrawObjectTimer );
end;
procedure TxdPanel.MouseDown(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
inherited;
if FMoveForm then
MoveMainWindow;
end;
procedure TxdPanel.MouseMove(Shift: TShiftState; X, Y: Integer);
begin
inherited;
end;
procedure TxdPanel.MouseUp(Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
begin
inherited;
end;
procedure TxdPanel.MoveMainWindow;
begin
if (FParentForm <> nil) and ( FParentForm.WindowState <> wsMaximized) then
begin
ReleaseCapture;
PostMessage(FParentForm.Handle, WM_SYSCOMMAND, 61458, 0);
end;
end;
procedure TxdPanel.SetImageInfo(const Value: TImageInfo);
begin
FImageInfo.Assign( Value );
end;
procedure TxdPanel.SetImgDrawMethod(const Value: TDrawMethod);
begin
FImgDrawMethod.Assign( Value );
end;
procedure TxdPanel.SetMoveForm(const Value: Boolean);
begin
FMoveForm := Value;
end;
procedure TxdPanel.WMEraseBkGnd(var Message: TWMEraseBkGnd);
begin
Message.Result := 1;
end;
procedure TxdPanel.WMPaint(var Message: TWMPaint);
var
DC: HDC;
PS: TPaintStruct;
bmp: TGPBitmap;
bmpG: TGPGraphics;
bAllReDraw: Boolean;
MemDC: HDC;
MemBitmap, OldBitmap: HBITMAP;
begin
// OutputDebugString( Pchar(IntToStr(Message.DC)));
if (Message.DC = 0) and Assigned(FImageInfo.Image) then
begin
DC := BeginPaint(Handle, PS);
try
bAllReDraw := False;
if (FCurBmpWidth <> Width) or (FCurBmpHeight <> Height) or
((PS.rcPaint.Right - PS.rcPaint.Left = Width) and (PS.rcPaint.Bottom - PS.rcPaint.Top = Height)) then
begin
if FBufBmp <> 0 then
DeleteObject( FBufBmp );
if FBmpDC <> 0 then
DeleteDC( FBmpDC );
FCurBmpWidth := Width;
FCurBmpHeight := Height;
bAllReDraw := True;
bmp := TGPBitmap.Create( FCurBmpWidth, FCurBmpHeight );
bmpG := TGPGraphics.Create( bmp );
//绘制背景到临时图片
DrawImageCommon( bmpG, MakeRect(0, 0, Width, Height), FImageInfo, FImgDrawMethod, nil, nil, nil, nil );
bmp.GetHBITMAP( 0, FBufBmp );
bmpG.Free;
bmp.Free;
FBmpDC := CreateCompatibleDC( DC );
SelectObject( FBmpDC, FBufBmp );
end;
if ControlCount = 0 then
begin
if bAllReDraw then
BitBlt( DC, 0, 0, Width, Height, FBmpDC, 0, 0, SRCCOPY )
else
begin
BitBlt( DC, PS.rcPaint.Left, PS.rcPaint.Top,
PS.rcPaint.Right - PS.rcPaint.Left, PS.rcPaint.Bottom - PS.rcPaint.Top,
FBmpDC, PS.rcPaint.Left, PS.rcPaint.Top, SRCCOPY );
end;
end
else
begin
//绘制子控件
MemDC := CreateCompatibleDC(DC);
MemBitmap := CreateCompatibleBitmap(DC, PS.rcPaint.Right - PS.rcPaint.Left,
PS.rcPaint.Bottom - PS.rcPaint.Top);
OldBitmap := SelectObject(MemDC, MemBitmap);
try
SetWindowOrgEx(MemDC, PS.rcPaint.Left, PS.rcPaint.Top, nil);
BitBlt( MemDC, 0, 0, Width, Height, FBmpDC, 0, 0, SRCCOPY );
Message.DC := MemDC;
WMPaint(Message);
Message.DC := 0;
BitBlt(DC, PS.rcPaint.Left, PS.rcPaint.Top,
PS.rcPaint.Right - PS.rcPaint.Left, PS.rcPaint.Bottom - PS.rcPaint.Top,
MemDC, PS.rcPaint.Left, PS.rcPaint.Top, SRCCOPY);
finally
SelectObject(MemDC, OldBitmap);
DeleteDC(MemDC);
DeleteObject(MemBitmap);
end;
end;
finally
EndPaint(Handle, PS);
end;
if not (csDesigning in ComponentState) then
begin
if not Assigned(FDelDrawObjectTimer) then
begin
FDelDrawObjectTimer := TTimer.Create( Self );
FDelDrawObjectTimer.OnTimer := DoTimerToDeleteDrawObject;
FDelDrawObjectTimer.Interval := 1000;
FDelDrawObjectTimer.Enabled := True;
end
else
begin
FDelDrawObjectTimer.Enabled := False;
FDelDrawObjectTimer.Enabled := True;
end;
end;
end
else
inherited;
end;
end.
|
unit uCAP_Permission;
{##################################################################################}
(*!*EXTENDED COMMENT SYNTAX !*)
(** This unit uses extended syntax for comments **)
(** You don't need to support this, but it's more likely to be readable **)
(** if you do **)
(** If your IDE is using SynEdit, you may find a SynHighlighterPas.pp-file here: **)
(** https://github.com/Life4YourGames/IDE-Extensions **)
(** You have to set the colors yourself in your IDEs setting **)
(** Afaik: Lazarus and CodeTyphon automatically detect those new attributes **)
(** Also: The comments are all valid fpc-comments, you don't have to worry **)
(** Syntax-description: **)
(*- Divider **)
(* Native AnsiComment / Cathegory **)
(*! Warning, pay attention !*)
(* TODO **)
(* DONE **)
{ native bor comment }
//Native double-slash comment
(*! End of comment syntax info **)
{##################################################################################}
(*! To enable Int64 support for this units content, define "CAP_UseInt64 !*)
(** This will affect values!(!not indexes!) of CustomAP_SinglePerm *)
(* DONE -cRefactoring : Make paragraphs for "IFDEF"s *)
//Appearently, JEDI-Code-Refactorer is now unable to format the unit because of the {ENDIF}-options .__.
//(some error with "expected <blah> got 'end'")
//However, it's now less ugly ;)
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils
//(** TObjectList *), contnrs
(** BaseObject *), uCAP_BaseObjects
(** JSON *), fpjson
(** BaseVars *), ucap_basevars
;
type
{ TCustomAP_SinglePerm }
TCustomAP_SinglePerm = class(TObject)
public
(*- construction / destruction *)
constructor Create;
destructor Destroy; override;
private
(*- private fields *)
(** Permission-ID or whatever you're using, you may want this to be unique *)
FIdent: String;
(** List of values, if you need multiple ones for your system (maybe "has" and "can give" or whatever) *)
FValues: TStringList;
private
(*- private methods *)
(** is pIndex oob ? *)
function oob(pIndex: Integer): Boolean;
public
(*- public methods *)
(* Getter *)
(** Returns FIdent *)
function GetID: String;
(** Returns the value at pIndex, either as StrToIntDef or String *)
function GetValue(pIndex: Integer): String;
{$IFDEF CAP_UseInt64}
function GetValueAsInt(pIndex: Integer): Int64; overload;
function GetValueAsInt(pIndex: Integer; pDefInt: Integer): Int64; overload;
{$ELSE}
function GetValueAsInt(pIndex: Integer): Integer; overload;
function GetValueAsInt(pIndex: Integer; pDefInt: Integer): Integer; overload;
{$ENDIF}
(* Setter *)
(** Sets FIdent *)
procedure SetID(pIdent: String);
(** Sets Value at pIndex; Adds if o.o.b. *)
procedure SetValue(pIndex: Integer; pValue: String); overload;
{$IFDEF CAP_UseInt64}
procedure SetValue(pIndex: Integer; pValue: Int64; overload;
{$ELSE}
procedure SetValue(pIndex: Integer; pValue: Integer); overload;
{$ENDIF}
(* Utils *)
(** Add a value *)
function AddValue(pValue: String): Integer; overload;
{$IFDEF CAP_UseInt64}
function AddValue(pValue: Int64): Integer; overload;
{$ELSE}
function AddValue(pValue: Integer): Integer; overload;
{$ENDIF}
(** Insert a value at an index *)
procedure InsertValue(pIndex: Integer; pValue: String); overload;
{$IFDEF CAP_UseInt64}
procedure InsertValue(pIndex: Integer; pValue: Int64; overload;
{$ELSE}
procedure InsertValue(pIndex: Integer; pValue: Integer); overload;
{$ENDIF}
(** Returns count of values *)
function Count: Integer;
(*- IMPORT / EXPORT -*)
(** Throw out/Import a json containing the permission and their values *)
function ExportJSON: String;
procedure ImportJSON(pJSONString: String);
{$IFNDEF CAP_DisableAbstract}
(** Placeholder for other possibilities to import/export *)
function ExportString: String; virtual; abstract;
procedure ImportString(pInputString: String); virtual; abstract;
{$ENDIF}
(** Clone the object *)
function Clone: TCustomAP_SinglePerm;
end;
{ TCustomAP_PermRef }
TCustomAP_PermRef = class(TCustomAP_IndexedObject)
public
(*- construction / destruction *)
constructor Create;
destructor Destroy; override;
private
(*- private fields *)
(** used for "pNonFree" on Deletion *)
FbPreventFreeOnDeletion: Boolean;
private
(*- private methods *)
(** Am I out of bounds ? *)
function oob(pIndex: Integer): Boolean; overload;
function oob(pIdent: String): Boolean; overload;
public
(*- public methods *)
(* Getter *)
(** Get Permission by identifier/Index; NIL if not found *)
function GetPerm(pIdent: String): TCustomAP_SinglePerm; overload;
function GetPerm(pIndex: Integer): TCustomAP_SinglePerm; overload;
(* Setter *)
(** Set Permission by Identifier; Index will be deleted if new one is NIL!*)
procedure SetPerm(pIdent: String; pPerm: TCustomAP_SinglePerm); overload;
procedure SetPerm(pIndex: Integer; pPerm: TCustomAP_SinglePerm); overload;
(* Utils *)
(** Add a permission, -1 if existing *)
function AddPerm(pIdent: String; pPerm: TCustomAP_SinglePerm): Integer;
(** Delete a permission; Does nothing if not present at all *)
procedure DeletePerm(pIdent: String); overload;
procedure DeletePerm(pIndex: Integer); overload;
(** Compares two permissions, based on "pMask" (true if mask matches) *)
(** Available masks: "<", ">", "=", ">=", "<=" *)
(*! !!! Only "=" can be used for strings, every other Mask requires a valid numeric values !!! !*)
(** E.g. This is part of "TUser" and the needed perm needs to be lower than the provided to be approved: *)
(** CanDo := ComparePermTo(TPermObect, 'utility_user_mute', 12, '<') would return whether or not the user can mute when TPermObject_Values_12 is the needed right *)
class function ComparePerms(pFirstPerm: TCustomAP_SinglePerm; pSecondPerm: TCustomAP_SinglePerm; pValueIndex: Integer = 0; pMASK: ShortString = '<'): Boolean;
(** Provided perm will be used as FirstPerm *)
function ComparePermTo(pPerm: TCustomAP_SinglePerm; pIndex: Integer; pValueIndex: Integer = 0; pMASK: ShortString = '<'): Boolean; overload;
function ComparePermTo(pPerm: TCustomAP_SinglePerm; pIdent: String; pValueIndex: Integer = 0; pMASK: ShortString = '<'): Boolean; overload;
(*- IMPORT / EXPORT -*)
(** Throw out/Import a json containing the permissions and their values *)
function ExportJSON: String;
procedure ImportJSON(pJSONString: String);
{$IFNDEF CAP_DisableAbstract}
(** Placeholder for other possibilities to import/export *)
function ExportString: String; virtual; abstract;
procedure ImportString(pInputString: String); virtual; abstract;
{$ENDIF}
(** Clone the object *)
function Clone: TCustomAP_PermRef;
end;
implementation
{ TCustomAP_PermRef }
constructor TCustomAP_PermRef.Create;
begin
inherited Create;
end;
destructor TCustomAP_PermRef.Destroy;
begin
inherited Destroy;
end;
function TCustomAP_PermRef.oob(pIndex: Integer): Boolean;
begin
Result := True;
if ((pIndex < 0) or (pIndex >= Count)) then Exit;
Result := False;
end;
function TCustomAP_PermRef.oob(pIdent: String): Boolean;
begin
Result := oob(IndexOf(pIdent));
end;
function TCustomAP_PermRef.GetPerm(pIdent: String): TCustomAP_SinglePerm;
var
lObj: TObject;
begin
Result := nil;
lObj := GetItem(pIdent);
if (Assigned(lObj) = True) then
Result := (lObj as TCustomAP_SinglePerm);
end;
function TCustomAP_PermRef.GetPerm(pIndex: Integer): TCustomAP_SinglePerm;
var
lObj: TObject;
begin
Result := nil;
lObj := GetItem(pIndex);
if (Assigned(lObj) = True) then
Result := (lObj as TCustomAP_SinglePerm);
end;
procedure TCustomAP_PermRef.SetPerm(pIdent: String; pPerm: TCustomAP_SinglePerm
);
begin
if (Assigned(pPerm) = True) then begin
SetItem(pIdent, pPerm);
end else begin
DeletePerm(pIdent);
end;
end;
procedure TCustomAP_PermRef.SetPerm(pIndex: Integer; pPerm: TCustomAP_SinglePerm
);
begin
if (Assigned(pPerm) = True) then begin
SetItem(pIndex, pPerm);
end else begin
DeletePerm(pIndex);
end;
end;
function TCustomAP_PermRef.AddPerm(pIdent: String; pPerm: TCustomAP_SinglePerm
): Integer;
begin
Result := (-1);
if (oob(IndexOf(pIdent)) = True) then
Result := AddItem(pIdent, pPerm);
end;
procedure TCustomAP_PermRef.DeletePerm(pIdent: String);
begin
DeleteItem(pIdent, FbPreventFreeOnDeletion);
end;
procedure TCustomAP_PermRef.DeletePerm(pIndex: Integer);
begin
DeleteItem(pIndex, FbPreventFreeOnDeletion);
end;
{$IFDEF CAP_UseInt64}
class function TCustomAP_PermRef.ComparePerms(pFirstPerm: TCustomAP_SinglePerm;
pSecondPerm: TCustomAP_SinglePerm; pValueIndex: Integer; pMASK: ShortString
): Boolean;
var
lFirstVal, lSecondVal: String;
lFirstInt, lSecondInt: Int64;
begin
Result := False;
(* DONE -cContinue : PBody of class function ComparePerms$BOOLEAN *)
lFirstVal := pFirstPerm.GetValue(pValueIndex);
lSecondVal := pSecondPerm.GetValue(pValueIndex);
if (pMASK = '=') then begin
Result := (lFirstVal = lSecondVal);
Exit;
end;
if (pMASK = '>') then begin
lFirstInt := StrToInt64Def(lFirstVal, 0);
lSecondInt := StrToInt64Def(lSecondVal, 0);
Result := (lFirstInt > lSecondInt);
Exit;
end;
if (pMASK = '<') then begin
lFirstInt := StrToInt64Def(lFirstVal, 0);
lSecondInt := StrToInt64Def(lSecondVal, 0);
Result := (lFirstInt < lSecondInt);
Exit;
end;
if (pMASK = '>=') then begin
Result := (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '>') or (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '=')));
Exit;
end;
if (pMASK = '<=') then begin
Result := (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '<') or (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '=')));
Exit;
end;
end;
{$ELSE}
class function TCustomAP_PermRef.ComparePerms(pFirstPerm: TCustomAP_SinglePerm;
pSecondPerm: TCustomAP_SinglePerm; pValueIndex: Integer; pMASK: ShortString
): Boolean;
var
lFirstVal, lSecondVal: String;
lFirstInt, lSecondInt: Integer;
begin
Result := False;
(* DONE -cContinue : PBody of class function ComparePerms$BOOLEAN *)
lFirstVal := pFirstPerm.GetValue(pValueIndex);
lSecondVal := pSecondPerm.GetValue(pValueIndex);
if (pMASK = '=') then begin
Result := (lFirstVal = lSecondVal);
Exit;
end;
if (pMASK = '>') then begin
lFirstInt := StrToIntDef(lFirstVal, 0);
lSecondInt := StrToIntDef(lSecondVal, 0);
Result := (lFirstInt > lSecondInt);
Exit;
end;
if (pMASK = '<') then begin
lFirstInt := StrToIntDef(lFirstVal, 0);
lSecondInt := StrToIntDef(lSecondVal, 0);
Result := (lFirstInt < lSecondInt);
Exit;
end;
if (pMASK = '>=') then begin
Result := (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '>') or (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '=')));
Exit;
end;
if (pMASK = '<=') then begin
Result := (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '<') or (ComparePerms(pFirstPerm, pSecondPerm, pValueIndex, '=')));
Exit;
end;
end;
{$ENDIF}
function TCustomAP_PermRef.ComparePermTo(pPerm: TCustomAP_SinglePerm;
pIndex: Integer; pValueIndex: Integer; pMASK: ShortString): Boolean;
begin
Result := False;
if (oob(pIndex) = True) then Exit;
Result := ComparePerms(pPerm, GetPerm(pIndex), pValueIndex, pMASK);
end;
function TCustomAP_PermRef.ComparePermTo(pPerm: TCustomAP_SinglePerm;
pIdent: String; pValueIndex: Integer; pMASK: ShortString): Boolean;
begin
Result := False;
if (oob(IndexOf(pIdent)) = True) then Exit;
Result := ComparePerms(pPerm, GetPerm(pIdent), pValueIndex, pMASK);
end;
function TCustomAP_PermRef.ExportJSON: String;
var
I: Integer;
lPerm: TCustomAP_SinglePerm;
lObj: TJSONObject;
lArr: TJSONArray;
begin
lObj := TJSONObject.Create;
lObj.Add(CCAP_JSONKey_Type, CCAP_JSONVal_permType_Ref);
lArr := TJSONArray.Create;
for I:=0 to (Count-1) do begin
lPerm := GetPerm(I);
lArr.Add(lPerm.ExportJSON);
end;
lObj.Add(CCAP_JSONKey_permRefs, lArr);
Result := lObj.FormatJSON([foSingleLineObject, foSingleLineArray]);
lArr.Free;
lObj.Free;
end;
procedure TCustomAP_PermRef.ImportJSON(pJSONString: String);
var
I: Integer;
lPerm: TCustomAP_SinglePerm;
lType: String;
lData: TJSONData;
lObj: TJSONObject;
lArr: TJSONArray;
lExpCount: Integer;
EMsg: String;
begin
lObj := (GetJSON(pJSONString) as TJSONObject);
lType := lObj.Get(CCAP_JSONKey_Type, '');
if (lType <> CCAP_JSONVal_permType_Ref) then begin
EMsg := '';
EMsg := (EC_CAP_E_002+ ERC_CAP_E_201 + 'Invalid type supplied!');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
lData := lObj.Arrays[CCAP_JSONKey_permRefs];
if (lData = nil) then begin
EMsg := '';
EMsg := (EC_CAP_E_002 + ERC_CAP_E_202 + ' This SHOULD NOT happen, fix your files immediately !');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
if (lData.JSONType <> jtArray) then begin
EMsg := '';
EMsg := (EC_CAP_E_002 + ERC_CAP_E_201 +' This SHOULD NOT happen, fix your files immediately!');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
lArr := (lData as TJSONArray);
for I:=0 to (lArr.Count-1) do begin
lPerm := TCustomAP_SinglePerm.Create;
//Format extracted object and load a permission
lPerm.ImportJSON(lArr.Objects[I].FormatJSON([foSingleLineObject, foSingleLineArray]));
AddPerm(lPerm.GetID, lPerm);
end;
lExpCount := lArr.Count;
lObj.Free;
lArr := nil;
if (Count <> lExpCount) then begin
EMsg := '';
EMsg := EC_CAP_E_000 + ERC_CAP_E_203 + 'Countcheck after import FAILED! IMMEDIATELY RECHECK your permissions AND files!';
raise ECustomAPError.Create(EMsg);
end;
end;
function TCustomAP_PermRef.Clone: TCustomAP_PermRef;
var
I: Integer;
begin
Result := TCustomAP_PermRef.Create;
for I:=0 to (Self.Count-1) do begin
Result.AddItem(Self.GetName(I), Self.GetItem(I));
end;
end;
{ TCustomAP_SinglePerm }
constructor TCustomAP_SinglePerm.Create;
begin
inherited Create;
//NameNotSet
FIdent := '$$CustomAP_SinglePerm$$nns';
FValues := TStringList.Create;
end;
destructor TCustomAP_SinglePerm.Destroy;
begin
FValues.Free;
inherited Destroy;
end;
function TCustomAP_SinglePerm.oob(pIndex: Integer): Boolean;
begin
Result := ((pIndex < 0) or (pIndex >= FValues.Count));
end;
function TCustomAP_SinglePerm.GetID: String;
begin
Result := FIdent;
end;
function TCustomAP_SinglePerm.GetValue(pIndex: Integer): String;
begin
Result := '';
if (oob(pIndex) = True) then Exit;
Result := FValues.Strings[pIndex];
end;
function TCustomAP_SinglePerm.GetValueAsInt(pIndex: Integer): Integer;
begin
Result := GetValueAsInt(pIndex, 0);
end;
{$IFDEF CAP_UseInt64}
function TCustomAP_SinglePerm.GetValueAsInt(pIndex: Integer; pDefInt: Int64): Int64;
begin
Result := pDefInt;
if (oob(pIndex) = True) then Exit;
Result := StrToInt64Def(GetValue(pIndex), pDefInt);
end;
{$ELSE}
function TCustomAP_SinglePerm.GetValueAsInt(pIndex: Integer; pDefInt: Integer): Integer;
begin
Result := pDefInt;
if (oob(pIndex) = True) then Exit;
Result := StrToIntDef(GetValue(pIndex), pDefInt);
end;
{$ENDIF}
procedure TCustomAP_SinglePerm.SetID(pIdent: String);
begin
FIdent := pIdent;
end;
procedure TCustomAP_SinglePerm.SetValue(pIndex: Integer; pValue: String);
begin
if (oob(pIndex) = True) then begin
AddValue(pValue);
end;
end;
{$IFDEF CAP_UseInt64}
procedure TCustomAP_SinglePerm.SetValue(pIndex: Integer; pValue: Int64);
begin
if (oob(pIndex) = True) then begin
AddValue(pValue)
end else begin
SetValue(pIndex, IntToStr(pValue));
end;
end;
{$ELSE}
procedure TCustomAP_SinglePerm.SetValue(pIndex: Integer; pValue: Integer);
begin
if (oob(pIndex) = True) then begin
AddValue(pValue)
end else begin
SetValue(pIndex, IntToStr(pValue));
end;
end;
{$ENDIF}
function TCustomAP_SinglePerm.AddValue(pValue: String): Integer;
begin
Result := FValues.Add(pValue);
end;
{$IFDEF CAP_UseInt64}
function TCustomAP_SinglePerm.AddValue(pValue: Int64): Integer;
begin
Result := FValues.Add(IntToStr(pValue));
end;
{$ELSE}
function TCustomAP_SinglePerm.AddValue(pValue: Integer): Integer;
begin
Result := FValues.Add(IntToStr(pValue));
end;
{$ENDIF}
procedure TCustomAP_SinglePerm.InsertValue(pIndex: Integer; pValue: String);
begin
FValues.Insert(pIndex, pValue);
end;
{$IFDEF CAP_UseInt64}
procedure TCustomAP_SinglePerm.InsertValue(pIndex: Integer; pValue: Int64);
begin
InsertValue(pIndex, IntToStr(pValue));
end;
{$ELSE}
procedure TCustomAP_SinglePerm.InsertValue(pIndex: Integer; pValue: Integer);
begin
InsertValue(pIndex, IntToStr(pValue));
end;
{$ENDIF}
function TCustomAP_SinglePerm.Count: Integer;
begin
Result := FValues.Count;
end;
function TCustomAP_SinglePerm.ExportJSON: String;
var
I: Integer;
lArr: TJSONArray;
lObj: TJSONObject;
begin
Result := '';
lObj := TJSONObject.Create;
lArr := TJSONArray.Create;
for I:=0 to (Count-1) do begin
lArr.Add(GetValue(I));
end;
lObj.Add(CCAP_JSONKey_Type, CCAP_JSONVal_permType_Single);
lObj.Add(CCAP_JSONKey_ID, GetID);
lObj.Add(GetID, lArr);
Result := (lObj.FormatJSON([foSingleLineObject, foSingleLineArray]));
lArr.Free;
lObj.Free;
end;
procedure TCustomAP_SinglePerm.ImportJSON(pJSONString: String);
var
I, lExpCount: Integer;
lObj: TJSONObject;
lType, lID, EMsg: String;
lArr: TJSONArray;
lData: TJSONData;
begin
lObj := (GetJSON(pJSONString) as TJSONObject);
lType := lObj.Get(CCAP_JSONKey_Type, '');
if (lType <> CCAP_JSONVal_permType_Single) then begin
EMsg := '';
EMsg := (EC_CAP_E_002+ ERC_CAP_E_201 + 'Invalid type supplied!');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
lID := lObj.Get(CCAP_JSONKey_ID, '');
if (Length(lID) < 2) then begin
EMsg := '';
EMsg := (EC_CAP_E_002+ ERN_CAP_E_203 +'Insufficient ID-Length!');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
SetID(lID);
lData := lObj.Arrays[lID];
if (lData = nil) then begin
EMsg := '';
EMsg := (EC_CAP_E_002 + ERC_CAP_E_202 + ' This SHOULD NOT happen, fix your files immediately !');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
if (lData.JSONType <> jtArray) then begin
EMsg := '';
EMsg := (EC_CAP_E_002 + ERC_CAP_E_201 +' This SHOULD NOT happen, fix your files immediately!');
raise ECustomAPError.Create(EMsg);
lObj.Free;
Exit;
end;
lArr := (lData as TJSONArray);
for I:=0 to (lArr.Count-1) do begin
try
AddValue(lArr.Strings[I]);
except
on E:Exception do begin
EMsg := '';
EMsg := EC_CAP_E_002 + EC_CAP_E_001 + E.ClassName + ':' + E.Message;
raise ECustomAPError.Create(EMsg);
lObj.Free;
end;
end;
end;
lExpCount := lArr.Count;
lObj.Free;
lArr := nil;
if (Count <> lExpCount) then begin
EMsg := '';
EMsg := EC_CAP_E_000 + ERC_CAP_E_203 + 'Countcheck after import FAILED! IMMEDIATELY RECHECK your permissions AND files!';
raise ECustomAPError.Create(EMsg);
end;
end;
function TCustomAP_SinglePerm.Clone: TCustomAP_SinglePerm;
begin
Result := TCustomAP_SinglePerm.Create;
Result.ImportJSON(Self.ExportJSON);
end;
end.
|
unit xe_CUT02;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, MSXML2_TLB,
Dialogs, xe_structure, cxGraphics, cxLookAndFeels, System.Math, System.StrUtils,
cxLookAndFeelPainters, Vcl.Menus, cxControls, cxContainer, cxEdit,
Vcl.ExtCtrls, cxGroupBox, Vcl.StdCtrls, cxRadioGroup, cxCheckBox,
cxCurrencyEdit, cxTextEdit, cxLabel, cxButtons, dxSkinsCore, dxSkinOffice2010Silver, dxSkinSharp, dxSkinMetropolisDark, dxSkinOffice2007Silver;
type
TFrm_CUT02 = class(TForm)
btnEdit: TcxButton;
cxLabel1: TcxLabel;
edtLevelName: TcxTextEdit;
cxLabel2: TcxLabel;
cxLabel3: TcxLabel;
cxLabel4: TcxLabel;
cxLabel5: TcxLabel;
cxLabel6: TcxLabel;
edtOrderBy: TcxTextEdit;
lblMID: TLabel;
ColorDialog1: TColorDialog;
lblLevelColor: TcxLabel;
btnSelColor: TcxButton;
edtLevelMileage: TcxCurrencyEdit;
btnClear: TcxButton;
edtCancelRate: TcxCurrencyEdit;
edtSuccCnt: TcxCurrencyEdit;
chkUseAutoUp: TcxCheckBox;
cxLabel7: TcxLabel;
chkDefault: TcxCheckBox;
rbMilePay: TcxRadioButton;
rbMileRate: TcxRadioButton;
lblMileUnit: TLabel;
edtGroupName: TcxTextEdit;
btnGroupModify: TcxButton;
PnlTitle: TPanel;
cxButton7: TcxButton;
PnlMain: TPanel;
cxGroupBox1: TcxGroupBox;
Shape8: TShape;
Shape1: TShape;
Shape2: TShape;
Shape3: TShape;
Shape4: TShape;
Shape5: TShape;
Shape6: TShape;
Shape7: TShape;
cxLblActive: TLabel;
cxChkOneYear: TcxCheckBox;
cxGroupBox2: TcxGroupBox;
cxLabel8: TcxLabel;
Shape9: TShape;
Shape10: TShape;
Label6: TcxLabel;
Label1: TcxLabel;
Label2: TcxLabel;
Label3: TcxLabel;
Label4: TcxLabel;
Label5: TcxLabel;
procedure btnSelColorClick(Sender: TObject);
procedure edtOrderByKeyPress(Sender: TObject; var Key: Char);
procedure btnClearClick(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure btnEditClick(Sender: TObject);
procedure chkUseAutoUpClick(Sender: TObject);
procedure rbMilePayClick(Sender: TObject);
procedure rbMileRateClick(Sender: TObject);
procedure btnGroupModifyClick(Sender: TObject);
procedure cxButton7Click(Sender: TObject);
procedure FormDestroy(Sender: TObject);
procedure FormActivate(Sender: TObject);
procedure FormDeactivate(Sender: TObject);
procedure PnlTitleMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
procedure edtGroupNameKeyUp(Sender: TObject; var Key: Word;
Shift: TShiftState);
procedure FormShow(Sender: TObject);
private
{ Private declarations }
FBrNo: string;
FGroupSeq, FLevelSeq: string;
FOnRefreshEvent: TNotifyEvent;
procedure InitCtrls;
function ValidationCheck: Boolean;
function RequestSetLevelGroup(AGroupName: string; var AGroupSeq: string; AErrCode: Integer; AErrMsg: string): Boolean; overload;
function RequestSetLevelGroup(AGroupName: string; var AErrCode: Integer; AErrMsg: string): Boolean; overload;
function RequestGetCustLevel(ABrNo, AGroupSeq, ALevelSeq: string; var AData: TCustLevelInfoRec; var AErrCode: Integer; var AErrMsg: string): Boolean;
function RequestSetCustLevel(AData: TCustLevelInfoRec; var AErrCode: Integer; var AErrMsg: string): Boolean;
public
{ Public declarations }
procedure SetData(ABrNo, AGroupName, AGroupSeq: string; AOneYear : Boolean; ALevelSeq: string = '');
property OnRefreshEvent: TNotifyEvent read FOnRefreshEvent write FOnRefreshEvent;
end;
var
Frm_CUT02: TFrm_CUT02;
implementation
{$R *.dfm}
uses Main, xe_Dm, xe_Func, xe_GNL, xe_gnl2, xe_gnl3, xe_Msg, xe_packet, xe_xml;
procedure TFrm_CUT02.FormDeactivate(Sender: TObject);
begin
cxLblActive.Color := GS_ActiveColor;
cxLblActive.Visible := False;
end;
procedure TFrm_CUT02.FormDestroy(Sender: TObject);
begin
Frm_CUT02 := nil;
end;
procedure TFrm_CUT02.FormShow(Sender: TObject);
begin
fSetFont(Frm_CUT02, GS_FONTNAME);
end;
procedure TFrm_CUT02.FormActivate(Sender: TObject);
begin
cxLblActive.Color := GS_ActiveColor;
cxLblActive.Visible := True;
end;
procedure TFrm_CUT02.FormClose(Sender: TObject; var Action: TCloseAction);
begin
FGroupSeq := '';
FLevelSeq := '';
Action := caFree;
end;
procedure TFrm_CUT02.PnlTitleMouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Integer);
begin
ReleaseCapture;
PostMessage(Self.Handle, WM_SYSCOMMAND, $F012, 0);
end;
function TFrm_CUT02.RequestSetLevelGroup(AGroupName: string;
var AErrCode: Integer; AErrMsg: string): Boolean;
var
Tmp: string;
begin
Result := RequestSetLevelGroup(AGroupName, Tmp, AErrCode, AErrMsg);
end;
function TFrm_CUT02.RequestSetLevelGroup(AGroupName: string;
var AGroupSeq: string; AErrCode: Integer; AErrMsg: string): Boolean;
var
XmlData, Param: string;
xdom: msDomDocument;
lst_Result: IXMLDomNodeList;
begin
Result := False;
if FGroupSeq = '' then
begin
if cxChkOneYear.Checked then
Param := FBrNo + '│' + AGroupName + '│y'
else
Param := FBrNo + '│' + AGroupName + '│n';
if not RequestBase(GetCallable05('GETCULVITEM', 'cust_level.group_insert', Param), XmlData, AErrCode, AErrMsg) then
Exit;
xdom := ComsDomDocument.Create;
try
xdom.loadXML(XmlData);
lst_Result := xdom.documentElement.selectNodes('/cdms/Service/Data/Result');
AGroupSeq := lst_Result.item[0].attributes.getNamedItem('Value').Text;
finally
xdom := Nil;
end;
end else
begin
if cxChkOneYear.Checked then
Param := FGroupSeq + '│' + AGroupName + '│y'
else
Param := FGroupSeq + '│' + AGroupName + '│n';
if not RequestBase(GetCallable05('GETCULVITEM', 'cust_level.group_update', Param), XmlData, AErrCode, AErrMsg) then
Exit;
end;
Result := True;
end;
function TFrm_CUT02.RequestGetCustLevel(ABrNo, AGroupSeq, ALevelSeq: string; var AData: TCustLevelInfoRec; var AErrCode: Integer; var AErrMsg: string): Boolean;
var
XmlData, Param: string;
xdom: msDomDocument;
lst_Result: IXMLDomNodeList;
ls_Rcrd: TStringList;
begin
Result := False;
Param := FGroupSeq+'│'+FLevelSeq;
if not RequestBase(GetSel05('GETCULVITEM', 'cust_level.lv_select', '100', Param), XmlData, AErrCode, AErrMsg) then
Exit;
xdom := ComsDomDocument.Create;
xdom.loadXML(XmlData);
lst_Result := xdom.documentElement.selectNodes('/cdms/Service/Data/Result');
ls_Rcrd := TStringList.Create;
try
GetTextSeperationEx('│', lst_Result.item[0].attributes.getNamedItem('Value').Text, ls_Rcrd);
AData.GrpName := ls_Rcrd[0];
AData.OrderBy := StrToIntDef(ls_Rcrd[1], 0);
AData.Name := ls_Rcrd[2];
if StrToIntDef(ls_Rcrd[3], 0) > 100 then
AData.MileType := mtPayment
else
AData.MileType := mtRate;
AData.Mileage := StrToIntDef(ls_Rcrd[3], 0);
AData.Color := Hex6ToColor(ls_Rcrd[4]);
AData.FinCnt := StrToIntDef(ls_Rcrd[5], 0);
AData.CancelRate := StrToIntDef(ls_Rcrd[6], 0);
AData.AutoUp := UpperCase(ls_Rcrd[7]) = 'Y';
AData.Default := UpperCase(ls_Rcrd[8]) = 'Y';
AData.OneYear := UpperCase(ls_Rcrd[11]) = 'Y';
Result := True;
finally
ls_Rcrd.Free;
xdom := Nil;
end;
end;
function TFrm_CUT02.RequestSetCustLevel(AData: TCustLevelInfoRec;
var AErrCode: Integer; var AErrMsg: string): Boolean;
var
SendData, XmlData,
Param, Key: string;
begin
Result := False;
try
if FLevelSeq = '' then
begin
Key := 'cust_level.lv_insert';
Param := FGroupSeq+'│'+AData.Name+'│'+IntToStr(AData.Mileage)+'│'+ColorToHex6(AData.Color)+'│'
+ IntToStr(AData.FinCnt)+'│'+IntToStr(AData.CancelRate)+'│'+IntToStr(AData.OrderBy)+'│'
+ IfThen(AData.AutoUp, 'y', 'n') + '│' + IfThen(AData.Default, 'y', 'n');
end else
begin
Key := 'cust_level.lv_update';
Param := FLevelSeq+'│'+AData.Name+'│'+IntToStr(AData.Mileage)+'│'+ColorToHex6(AData.Color)+'│'
+ IntToStr(AData.FinCnt)+'│'+IntToStr(AData.CancelRate)+'│'+IntToStr(AData.OrderBy)+'│'
+ IfThen(AData.AutoUp, 'y', 'n') + '│' + IfThen(AData.Default, 'y', 'n');
end;
SendData := GetCallable05('SetCustLevelItem', Key, Param);
if not RequestBase(SendData, XmlData, AErrCode, AErrMsg) then
Exit;
Result := True;
except on E: Exception do
Assert(False, E.Message);
end;
end;
procedure TFrm_CUT02.InitCtrls;
begin
chkDefault.Checked := False;
edtOrderBy.Clear;
edtLevelName.Clear;
edtLevelMileage.Clear;
lblLevelColor.Style.Color := clWhite;
lblLevelColor.Caption := 'FFFFFF';
chkUseAutoUp.Checked := True;
edtSuccCnt.Clear;
edtCancelRate.Clear;
edtSuccCnt.Enabled := True;
edtCancelRate.Enabled := True;
btnEdit.Caption := IfThen(FLevelSeq = '', '신규등록', '정보수정');
end;
procedure TFrm_CUT02.SetData(ABrNo, AGroupName, AGroupSeq: String; AOneYear : Boolean; ALevelSeq: string);
var
ErrCode: Integer;
ErrMsg: string;
Data: TCustLevelInfoRec;
begin
FBrNo := ABrNo;
FGroupSeq := AGroupSeq;
FLevelSeq := ALevelSeq;
InitCtrls;
chkDefault.Checked := (FGroupSeq = '');
btnGroupModify.Visible := (FGroupSeq <> '');
if FGroupSeq = '' then
begin
PnlTitle.Caption := '고객등급그룹 추가';
ShowMessage('고객등급 그룹명을 입력 하시고 기본등급으로 사용할 등급정보도 함께 등록바랍니다.');
end else
begin
PnlTitle.Caption := '고객등급 설정';
edtGroupName.Text := AGroupName;
cxChkOneYear.Checked := AOneYear;
end;
if FLevelSeq <> '' then
begin
if not RequestGetCustLevel(FBrNo, FGroupSeq, FLevelSeq, Data, ErrCode, ErrMsg) then
begin
GMessagebox(Format('고객등급 조회에 실패했습니다. 다시시도 바랍니다.'#13#10'[%d] %s', [ErrCode, ErrMsg]), CDMSE);
Close;
end;
edtGroupName.Text := Data.GrpName;
edtOrderBy.Text := IntToStr(Data.OrderBy);
chkDefault.Checked := Data.Default;
edtLevelName.Text := Data.Name;
rbMilePay.Checked := Data.MileType = mtPayment;
rbMileRate.Checked := Data.MileType = mtRate;
edtLevelMileage.Value := Data.Mileage;
lblLevelColor.Caption := ColorToHex6(Data.Color);
lblLevelColor.Style.Color := Data.Color;
chkUseAutoUp.Checked := Data.AutoUp;
edtSuccCnt.Value := Data.FinCnt;
edtCancelRate.Value := Data.CancelRate;
cxChkOneYear.Checked := Data.OneYear;
end;
end;
procedure TFrm_CUT02.btnSelColorClick(Sender: TObject);
begin
ColorDialog1.Color := lblLevelColor.Style.Color;
if ColorDialog1.Execute then
begin
lblLevelColor.Style.Color := ColorDialog1.Color;
lblLevelColor.Caption := ColorToHex6(ColorDialog1.Color);
end;
end;
procedure TFrm_CUT02.chkUseAutoUpClick(Sender: TObject);
begin
edtSuccCnt.Enabled := chkUseAutoUp.Checked Or cxChkOneYear.Checked;
edtCancelRate.Enabled := chkUseAutoUp.Checked Or cxChkOneYear.Checked;
end;
procedure TFrm_CUT02.cxButton7Click(Sender: TObject);
begin
Close;
end;
procedure TFrm_CUT02.edtGroupNameKeyUp(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
TcxTextEdit(Sender).Text := Enc_Control(TcxTextEdit(Sender).Text);
end;
procedure TFrm_CUT02.edtOrderByKeyPress(Sender: TObject; var Key: Char);
begin
if not (Key in [#8, '0'..'9']) then
Key := #0;
end;
procedure TFrm_CUT02.btnClearClick(Sender: TObject);
begin
FLevelSeq := '';
InitCtrls;
end;
procedure TFrm_CUT02.btnEditClick(Sender: TObject);
var
ErrCode: Integer;
ErrMsg, GroupSeq: string;
Data: TCustLevelInfoRec;
begin
// 필수입력 확인
if not ValidationCheck then
Exit;
Data.OrderBy := StrToIntDef(edtOrderBy.Text, 0);
Data.Default := chkDefault.Checked;
Data.Name := edtLevelName.Text;
if rbMilePay.Checked then
Data.MileType := mtPayment
else
Data.MileType := mtRate;
Data.Mileage := Trunc(edtLevelMileage.Value);
Data.Color := lblLevelColor.Style.Color;
Data.AutoUp := chkUseAutoUp.Checked;
Data.FinCnt := Trunc(edtSuccCnt.Value);
Data.CancelRate := Trunc(edtCancelRate.Value);
if FGroupSeq = '' then
begin
if not RequestSetLevelGroup(edtGroupName.Text, GroupSeq, ErrCode, ErrMsg) then
begin
GMessagebox(Format('고객등급 저장에 실패했습니다. 다시시도 바랍니다.'#13#10'[%d] %s', [ErrCode, ErrMsg]), CDMSE);
Exit;
end;
FGroupSeq := GroupSeq;
end;
if not RequestSetCustLevel(Data, ErrCode, ErrMsg) then
begin
GMessagebox(Format('고객등급 저장에 실패했습니다. 다시시도 바랍니다.'#13#10'[%d] %s', [ErrCode, ErrMsg]), CDMSE);
Exit;
end;
if Assigned(FOnRefreshEvent) then
FOnRefreshEvent(nil);
GMessageBox('저장하였습니다.'+IfThen(ErrMsg <> '', #13#10+ErrMsg, ''), CDMSI);
Close;
end;
function TFrm_CUT02.ValidationCheck: Boolean;
begin
Result := False;
if (edtGroupName.Enabled) and (edtGroupName.Text = '') then
begin
ShowMessage('그룹명을 입력해 주세요.');
Exit;
end;
if not (StrToIntDef(edtOrderBy.Text, -1) in [0..99]) then
begin
ShowMessage('등급번호를 정확히(0~99) 입력해 주세요.');
edtOrderBy.SetFocus;
Exit;
end;
if edtLevelName.Text = '' then
begin
ShowMessage('고객등급명을 입력해 주세요.');
edtLevelName.SetFocus;
Exit;
end;
Result := True;
end;
procedure TFrm_CUT02.rbMilePayClick(Sender: TObject);
begin
lblMileUnit.Caption := '원';
edtLevelMileage.Properties.MaxValue := 10000;
end;
procedure TFrm_CUT02.rbMileRateClick(Sender: TObject);
begin
lblMileUnit.Caption := '%';
edtLevelMileage.Properties.MaxValue := 100;
end;
procedure TFrm_CUT02.btnGroupModifyClick(Sender: TObject);
var
ErrCode: Integer;
ErrMsg: string;
begin
if edtGroupName.Text = '' then
begin
GMessageBox('변경하실 그룹명을 입력해주세요.', CDMSE);
Exit;
end;
if not RequestSetLevelGroup(edtGroupName.Text, ErrCode, ErrMsg) then
begin
GMessagebox(Format('고객그룹명 변경에 실패했습니다. 다시시도 바랍니다.'#13#10'[%d] %s', [ErrCode, ErrMsg]), CDMSE);
Exit;
end;
if Assigned(FOnRefreshEvent) then
FOnRefreshEvent(nil);
GMessageBox('변경하였습니다.', CDMSI);
end;
end.
|
//---------------------------------------------------------------------------
// This software is Copyright (c) 2018 Embarcadero Technologies, Inc.
// You may only use this software if you are an authorized licensee
// of an Embarcadero developer tools product.
// This software is considered a Redistributable as defined under
// the software license agreement that comes with the Embarcadero Products
// and is subject to that software license agreement.
//---------------------------------------------------------------------------
unit uProgressFrame;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Graphics, FMX.Controls, FMX.Forms, FMX.Dialogs, FMX.StdCtrls,
FMX.Ani, FMX.Objects, FMX.Controls.Presentation;
type
TProgressFrame = class(TFrame)
ProgressCircle: TCircle;
ProgressArc: TArc;
CenterCircle: TCircle;
ProgFloatAnimation: TFloatAnimation;
BackgroundRectangle: TRectangle;
DelayTimer: TTimer;
Label1: TLabel;
procedure DelayTimerTimer(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
procedure ShowActivity;
procedure HideActivity;
end;
implementation
{$R *.fmx}
uses
formMain;
procedure TProgressFrame.ShowActivity;
begin
DelayTimer.Enabled := True;
end;
procedure TProgressFrame.DelayTimerTimer(Sender: TObject);
begin
Self.Visible := True;
Self.BringToFront;
//ProgFloatAnimation.Enabled := True;
DelayTimer.Enabled := False;
end;
procedure TProgressFrame.HideActivity;
begin
//ProgFloatAnimation.Enabled := False;
Self.Visible := False;
DelayTimer.Enabled := False;
end;
end.
|
function same(l1,l2: Tlist):Boolean;
begin
if l1=l2 then same:=true
else if (l2=nil) or (l1=nil) then same:=false
else if l2^.data=l1^.data then same:=same(l1^.next,l2^.next)
else same:=false;
end; |
//Copyright 2009-2011 by Victor Derevyanko, dvpublic0@gmail.com
//http://code.google.com/p/dvsrc/
//http://derevyanko.blogspot.com/2011/03/kill-word.html
//{$Id: main.pas 34 2011-03-10 04:48:59Z dvpublic0@gmail.com $}
unit main;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs, WordThread,
ExtCtrls, inifiles;
type
tconfig_params = record
ProcessExeFileName: String;
IntervalForCheckOutdatedProcessesSEC: Integer;
MaxAllowedTimeForProcessMS: Integer;
TestFindAndKillProcessByWindow: Boolean;
SrcFileNameForKillProcessByWindow: String;
end;
type
TWordKillerService = class(TService)
TimerTestKillByWindow: TTimer;
TimerOutdatedProcesses: TTimer;
procedure TimerTestKillByWindowTimer(Sender: TObject);
procedure ServiceStart(Sender: TService; var Started: Boolean);
procedure TimerOutdatedProcessesTimer(Sender: TObject);
private
procedure load_config;
{ Private declarations }
public
function GetServiceController: TServiceController; override;
{ Public declarations }
private
m_Config: tconfig_params;
m_Thread: TWordThread;
end;
var
WordKillerService: TWordKillerService;
implementation
uses ProcessKiller;
{$R *.DFM}
function get_full_path_by_related_path(const FilePath: String): String;
var s: String;
begin
SetLength(s, MAX_PATH);
GetModuleFileNameW(0, PWideChar(s), MAX_PATH);
s := ExtractFilePath(PWideChar(s));
s := IncludeTrailingPathDelimiter(s);
Result := s + FilePath;
end;
procedure ServiceController(CtrlCode: DWord); stdcall;
begin
WordKillerService.Controller(CtrlCode);
end;
function TWordKillerService.GetServiceController: TServiceController;
begin
Result := ServiceController;
end;
procedure TWordKillerService.ServiceStart(Sender: TService;
var Started: Boolean);
begin
Sleep(10000);
load_config;
if m_Config.TestFindAndKillProcessByWindow then begin
TimerTestKillByWindow.Enabled := true;
end;
if m_Config.ProcessExeFileName <> '' then begin
TimerOutdatedProcesses.Interval := m_Config.IntervalForCheckOutdatedProcessesSEC;
TimerOutdatedProcesses.Enabled := true;
end;
end;
procedure TWordKillerService.TimerOutdatedProcessesTimer(Sender: TObject);
begin
ProcessKiller.FindAndKillProcessByPid(m_Config.ProcessExeFileName, m_Config.MaxAllowedTimeForProcessMS);
end;
procedure TWordKillerService.TimerTestKillByWindowTimer(Sender: TObject);
begin
m_Thread := TWordThread.Create(m_Config.SrcFileNameForKillProcessByWindow);
m_Thread.Execute;
Sleep(3000);
ProcessKiller.FindAndKillProcessByWindow('winword.exe', m_Config.SrcFileNameForKillProcessByWindow);
Sleep(3000);
end;
procedure TWordKillerService.load_config;
var f: inifiles.TIniFile;
function read_int(const srcParamName: String; DefaultValue: Integer): Integer;
var svalue: String;
begin
svalue := f.ReadString('data', srcParamName, '');
if svalue = ''
then Result := DefaultValue
else Result := StrToInt(svalue);
end;
function read_str(const srcParamName: String; DefaultValue: String): String;
var svalue: String;
begin
svalue := f.ReadString('data', srcParamName, '');
if svalue = ''
then Result := DefaultValue
else Result := svalue;
end;
begin
f := inifiles.TIniFile.Create(get_full_path_by_related_path('WordKiller.ini'),);
try
m_Config.ProcessExeFileName := read_str('ProcessExeFileName', 'winword.exe');
m_Config.IntervalForCheckOutdatedProcessesSEC := read_int('IntervalForCheckOutdatedProcessesSEC', 24*60*60);
m_Config.MaxAllowedTimeForProcessMS := read_int('MaxAllowedTimeForProcessMS', 10*60*1000);
m_Config.TestFindAndKillProcessByWindow := 0 <> read_int('TestFindAndKillProcessByWindow', 0);
m_Config.SrcFileNameForKillProcessByWindow := read_str('SrcFileNameForKillProcessByWindow', 'testdata\src.doc');
if ExtractFileDrive(m_Config.SrcFileNameForKillProcessByWindow) = '' then begin
m_Config.SrcFileNameForKillProcessByWindow := get_full_path_by_related_path(m_Config.SrcFileNameForKillProcessByWindow);
end;
finally
f.Free;
end;
end;
end.
|
unit LuaPipe;
{$mode delphi}
//pipe class specifically made for lua. Only 1 client and 1 server connection at a time
interface
uses
{$ifdef darwin}
macport, macpipe, mactypes,
{$endif}
{$ifdef windows}
windows,
{$endif}
Classes, SysUtils, lua, LuaClass, syncobjs, guisafecriticalsection, newkernelhandler;
type
TPipeConnection=class
private
fOnTimeout: TNotifyEvent;
fOnError: TNotifyEvent;
procedure CloseConnection(n: TNotifyEvent);
{$ifdef windows}
function ProcessOverlappedOperation(o: POVERLAPPED): boolean;
{$endif}
protected
pipe: THandle;
fconnected: boolean;
cs: TGuiSafeCriticalSection;
foverlapped: boolean;
ftimeout: integer;
fWarnOnMainThreadLockObtaining: boolean; //to debug mainthread locks
fErrorOnMainThreadLockObtaining: boolean;
procedure setTimeout(newtimeout: integer);
public
procedure lock;
procedure unlock;
function WriteBytes(bytes: pointer; size: integer): boolean;
function ReadBytes(bytes: pointer; size: integer): boolean;
function readDouble: double;
function readFloat: single;
function readQword: qword;
function readDword: dword;
function readWord: word;
function readByte: byte;
function readString(size: integer): string;
function readWideString(size: integer): widestring;
procedure writeDouble(v: double);
procedure writeFloat(v: single);
procedure writeQword(v: qword);
procedure writeDword(v: dword);
procedure writeWord(v: word);
procedure writeByte(v: byte);
procedure writeString(str: string; include0terminator: boolean);
procedure writeWideString(str: widestring; include0terminator: boolean);
constructor create;
destructor destroy; override;
published
property connected: boolean read fConnected;
property Timeout: Integer read ftimeout write setTimeout;
property OnTimeout: TNotifyEvent read fOnTimeout write fOnTimeout;
property OnError: TNotifyEvent read fOnError write fOnError;
property Handle: THandle read pipe write pipe;
property WarnOnMainThreadLockObtaining: boolean read fWarnOnMainThreadLockObtaining write fWarnOnMainThreadLockObtaining;
property ErrorOnMainThreadLockObtaining: boolean read fErrorOnMainThreadLockObtaining write fErrorOnMainThreadLockObtaining;
end;
procedure pipecontrol_addMetaData(L: PLua_state; metatable: integer; userdata: integer );
implementation
uses LuaObject, LuaByteTable, networkInterface, networkInterfaceApi, LuaHandler;
threadvar WaitEvent: THandle;
destructor TPipeConnection.destroy;
begin
if (pipe<>0) and (pipe<>INVALID_HANDLE_VALUE) then
closehandle(pipe);
if cs<>nil then
freeandnil(cs);
inherited destroy;
end;
constructor TPipeConnection.create;
begin
ftimeout :=5000;
cs:=TGuiSafeCriticalSection.Create;
end;
procedure TPipeConnection.lock;
begin
if fErrorOnMainThreadLockObtaining or fWarnOnMainThreadLockObtaining and (MainThreadID=GetCurrentThreadId) then
begin
if fErrorOnMainThreadLockObtaining then
begin
raise exception.create('No mainthread access to this pipe allowed');
end;
lua_getglobal(LuaVM,'print');
lua_pushstring(LuaVM,'Warning: pipe access from main thread');
lua_pcall(LuaVM,1,0,0);
end;
if ftimeout<>0 then
cs.Enter(ftimeout)
else
cs.enter;
end;
procedure TPipeconnection.unlock;
begin
cs.leave;
end;
procedure TPipeConnection.setTimeout(newtimeout: integer);
begin
cs.enter;
ftimeout:=newtimeout;
cs.leave;
end;
procedure TPipeConnection.writeDouble(v:double);
begin
writeBytes(@v, 8);
end;
procedure TPipeConnection.writeFloat(v:single);
begin
writeBytes(@v, 4);
end;
procedure TPipeConnection.writeQword(v:qword);
begin
writeBytes(@v, 8);
end;
procedure TPipeConnection.writeDword(v:dword);
begin
writeBytes(@v, 4);
end;
procedure TPipeConnection.writeWord(v:word);
begin
writeBytes(@v, 2);
end;
procedure TPipeConnection.writeByte(v:byte);
begin
writeBytes(@v, 1);
end;
function TPipeConnection.readDouble: double;
begin
readbytes(@result, 8);
end;
function TPipeConnection.readFloat: single;
begin
readbytes(@result, 4);
end;
function TPipeConnection.readQword: qword;
begin
readbytes(@result, 8);
end;
function TPipeConnection.readDword: dword;
begin
readbytes(@result, 4);
end;
function TPipeConnection.readWord: word;
begin
readbytes(@result, 2);
end;
function TPipeConnection.readByte: byte;
begin
readbytes(@result, 1);
end;
procedure TPipeConnection.writeString(str: string; include0terminator: boolean);
begin
if include0terminator then
writebytes(@str[1], length(str)+1)
else
writebytes(@str[1], length(str));
end;
procedure TPipeConnection.writeWideString(str: widestring; include0terminator: boolean);
begin
if include0terminator then
writebytes(@str[1], (length(str)+1)*2)
else
writebytes(@str[1], (length(str)+1)*2);
end;
function TPipeConnection.readString(size: integer): string;
var x: pchar;
begin
getmem(x, size+1);
readbytes(x, size);
x[size]:=#0;
result:=x;
FreeMemAndNil(x);
end;
function TPipeConnection.readWideString(size: integer): widestring;
var x: pwidechar;
begin
getmem(x, size+2);
readbytes(x, size);
x[size]:=#0;
x[size+1]:=#0;
result:=x;
FreeMemAndNil(x);
end;
{$ifdef windows}
function TPipeConnection.ProcessOverlappedOperation(o: POVERLAPPED): boolean;
var
starttime: qword;
i: integer;
bt, lastbt: dword;
r: dword;
begin
starttime:=GetTickCount64;
bt:=0;
lastbt:=0;
while fconnected and ((ftimeout=0) or (gettickcount64<starttime+ftimeout)) do
begin
if MainThreadID=GetCurrentThreadId then
begin
CheckSynchronize;
r:=WaitForSingleObject(o^.hEvent, 25);
case r of
WAIT_OBJECT_0, WAIT_TIMEOUT: fconnected:=true;
else
fconnected:=false;
end;
if not fconnected then
begin
closeConnection(fOnError);
exit(false);
end;
end
else
begin
// sleep(10);
r:=WaitForSingleObject(o^.hEvent, ifthen<DWORD>(ftimeout=0, 1000, ftimeout));
case r of
WAIT_OBJECT_0, WAIT_TIMEOUT: fconnected:=true;
else
fconnected:=false;
end;
if not fconnected then
begin
closeConnection(fOnError);
exit(false);
end;
end;
if fconnected and (GetOverlappedResult(pipe, o^, bt,false)=false) then //todo: check for GetOverlappedResultEx and use that
begin
if bt<>lastbt then
starttime:=GetTickCount64;
lastbt:=bt;
i:=getlasterror;
if ((i=ERROR_IO_PENDING) or (i=ERROR_IO_INCOMPLETE)) then
continue
else
begin
closeConnection(fOnError);
exit(false);
end;
end
else
begin
o^.Internal:=bt;
exit(fconnected);
end;
end;
closeConnection(fOnTimeout);
exit(false);
end;
{$endif}
procedure TPipeConnection.CloseConnection(n: TNotifyEvent);
begin
fconnected:=false;
{$ifdef windows}
CancelIo(pipe);
closehandle(pipe);
{$endif}
{$ifdef darwin}
closepipe(pipe);
{$endif}
pipe:=0;
if assigned(n) then
n(self);
end;
function TPipeConnection.WriteBytes(bytes: pointer; size: integer): boolean;
var
c: TCEConnection;
{$ifdef windows}
bw: dword;
o: OVERLAPPED;
starttime: qword;
i: integer;
overlappedevent: thandle;
totalwritten: dword;
{$endif}
begin
if not fconnected then exit(false);
if (bytes<>nil) and (size>0) then
begin
c:=getConnection;
if (c<>nil) and c.isNetworkHandle(handle) then
begin
fconnected:=c.writePipe(handle, bytes, size, ftimeout);
if fconnected=false then
closeConnection(fOnTimeout);
end
else
begin
{$ifdef windows}
if foverlapped then
begin
totalwritten:=0;
while fconnected and (totalwritten<size) do
begin
zeromemory(@o, sizeof(o));
if waitevent=0 then
waitevent:=CreateEvent(nil,false,false,nil);
o.hEvent:=waitevent;
resetevent(o.hEvent);
if writefile(pipe, bytes^, size, bw,@o)=false then
begin
if GetLastError=ERROR_IO_PENDING then
begin
if ProcessOverlappedOperation(@o) then
begin
inc(totalwritten, o.Internal);
inc(bytes,o.Internal);
end
else
exit(false);
end
else
begin
closeConnection(fOnError);
exit(false);
end;
end
else
begin
inc(totalwritten,bw);
inc(bytes,bw);
end;
end;
end
else
fconnected:=fconnected and writefile(pipe, bytes^, size, bw, nil);
{$endif}
{$ifdef darwin}
fconnected:=writepipe(pipe, bytes, size, ftimeout);
if fconnected=false then
closeConnection(fOnTimeout);
{$endif}
end;
end;
result:=fconnected;
end;
function TPipeConnection.ReadBytes(bytes: pointer; size: integer): boolean;
var
c: TCEConnection;
{$ifdef windows}
br: dword;
o: OVERLAPPED;
i: integer;
starttime: qword;
totalread: dword;
{$endif}
begin
if not fconnected then exit(false);
if (bytes<>nil) and (size>0) then
begin
c:=getConnection;
if (c<>nil) and c.isNetworkHandle(pipe) then
begin
fconnected:=c.readPipe(pipe, bytes, size, ftimeout);
if fconnected=false then
closeConnection(fOnError);
end
else
begin
{$ifdef windows}
starttime:=GetTickCount64;
totalread:=0;
if foverlapped then
begin
while fconnected and (totalread<size) do
begin
zeromemory(@o, sizeof(o));
if waitevent=0 then
waitevent:=CreateEvent(nil,false,false,nil);
o.hEvent:=waitevent;
resetevent(o.hEvent);
if Readfile(pipe, bytes^, size, br,@o)=false then
begin
if GetLastError=ERROR_IO_PENDING then
begin
if ProcessOverlappedOperation(@o) then
begin
inc(totalread, o.Internal);
inc(bytes, o.Internal);
end
else
exit(false);
end
else
begin
closeConnection(fOnError);
exit(false);
end;
end
else
begin
inc(totalread, br);
inc(bytes, br);
end;
end;
end
else
begin
while fconnected and (totalread<size) do
begin
fconnected:=fconnected and Readfile(pipe, bytes^, size, br, nil);
inc(totalread,br);
inc(bytes, br);
end;
end;
{$endif}
{$ifdef darwin}
fconnected:=readpipe(pipe,bytes,size,ftimeout);
if fconnected=false then
closeConnection(fOnTimeout);
{$endif}
end;
end;
result:=fconnected;
if result=false then
asm
nop
end;
end;
function pipecontrol_writeBytes(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
paramcount: integer;
size: integer;
ba: pbytearray;
begin
//writeBytes(ByteTable, size OPTIONAL)
result:=0;
p:=luaclass_getClassObject(L);
paramcount:=lua_gettop(L);
if paramcount>0 then
begin
if paramcount>1 then
size:=lua_tointeger(L,2)
else
size:=lua_objlen(L, 1); //get size from the table
getmem(ba, size);
readBytesFromTable(L, 1, ba, size);
if (p.WriteBytes(ba, size)) then
begin
lua_pushinteger(L, size);
result:=1;
end;
FreeMemAndNil(ba);
end;
end;
function pipecontrol_readBytes(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
paramcount: integer;
size: integer;
ba: pbytearray;
begin
// readBytes(size: integer): returns a byte table from the pipe, or nil on failure
result:=0;
p:=luaclass_getClassObject(L);
paramcount:=lua_gettop(L);
if paramcount=1 then
begin
size:=lua_tointeger(L, 1);
getmem(ba, size);
if p.readBytes(ba, size) then
begin
CreateByteTableFromPointer(L, ba, size);
result:=1;
end;
FreeMemAndNil(ba);
end;
end;
function pipecontrol_readDouble(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: double;
begin
result:=0;
p:=luaclass_getClassObject(L);
v:=p.readDouble;
if p.connected then
begin
lua_pushnumber(L, v);
result:=1;
end;
end;
function pipecontrol_readFloat(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: Single;
begin
result:=0;
p:=luaclass_getClassObject(L);
v:=p.readFloat;
if p.connected then
begin
lua_pushnumber(L, v);
result:=1;
end;
end;
function pipecontrol_readQword(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: QWord;
begin
result:=0;
p:=luaclass_getClassObject(L);
v:=p.readQword;
if p.connected then
begin
lua_pushinteger(L, v);
result:=1;
end;
end;
function pipecontrol_readQwords(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: QWord;
count: integer;
results: array of qword;
i: integer;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)>=1 then
begin
count:=lua_tointeger(L,1);
setlength(results, count);
p.ReadBytes(@results[0],count*8);
if p.connected then
begin
lua_createtable(L,count,0);
for i:=0 to count-1 do
begin
lua_pushinteger(L,i+1);
lua_pushinteger(L,results[i]);
lua_settable(L,-3);
end;
result:=1;
end;
end;
end;
function pipecontrol_readDword(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: DWord;
begin
result:=0;
p:=luaclass_getClassObject(L);
v:=p.readDword;
if p.connected then
begin
lua_pushinteger(L, v);
result:=1;
end;
end;
function pipecontrol_readDwords(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: QWord;
count: integer;
results: array of dword;
i: integer;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)>=1 then
begin
count:=lua_tointeger(L,1);
setlength(results, count);
p.ReadBytes(@results[0],count*4);
if p.connected then
begin
lua_createtable(L,count,0);
for i:=0 to count-1 do
begin
lua_pushinteger(L,i+1);
lua_pushinteger(L,results[i]);
lua_settable(L,-3);
end;
result:=1;
end;
end;
end;
function pipecontrol_readWord(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: Word;
begin
result:=0;
p:=luaclass_getClassObject(L);
v:=p.readWord;
if p.connected then
begin
lua_pushinteger(L, v);
result:=1;
end;
end;
function pipecontrol_readWords(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: QWord;
count: integer;
results: array of word;
i: integer;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)>=1 then
begin
count:=lua_tointeger(L,1);
setlength(results, count);
p.ReadBytes(@results[0],count*2);
if p.connected then
begin
lua_createtable(L,count,0);
for i:=0 to count-1 do
begin
lua_pushinteger(L,i+1);
lua_pushinteger(L,results[i]);
lua_settable(L,-3);
end;
result:=1;
end;
end;
end;
function pipecontrol_readByte(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
v: Byte;
begin
result:=0;
p:=luaclass_getClassObject(L);
v:=p.readByte;
if p.connected then
begin
lua_pushinteger(L, v);
result:=1;
end;
end;
function pipecontrol_readString(L: PLua_State): integer; cdecl;
//readString(size: integer)
var
p: TPipeconnection;
v: QWord;
paramcount: integer;
size: integer;
s: pchar;
begin
result:=0;
p:=luaclass_getClassObject(L);
paramcount:=lua_gettop(L);
if paramcount=1 then
begin
size:=lua_tointeger(L, 1);
getmem(s, size);
try
p.ReadBytes(s, size);
if p.connected then
begin
lua_pushlstring(L, s, size);
result:=1;
end;
finally
FreeMemAndNil(s);
end;
end;
end;
function pipecontrol_readWideString(L: PLua_State): integer; cdecl;
//readString(size: integer)
var
p: TPipeconnection;
v: QWord;
paramcount: integer;
size: integer;
ws: widestring;
s: string;
begin
result:=0;
p:=luaclass_getClassObject(L);
paramcount:=lua_gettop(L);
if paramcount=1 then
begin
size:=lua_tointeger(L, 1);
ws:=p.readWideString(size);
if p.connected then
begin
s:=ws;
lua_pushstring(L, pchar(s));
result:=1;
end;
end;
end;
function pipecontrol_writeDouble(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)=1 then
begin
p.writeDouble(lua_tonumber(L, 1));
if p.connected then
begin
lua_pushinteger(L, sizeof(double));
result:=1;
end;
end;
end;
function pipecontrol_writeFloat(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)=1 then
begin
p.writeFloat(lua_tonumber(L, 1));
if p.connected then
begin
lua_pushinteger(L, sizeof(single));
result:=1;
end;
end;
end;
function pipecontrol_writeQword(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)=1 then
begin
p.writeQword(lua_tointeger(L, 1));
if p.connected then
begin
lua_pushinteger(L, sizeof(QWord));
result:=1;
end;
end;
end;
function pipecontrol_writeDword(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)=1 then
begin
p.writeDword(lua_tointeger(L, 1));
if p.connected then
begin
lua_pushinteger(L, sizeof(DWord));
result:=1;
end;
end;
end;
function pipecontrol_writeWord(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)=1 then
begin
p.writeWord(lua_tointeger(L, 1));
if p.connected then
begin
lua_pushinteger(L, sizeof(Word));
result:=1;
end;
end;
end;
function pipecontrol_writeByte(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)=1 then
begin
p.writeByte(lua_tointeger(L, 1));
if p.connected then
begin
lua_pushinteger(L, sizeof(Byte));
result:=1;
end;
end;
end;
function pipecontrol_writeString(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
paramcount: integer;
s: pchar;
slength: size_t;
include0terminator: boolean;
begin
result:=0;
p:=luaclass_getClassObject(L);
paramcount:=lua_gettop(L);
if paramcount>=1 then
begin
if paramcount=2 then
include0terminator:=lua_toboolean(L, 2)
else
include0terminator:=false;
slength:=0;
s:=lua_tolstring(L, 1, @slength);
p.WriteBytes(s, slength);
if include0terminator then
p.writeByte(0);
if p.connected then
begin
//return the number of bytes written
if include0terminator then
lua_pushinteger(L, slength+1)
else
lua_pushinteger(L, slength);
result:=1;
end;
end;
end;
function pipecontrol_writeWideString(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
paramcount: integer;
s: string;
ws: string;
include0terminator: boolean;
begin
result:=0;
p:=luaclass_getClassObject(L);
paramcount:=lua_gettop(L);
if paramcount>=1 then
begin
s:=lua_tostring(L, 1);
ws:=s;
if paramcount=2 then
include0terminator:=lua_toboolean(L, 2)
else
include0terminator:=false;
p.writeWideString(ws, include0terminator);
if p.connected then
begin
if include0terminator then
lua_pushinteger(L, (length(ws)+1)*2)
else
lua_pushinteger(L, length(ws)*2);
result:=1;
end;
end;
end;
function pipecontrol_readIntoStream(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
stream: tstream;
size: integer;
buf: pointer;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)>=2 then
begin
stream:=lua_ToCEUserData(L,1);
size:=lua_tointeger(L,2);
buf:=getmem(size);
try
if p.ReadBytes(buf,size) then
begin
lua_pushinteger(L, stream.Write(buf^,size));
result:=1;
end;
finally
freemem(buf);
end;
end
end;
function pipecontrol_writeFromStream(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
stream: tstream;
size: integer;
buf: pointer;
begin
result:=0;
p:=luaclass_getClassObject(L);
if lua_gettop(L)>=1 then
begin
stream:=lua_ToCEUserData(L,1);
if lua_gettop(L)>=2 then
size:=lua_tointeger(L,2)
else
size:=stream.Size-stream.Position;
buf:=getmem(size);
try
stream.read(buf^,size);
if p.WriteBytes(buf,size) then
begin
lua_pushinteger(L, stream.Write(buf^,size));
result:=1;
end;
finally
freemem(buf);
end;
end
end;
function pipecontrol_lock(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
p.lock;
end;
function pipecontrol_unlock(L: PLua_State): integer; cdecl;
var
p: TPipeconnection;
begin
result:=0;
p:=luaclass_getClassObject(L);
p.unlock;
end;
procedure pipecontrol_addMetaData(L: PLua_state; metatable: integer; userdata: integer );
begin
object_addMetaData(L, metatable, userdata);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'lock', pipecontrol_lock);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'unlock', pipecontrol_unlock);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeBytes', pipecontrol_writeBytes);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readBytes', pipecontrol_readBytes);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readDouble', pipecontrol_readDouble);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readFloat', pipecontrol_readFloat);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readQword', pipecontrol_readQword);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readQwords', pipecontrol_readQwords);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readDword', pipecontrol_readDword);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readDwords', pipecontrol_readDwords);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readWord', pipecontrol_readWord);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readWords', pipecontrol_readWords);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readByte', pipecontrol_readByte);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readString', pipecontrol_readString);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readWideString', pipecontrol_readWideString);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'readIntoStream', pipecontrol_readIntoStream);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeDouble', pipecontrol_writeDouble);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeFloat', pipecontrol_writeFloat);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeQword', pipecontrol_writeQword);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeDword', pipecontrol_writeDword);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeWord', pipecontrol_writeWord);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeByte', pipecontrol_writeByte);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeString', pipecontrol_writeString);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeWideString', pipecontrol_writeWideString);
luaclass_addClassFunctionToTable(L, metatable, userdata, 'writeFromStream', pipecontrol_writeFromStream);
end;
initialization
luaclass_register(TPipeConnection, pipecontrol_addMetaData );
end.
|
unit udmConexion;
interface
uses
System.SysUtils, System.Classes, FireDAC.Stan.Intf, FireDAC.Stan.Option,
FireDAC.Stan.Error, FireDAC.UI.Intf, FireDAC.Phys.Intf, FireDAC.Stan.Def,
FireDAC.Stan.Pool, FireDAC.Stan.Async, FireDAC.Phys, FireDAC.Phys.MSSQL,
FireDAC.Phys.MSSQLDef, FireDAC.VCLUI.Wait, Data.DB, FireDAC.Comp.Client;
type
TdmConexion = class(TDataModule)
Conexion: TFDConnection;
private
const
RegistryKeyBase = '\SOFTWARE\jachguate\gestortareas';
RegValParamsConexion = 'DatosConexion';
public
function EstaConfigurado: Boolean;
procedure LeerConfig;
procedure GuardarConfig;
end;
var
dmConexion: TdmConexion;
implementation
uses
System.Win.Registry, Winapi.Windows;
{%CLASSGROUP 'Vcl.Controls.TControl'}
{$R *.dfm}
{ TdmConexion }
function TdmConexion.EstaConfigurado: Boolean;
var
Reg: TRegistry;
begin
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_CURRENT_USER;
Result := Reg.OpenKey(RegistryKeyBase, False)
and Reg.ValueExists(RegValParamsConexion)
finally
Reg.Free;
end;
end;
procedure TdmConexion.GuardarConfig;
var
Reg: TRegistry;
MS: TMemoryStream;
begin
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_CURRENT_USER;
if Reg.OpenKey(RegistryKeyBase, True) then
begin
MS := TMemoryStream.Create;
try
Conexion.Params.SaveToStream(MS);
MS.Position := 0;
Reg.WriteBinaryData(RegValParamsConexion, MS.Memory^, MS.Size);
finally
MS.Free;
end;
end
else
raise Exception.Create('Error al guardar la configuración');
finally
Reg.Free;
end;
end;
procedure TdmConexion.LeerConfig;
var
Reg: TRegistry;
MS: TMemoryStream;
begin
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_CURRENT_USER;
if Reg.OpenKey(RegistryKeyBase, False) then
begin
if Reg.ValueExists(RegValParamsConexion) then
begin
MS := TMemoryStream.Create;
try
MS.Size := Reg.GetDataSize(RegValParamsConexion);
MS.Position := 0;
if Reg.ReadBinaryData(RegValParamsConexion, MS.Memory^, MS.Size) = MS.Size then
begin
MS.Position := 0;
Conexion.Params.LoadFromStream(MS);
end
else
raise Exception.Create('Error al leer datos de conexión (datos corruptos)');
finally
MS.Free;
end;
end
else
raise Exception.Create('Error al leer datos de conexión');
end
else
raise Exception.Create('Error al leer la configuración');
finally
Reg.Free;
end;
end;
end.
|
unit MiniDialogGenerateGrid;
interface
uses
Winapi.Windows,
Winapi.Messages,
System.SysUtils,
System.Variants,
System.Classes,
Vcl.Graphics,
Vcl.Controls,
Vcl.Forms,
Vcl.Dialogs,
Vcl.StdCtrls,
Vcl.Samples.Spin,
GraphDefine,
Pengine.IntMaths,
Pengine.Vector;
type
TmdlgGenerateGrid = class(TForm)
seWidth: TSpinEdit;
lbWidth: TLabel;
seHeight: TSpinEdit;
lbHeight: TLabel;
seDistance: TSpinEdit;
lbDistance: TLabel;
btnGenerate: TButton;
procedure btnGenerateClick(Sender: TObject);
procedure FormClose(Sender: TObject; var Action: TCloseAction);
procedure FormDeactivate(Sender: TObject);
procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
private
FGraph: TGraphEditable;
protected
procedure UpdateActions; override;
public
procedure Execute(AGraph: TGraphEditable);
end;
var
mdlgGenerateGrid: TmdlgGenerateGrid;
implementation
{$R *.dfm}
{ TmdlgGenerateGrid }
procedure TmdlgGenerateGrid.btnGenerateClick(Sender: TObject);
begin
// make sure the active spin edit loses focus, to limit the value
SetFocusedControl(btnGenerate);
ModalResult := mrOk;
Close;
end;
procedure TmdlgGenerateGrid.Execute(AGraph: TGraphEditable);
begin
FGraph := AGraph;
ModalResult := mrCancel;
Position := poMainFormCenter;
Show;
end;
procedure TmdlgGenerateGrid.FormClose(Sender: TObject; var Action: TCloseAction);
begin
if ModalResult = mrOk then
begin
with TGraphEditable.TRandomPointGenerator.Create(FGraph) do
begin
try
// Size := IVec2(seWidth.Value, seHeight.Value);
// Bounds := Bounds2(0).Outset(seDistance.Value * TVector2(Size));
Count := 50;
Bounds := Bounds2(-300, 300);
Generate;
finally
Free;
end;
end;
end;
end;
procedure TmdlgGenerateGrid.FormDeactivate(Sender: TObject);
begin
Close;
end;
procedure TmdlgGenerateGrid.FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
begin
if Key = VK_ESCAPE then
Close;
end;
procedure TmdlgGenerateGrid.UpdateActions;
begin
inherited;
btnGenerate.Enabled := (seWidth.Text <> '') and (seHeight.Text <> '') and (seDistance.Text <> '');
end;
end.
|
unit ParamModel;
interface
uses
SysUtils, Generics.Collections, Aurelius.Mapping.Attributes, Aurelius.Types.Blob, Aurelius.Types.DynamicProperties, Aurelius.Types.Nullable, Aurelius.Types.Proxy;
type
TParam = class;
[Entity]
[Table('Param')]
[UniqueKey('Nome, Company, User_Id')]
[Id('Fpkparam', TIdGenerator.None {TIdGenerator.IdentityOrSequence})]
TParam = class
private
[Column('pkparam', [TColumnProp.Required, TColumnProp.NoInsert, TColumnProp.NoUpdate])]
Fpkparam: integer;
[Column('Nome', [TColumnProp.Required], 30)]
FNome: string;
[Column('Valore', [], 1000)]
FValore: Nullable<string>;
[Column('Company', [], 50)]
FCompany: Nullable<string>;
[Column('User_Id', [], 50)]
FUser_Id: Nullable<string>;
[Column('Data', [TColumnProp.Lazy])]
FData: TBlob;
public
property pkparam: integer read Fpkparam write Fpkparam;
property Nome: string read FNome write FNome;
property Valore: Nullable<string> read FValore write FValore;
property Company: Nullable<string> read FCompany write FCompany;
property User_Id: Nullable<string> read FUser_Id write FUser_Id;
property Data: TBlob read FData write FData;
end;
implementation
end.
|
(*======================================================================*
| unitExRegSettings |
| |
| Registry application settings classes. |
| |
| The contents of this file are subject to the Mozilla Public License |
| Version 1.1 (the "License"); you may not use this file except in |
| compliance with the License. You may obtain a copy of the License |
| at http://www.mozilla.org/MPL/ |
| |
| Software distributed under the License is distributed on an "AS IS" |
| basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See |
| the License for the specific language governing rights and |
| limitations under the License. |
| |
| Copyright © Colin Wilson 2006 All Rights Reserved |
| |
| Version Date By Description |
| ------- ---------- ---- ------------------------------------------|
| 1.0 02/03/2006 CPWW Original |
*======================================================================*)
unit unitExRegSettings;
interface
uses Windows, Classes, SysUtils, unitExSettings, Registry;
type
//-----------------------------------------------------------------------
// TExRegSettings.
//
// Class to store application and other settings to the registry
TExRegSettings = class (TExSettings)
private
fCurrentReg : TRegistry;
fParentKey : HKEY;
fAutoReadOnly : boolean;
fChildSection : string;
function GetCurrentKey: HKEY;
function ApplicationKeyName : string;
protected
function IsOpen : boolean; override;
function CheckIsOpen (readOnly, autoReadOnly : boolean) : TIsOpen; override;
procedure SetSection (const SectionPath : string); override;
procedure InternalSetIntegerValue (const valueName : string; value : Integer); override;
procedure InternalSetStringValue (const valueName, value : string); override;
public
constructor CreateChild (AParent : TExSettings; const ASection : string); override;
procedure Close; override;
function Open (readOnly : boolean = false) : boolean; override;
procedure Flush; override;
property CurrentKey : HKEY read GetCurrentKey;
procedure DeleteValue (const valueName : string); override;
procedure DeleteSection (const sectionName : string); override;
function HasSection (const ASection : string) : boolean; override;
function HasValue (const AValue : string) : boolean; override;
procedure GetValueNames (names : TStrings); override;
procedure GetSectionNames (names : TStrings); override;
function GetExportValue (const valueName : string) : string; override;
function GetStringValue (const valueName : string; const deflt : string = '') : string; override;
function GetIntegerValue (const valueName : string; deflt : Integer = 0) : Integer; override;
function GetStrings (const valueName : string; sl : TStrings) : Integer; override;
procedure SetStrings (const valueName : string; sl : TStrings); override;
procedure RenameSection (const oldValue, newValue : string); override;
procedure RenameValue (const oldValue, newValue : string); override;
end;
implementation
resourcestring
rstReadError = 'Error %d reading value %s';
rstOpenError = 'Error %d opening %s';
rstDeleteError = 'Error %d deleting %s';
rstWriteError = 'Error %d writing value %s';
{ TExRegSettings }
(*----------------------------------------------------------------------*
| function TExRegSettings.ApplicationKeyName |
| |
| Return the key name for the currently selected section |
*----------------------------------------------------------------------*)
function TExRegSettings.ApplicationKeyName: string;
begin
if Application = '' then
result := Section
else
begin
if Manufacturer = '' then
result := 'Software\' + Application
else
result := 'Software\' + Manufacturer + '\' + Application;
if Version <> '' then
result := result + '\' + Version;
if Section <> '' then
result := result + '\' + Section
end;
if result = '' then
raise EExSettings.Create('Must specify an Application or a Section');
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.CheckIsOpen |
| |
| Ensure that the registry is open for reading or writing. |
*----------------------------------------------------------------------*)
function TExRegSettings.CheckIsOpen (readOnly, autoReadOnly : boolean) : TIsOpen;
var
ok : boolean;
begin
result := inherited CheckIsOpen (readOnly, autoReadOnly);
if (result = woClosed) or (result = woReopen) then
begin
ok := Open (readOnly);
if result = woClosed then
fReadOnly := False;
if ok then
result := woOpen
else
result := woClosed
end
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.Close |
| |
| Close the registry |
*----------------------------------------------------------------------*)
procedure TExRegSettings.Close;
begin
FreeAndNil (fCurrentReg);
end;
constructor TExRegSettings.CreateChild(AParent: TExSettings;
const ASection: string);
begin
inherited;
fChildSection := ASection;
fParentKey := TExRegSettings (AParent).CurrentKey;
end;
procedure TExRegSettings.DeleteSection(const sectionName: string);
begin
if CheckIsOpen (false, fAutoReadOnly) = woOpen then
fCurrentReg.DeleteKey (sectionName);
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.DeleteValue |
| |
| Delete the specified value from the current key |
*----------------------------------------------------------------------*)
procedure TExRegSettings.DeleteValue(const valueName: string);
begin
if CheckIsOpen (false, fAutoReadOnly) = woOpen then
fCurrentReg.DeleteValue(valueName)
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.Flush |
| |
| Flush the registry (don't do anything!)
*----------------------------------------------------------------------*)
procedure TExRegSettings.Flush;
begin
inherited;
// Could call RegFlushKey - but isn't usually required
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.GetIntegerValue |
| |
| Return an integer value, or the default if the value doesn't exist |
*----------------------------------------------------------------------*)
function TExRegSettings.GetCurrentKey: HKEY;
begin
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
result := fCurrentReg.CurrentKey
else
result := 0;
end;
function MakeCStringConst (const s : string; len : Integer = -1) : string;
var
i : Integer;
begin
result := '';
if len = -1 then
len := Length (s);
for i := 1 to len do
begin
if (s [i] = '\') or (s [i] = '"') then
result := result + '\';
result := result + s [i]
end;
result := PChar (result)
end;
function TExRegSettings.GetExportValue(const valueName: string): string;
var
tp : DWORD;
st, st1 : string;
j, dataLen : Integer;
data : PByte;
begin
result := '';
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
begin
if RegQueryValueEx (fCurrentReg.CurrentKey, PChar (valueName), Nil, @tp, Nil, PDWORD (@dataLen)) = ERROR_SUCCESS then
begin
if valueName = '' then
st := '@='
else
st := Format ('"%s"=', [MakeCStringConst (valueName)]);
case tp of
REG_DWORD :
begin
st1 := LowerCase (Format ('%8.8x', [IntegerValue [valueName]]));
st := st + format ('dword:%s', [st1])
end;
REG_SZ :
st := st + format ('"%s"', [MakeCStringConst (StringValue [valueName])]);
else
begin
if tp = REG_BINARY then
st := st + 'hex:'
else
st := st + format ('hex(%d):', [tp]);
GetMem (data, dataLen);
RegQueryValueEx (fCurrentReg.CurrentKey, PChar (valueName), Nil, @tp, data, @dataLen);
for j := 0 to dataLen - 1 do
begin
st1 := LowerCase (format ('%02.2x', [Byte (PChar (data) [j])]));
if j < dataLen - 1 then
st1 := st1 + ',';
if Length (st) + Length (st1) >= 77 then
begin
result := result + st + st1 + '\' + #13#10;
st := ' ';
end
else
st := st + st1;
end
end
end;
result := result + st;
end
end;
end;
function TExRegSettings.GetIntegerValue(const valueName: string;
deflt: Integer): Integer;
begin
if (CheckIsOpen (true, fAutoReadOnly) = woOpen) and fCurrentReg.ValueExists (valueName) then
result := fCurrentReg.ReadInteger(valueName)
else
result := deflt
end;
procedure TExRegSettings.GetSectionNames(names: TStrings);
begin
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
fCurrentReg.GetKeyNames(names)
else
names.Clear;
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.GetStringValue |
| |
| Return a string value, or the default if the value doesn't exist |
*----------------------------------------------------------------------*)
function TExRegSettings.GetStrings(const valueName: string;
sl: TStrings): Integer;
var
valueType, rv : DWORD;
valueLen : DWORD;
p, buffer : PChar;
begin
sl.Clear;
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
begin
rv := RegQueryValueEx (CurrentKey, PChar (valueName), Nil, @valueType, Nil, @valueLen);
if rv = ERROR_SUCCESS then
if valueType = REG_MULTI_SZ then
begin
GetMem (buffer, valueLen);
try
RegQueryValueEx (CurrentKey, PChar (valueName), Nil, Nil, PBYTE (buffer), @valueLen);
p := buffer;
while p^ <> #0 do
begin
sl.Add (p);
Inc (p, lstrlen (p) + 1)
end
finally
FreeMem (buffer)
end
end
else
raise EExSettings.Create ('String list expected')
else
raise EExSettings.Create ('Unable read MULTI_SZ value');
end;
result := sl.Count
end;
function TExRegSettings.GetStringValue(const valueName, deflt: string): string;
begin
if (CheckIsOpen (true, fAutoReadOnly) = woOpen) and fCurrentReg.ValueExists (valueName) then
result := fCurrentReg.ReadString(valueName)
else
result := deflt
end;
procedure TExRegSettings.GetValueNames(names: TStrings);
begin
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
fCurrentReg.GetValueNames (names)
else
names.Clear;
end;
function TExRegSettings.HasSection(const ASection: string): boolean;
begin
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
result := fCurrentReg.KeyExists(ASection)
else
result := false
end;
function TExRegSettings.HasValue(const AValue: string): boolean;
begin
if CheckIsOpen (true, fAutoReadOnly) = woOpen then
result := fCurrentReg.ValueExists (AValue)
else
result := false
end;
(*----------------------------------------------------------------------*
| procedure TExRegSettings.InternalSetStringValue |
| |
| Set an integer value. |
*----------------------------------------------------------------------*)
procedure TExRegSettings.InternalSetIntegerValue(const valueName: string;
value: Integer);
begin
if CheckIsOpen (false, fAutoReadOnly) = woOpen then
fCurrentReg.WriteInteger(valueName, value)
else
raise EExSettings.Create ('Unable to write value ' + valueName);
end;
(*----------------------------------------------------------------------*
| procedure TExRegSettings.InternalSetStringValue |
| |
| Set a string value. |
*----------------------------------------------------------------------*)
procedure TExRegSettings.InternalSetStringValue(const valueName, value: string);
begin
if CheckIsOpen (false, fAutoReadOnly) = woOpen then
fCurrentReg.WriteString(valueName, value)
else
raise EExSettings.Create ('Unable to write value ' + valueName);
end;
(*----------------------------------------------------------------------*
| function TExRegSettings.IsOpen |
| |
| Return true if the object is Open |
*----------------------------------------------------------------------*)
function TExRegSettings.IsOpen: boolean;
begin
result := Assigned (fCurrentReg)
end;
(*----------------------------------------------------------------------*
| procedure TExRegSettings.Open |
| |
| Open the registry key. Create it if it doesn't exist |
*----------------------------------------------------------------------*)
function TExRegSettings.Open(readOnly : boolean) : boolean;
var
rootKey : HKEY;
section : string;
rights : DWORD;
begin
inherited Open (readOnly);
Close;
fAutoReadOnly := readOnly;
if fParentKey = 0 then
begin
section := ApplicationKeyName;
if SettingsType = stMachine then
rootKey := HKEY_LOCAL_MACHINE
else
rootKey := HKEY_CURRENT_USER
end
else
begin
rootKey := fParentKey;
section := fChildSection
end;
if readOnly then
rights := KEY_READ
else
rights := KEY_READ or KEY_WRITE;
fCurrentReg := TRegistry.Create (rights);
fCurrentReg.RootKey := rootKey;
result := fCurrentReg.OpenKey(section, not readOnly)
end;
procedure TExRegSettings.RenameSection(const oldValue, newValue: string);
begin
if CheckIsOpen (false, fAutoReadOnly) = woOpen then
fCurrentReg.MoveKey(oldValue, newValue, true);
end;
procedure TExRegSettings.RenameValue(const oldValue, newValue: string);
begin
if CheckIsOpen (false, fAutoReadOnly) = woOpen then
fCurrentReg.RenameValue(oldValue, newValue);
end;
(*----------------------------------------------------------------------*
| procedure TExRegSettings.SetSection |
| |
| Override the 'Set' method for the Section property |
*----------------------------------------------------------------------*)
procedure TExRegSettings.SetSection(const SectionPath: string);
begin
Close; // Close the registry
if fParentKey <> 0 then
fChildSection := SectionPath
else
inherited
end;
procedure TExRegSettings.SetStrings(const valueName: string; sl: TStrings);
var
p, buffer : PChar;
i : Integer;
size : DWORD;
begin
if CheckIsOpen (false, fAutoReadOnly) <> woOpen then
raise EExSettings.Create ('Unable to write MULTI_SZ value');
size := 0;
for i := 0 to sl.Count - 1 do
Inc (size, Length (sl [i]) + 1);
Inc (size);
GetMem (buffer, size);
try
p := buffer;
for i := 0 to sl.count - 1 do
begin
lstrcpy (p, PChar (sl [i]));
Inc (p, lstrlen (p) + 1)
end;
p^ := #0;
SetLastError (RegSetValueEx (CurrentKey, PChar (valueName), 0, REG_MULTI_SZ, buffer, size));
if GetLastError <> ERROR_SUCCESS then
raise EExSettings.Create ('Unable to write MULTI_SZ value');
finally
FreeMem (buffer)
end
end;
end. |
{$MODE OBJFPC}
program Tasks;
const
{$IFDEF ONLINE_JUDGE}
{$R-,Q-,S-,I-}
{$OPTIMIZATION LEVEL2}
{$INLINE ON}
InputFile = '';
OutputFile = '';
{$ELSE}
{$INLINE OFF}
InputFile = 'Input.txt';
OutputFile = 'Output.txt';
{$ENDIF}
maxMN = 500;
var
fi, fo: TextFile;
n, m, k, modulo: Integer;
count: array[1..maxMN] of Integer;
f: array[0..maxMN, 0..maxMN] of Int64;
procedure Enter;
var
i, j: Integer;
ch: Char;
begin
ReadLn(fi, n, m, modulo);
FillChar(count, SizeOf(count), 0);
k := n;
for i := 1 to m do
begin
for j := 1 to n do
begin
Read(fi, ch);
if ch = '1' then
begin
if count[j] = 0 then Dec(k);
Inc(count[j]);
end;
end;
ReadLn(fi);
end;
m := n - m;
FillChar(f, SizeOf(f), $FF); //-1
end;
function GetF(m, k: Integer): Int64;
var
k1: Integer;
temp1, temp2, temp3: Int64;
begin
if (m < 0) or (k < 0) then Exit(0);
if f[m, k] <> -1 then Exit(f[m, k]);
if m = 0 then
begin
if k = 0 then f[m, k] := 1 mod modulo
else f[m, k] := 0;
end
else
begin
k1 := 2 * m - 2 * k;
if k1 < 2 then
temp1 := 0
else
temp1 := k1 * (k1 - 1) div 2 * GetF(m - 1, k) mod modulo;
if (k1 < 1) or (k < 1) then
temp2 := 0
else
temp2 := k * k1 * GetF(m - 1, k - 1) mod modulo;
if k < 2 then
temp3 := 0
else
temp3 := k * (k - 1) div 2 * GetF(m - 1, k - 2) mod modulo;
f[m, k] := (temp1 + temp2 + temp3) mod modulo;
end;
Result := f[m, k];
end;
begin
AssignFile(fi, InputFile); Reset(fi);
AssignFile(fo, OutputFile); Rewrite(fo);
try
Enter;
WriteLn(fo, GetF(m, k));
finally
CloseFile(fi); CloseFile(fo);
end;
end.
|
unit BoundingBoxTimingTest;
{$mode objfpc}{$H+}
{$CODEALIGN LOCALMIN=16}
interface
uses
Classes, SysUtils, fpcunit, testregistry, BaseTimingTest, BaseTestCase,
native, BZVectorMath, BZVectorMathEx, BZProfiler;
type
{ TBoundingBoxTimingTest }
TBoundingBoxTimingTest = class(TVectorBaseTimingTest)
protected
{$CODEALIGN RECORDMIN=16}
nbb1,nbb2,nbb3: TNativeBZBoundingBox;
abb1,abb2,abb3: TBZBoundingBox;
{$CODEALIGN RECORDMIN=4}
procedure Setup; override;
published
procedure TestTimeOpAdd;
procedure TestTimeOpAddVector;
procedure TestTimeOpEquality;
procedure TestTimeTransform;
procedure TestTimeMinX;
procedure TestTimeMaxX;
procedure TestTimeMinY;
procedure TestTimeMaxY;
procedure TestTimeMinZ;
procedure TestTimeMaxZ;
end;
implementation
{ TBoundingBoxTimingTest }
procedure TBoundingBoxTimingTest.Setup;
begin
inherited Setup;
Group := rgBBox;
nbb1.Create(nt1);
abb1.Create(vt1);
nbb2.Create(nt2);
abb2.Create(vt2);
end;
procedure TBoundingBoxTimingTest.TestTimeOpAdd;
begin
TestDispName := 'BBox Op Add';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to IterationsQuarter do begin nbb3 := nbb1 + nbb2; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to IterationsQuarter do begin abb3 := abb1 + abb2; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeOpAddVector;
begin
TestDispName := 'BBox Op Add Vector';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to IterationsQuarter do begin nbb3 := nbb1 + nt2; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to IterationsQuarter do begin abb3 := abb1 + vt2; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeOpEquality;
begin
TestDispName := 'BBox Op Equality';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to IterationsQuarter do begin nb := nbb1 = nbb1; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to IterationsQuarter do begin nb := abb1 = abb1; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeTransform;
var
nmat: TNativeBZMatrix;
amat: TBZMatrix;
begin
nmat.CreateTranslationMatrix(nt2);
amat.CreateTranslationMatrix(vt2);
TestDispName := 'BBox Trandform';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to IterationsQuarter do begin nbb3 := nbb1.Transform(nmat); end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to IterationsQuarter do begin abb3 := abb1.Transform(amat); end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeMinX;
begin
TestDispName := 'BBox MinX';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to Iterations do begin fs1 := nbb1.MinX; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to Iterations do begin fs2 := abb1.MinX; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeMaxX;
begin
TestDispName := 'BBox MaxX';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to Iterations do begin fs1 := nbb1.MaxX; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to Iterations do begin fs2 := abb1.MaxX; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeMinY;
begin
TestDispName := 'BBox MinY';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to Iterations do begin fs1 := nbb1.MinY; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to Iterations do begin fs2 := abb1.MinY; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeMaxY;
begin
TestDispName := 'BBox MaxY';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to Iterations do begin fs1 := nbb1.MaxY; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to Iterations do begin fs2 := abb1.MaxY; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeMinZ;
begin
TestDispName := 'BBox MinZ';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to Iterations do begin fs1 := nbb1.MinZ; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to Iterations do begin fs2 := abb1.MinZ; end;
GlobalProfiler[1].Stop;
end;
procedure TBoundingBoxTimingTest.TestTimeMaxZ;
begin
TestDispName := 'BBox MaxZ';
GlobalProfiler[0].Clear;
GlobalProfiler[0].Start;
for cnt := 1 to Iterations do begin fs1 := nbb1.MaxZ; end;
GlobalProfiler[0].Stop;
GlobalProfiler[1].Clear;
GlobalProfiler[1].Start;
For cnt:= 1 to Iterations do begin fs2 := abb1.MaxZ; end;
GlobalProfiler[1].Stop;
end;
initialization
RegisterTest(REPORT_GROUP_BBOX, TBoundingBoxTimingTest);
end.
|
unit Main;
{
UNITE = PACKAGE comprenant une seule CLASSE TrMain dérivant de TForm
}
//=============================================================================
interface
// Utilisation d'autres UNITES : PACKAGE (dans les interfaces)---------------
// L'interface contient des Classes et Types définies dans les packages
// listés dans la clause USES.
// Association
uses
SysUtils, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, StrUtils, LResources;
// Déclaration des classes et Types -----------------------------------------
type
TXOPosArray = array [1..3, 1..3] of Integer;
type
{ TfrMain }
TfrMain = class(TForm)
lblCell0: TLabel;
lblCell1: TLabel;
lblCell2: TLabel;
lblCell3: TLabel;
lblCell4: TLabel;
lblCell5: TLabel;
lblCell6: TLabel;
lblCell7: TLabel;
lblCell8: TLabel;
gbScoreBoard: TGroupBox;
rgPlayFirst: TRadioGroup;
lblX: TLabel;
lblMinus: TLabel;
Label1: TLabel;
lblXScore: TLabel;
lblColon: TLabel;
lblOScore: TLabel;
btnNewGame: TButton;
btnResetScore: TButton;
procedure FormCreate(Sender: TObject);
procedure lblCell0Click(Sender: TObject);
procedure btnNewGameClick(Sender: TObject);
procedure btnResetScoreClick(Sender: TObject);
private
procedure Switchplayer;
procedure WinMessage;
public
procedure InitPlayGround;
function CheckWin(iPos : TXOPosArray) : integer;
function Autoplay(Cell : integer):integer;
function GamePlay(xo_Move : Integer) : integer;
end;
//=============================================================================
var
frMain: TfrMain;
iXPos : TXOPosArray;
iOPos : TXOPosArray;
sPlaySign : String;
bGameOver,bwin : Boolean;
iMove : Integer; // nombre de case cochée
iXScore : Integer;
iOScore : Integer;
CellIndexPlay : Integer;
//=============================================================================
implementation
//--------------------------------------------------------------------------
procedure TfrMain.InitPlayGround;
// le plateau est composé de 9 Composants TLabel nommée de 0 à 8 : LblCell0 à LblCell8
// Cette fonction initialise donc le "Caption" à blanc, c'est à dire vide le plateau
// Repèrage entre les composants Tlabel et la matrice fictive 3 X 3 (cf clacul de k)
var
i, j, k: integer;
begin
for i := 1 to 3 do
begin
for j := 1 To 3 do
begin
k:= (i - 1) * 3 + j - 1; // 0 .. 8
TLabel(FindComponent('lblCell' + IntToStr(k))).Caption := '';
iXPos[i, j] := 0;
iOPos[i][j] := 0;
end;
end;
if rgPlayFirst.ItemIndex = 0 then sPlaySign := 'X';
if rgPlayFirst.ItemIndex = 1 then sPlaySign := 'O';
bGameOver := False;
iMove := 0;
end;
//--------------------------------------------------------------------------
// à la création de la forme, initialisation du plateau
procedure TfrMain.FormCreate(Sender: TObject);
begin
iXScore := 0;
iOScore := 0;
InitPlayGround;
end;
//--------------------------------------------------------------------------
// Vérifie si des croix ou des ronds sont allignés
function TfrMain.CheckWin(iPos : TXOPosArray) : Integer;
var
iScore : Integer;
i : Integer;
j : Integer;
begin
Result := -1;
//lignes
iScore := 0;
for i := 1 to 3 do
begin
iScore := 0;
Inc(Result);
for j := 1 To 3 do Inc(iScore, iPos[i,j]);
if iScore = 3 Then Exit
end;//for i
// diagonale gauche?
iScore := 0;
Inc(Result);
for i := 1 to 3 do Inc(iScore, iPos[i,i]);
if iScore = 3 then Exit;
// diagonale droite?
iScore := 0;
Inc(Result);
for i := 1 to 3 do Inc(iScore, iPos[i,4-i]);
if iScore = 3 then Exit;
//colonnes
for i := 1 to 3 do
begin
iScore := 0;
Inc(Result);
for j := 1 to 3 do Inc(iScore, iPos[j,i]);
if iScore = 3 then Exit;
end;//for i
Result := -1;
end;
//--------------------------------------------------------------------------
// affiche les messages à l'écran en cas de gain ou de partie terminée
procedure TfrMain.WinMessage;
begin
if bwin or bgameover then switchplayer();
if bwin then ShowMessage(sPlaySign + ' - Gagné!');
if bgameover then
ShowMessage(sPlaySign + ' - C''est fini!');
end;
//--------------------------------------------------------------------------
// Fonction de vérification du gain et de positionnement des valeurs du
// tableau de la matrice de jeu
function TfrMain.GamePlay(xo_Move : Integer):integer;
var
x, y : 1..3;
iWin : integer;
begin
Result := -10;
Inc(iMove);
x := (xo_Move Div 3) + 1;
y := (xo_Move Mod 3) + 1;
if sPlaySign = 'O' then
begin
iOPos[x,y] := 1;
iWin := CheckWin(iOPos);
end
else
begin
iXPos[x,y] := 1;
iWin := CheckWin(iXPos);
end;
TLabel(FindComponent('lblCell' + IntToStr(xo_Move))).Caption := sPlaySign;
Result := iWin;
bwin := false;
if iWin >= 0 then
begin
bGameOver := True;
//victoire
bwin := true;
if sPlaySign = 'X' then
begin
iXScore := iXScore + 1;
lblXScore.Caption := IntToStr(iXScore);
end
else
begin
iOScore := iOScore + 1;
lblOScore.Caption := IntToStr(iOScore);
end;
// ShowMessage(sPlaySign + ' - Gagné!');
end;
if (iMove = 9) AND (bGameOver = False) Then
begin
// ShowMessage('Fini');
bGameOver := True
end;
end;
//--------------------------------------------------------------------------
// Switch entre les joueurs
procedure TfrMain.Switchplayer;
begin
if sPlaySign = 'O' Then
sPlaySign := 'X'
else
sPlaySign := 'O';
end ;
//--------------------------------------------------------------------------
// Procédure associée au click sur une des cases
procedure TfrMain.lblCell0Click(Sender: TObject);
var
iWin : integer;
CellIndex : 0..8;
begin
if bGameOver = True Then Exit;
if TLabel(Sender).Caption <> '' then
begin
ShowMessage('Cellule occupée!');
Exit;
end;
CellIndex := StrToInt(RightStr(TLabel(Sender).Name,1));
iWin := GamePlay(CellIndex);
Switchplayer() ;
AutoPlay(CellIndex);
WinMessage();
end;
//--------------------------------------------------------------------------
// Procédure associée au bouton Nouvelle partie
procedure TfrMain.btnNewGameClick(Sender: TObject);
begin
if bGameOver = False then
begin
if MessageDlg('Fin du jeu', mtConfirmation, mbOKCancel,0) = mrCancel then Exit;
end;
InitPlayGround;
end;
//--------------------------------------------------------------------------
// Procédure associée au bouton reset des scores
procedure TfrMain.btnResetScoreClick(Sender: TObject);
begin
if MessageDlg('Reset des scores?',mtConfirmation,mbOKCancel,0) = mrCancel then Exit;
iXScore := 0;
iOScore := 0;
lblXScore.Caption := IntToStr(iXScore);
lblOScore.Caption := IntToStr(iOScore);
end;
//--------------------------------------------------------------------------
// function de jeu automatique heuristique 1
function TfrMain.Autoplay(Cell : integer):integer ;
var
Component : Tcomponent;
Base : integer;
EndPlay : Boolean;
begin
EndPlay := false;
Base := Cell;
if not (bgameover) then
begin
repeat
base := base +1;
if Base >=9 then Base :=0;
Component :=FindComponent('lblCell' + IntToStr(Base));
if TLabel(Component).Caption = ''
then begin
CellIndexPlay := Base;
EndPlay := true;
end
else EndPlay := False;
until EndPlay =true;
result := CellIndexPlay;
GamePlay(CellIndexPlay);
Switchplayer();
end;
end;
//--------------------------------------------------------------------------
// Initialization du package (unité)
initialization
{$i Main.lrs}
end.
|
unit RaceBet;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils,
RaceResults;
type
TBetType = (WinBet, PlaceBet, ShowBet, QuinellaBet, ExactaBet, TrifectaBet);
TRaceBet = class(TCollectionItem)
private
fBetType: TBetType;
fHorseNumber1: integer;
fHorseNumber2: integer;
fHorseNumber3: integer;
fPending: boolean;
fPayoff: currency;
public
class function Win(horse: integer; bets: TCollection): TRaceBet; static;
class function Place(horse: integer; bets: TCollection): TRaceBet; static;
class function Show(horse: integer; bets: TCollection): TRaceBet; static;
class function Quinella(horse1: integer; horse2: integer; bets: TCollection): TRaceBet; static;
class function Exacta(horse1: integer; horse2: integer; bets: TCollection): TRaceBet; static;
class function Trifecta(horse1: integer; horse2: integer; horse3: integer; bets: TCollection): TRaceBet;
property Pending: boolean read fPending;
function FormatDisplayString(): string;
function ApplyRaceResults(TheResults: TRaceResults): currency;
end;
implementation
class function TRaceBet.Win(horse: integer; bets: TCollection): TRaceBet;
var
bet: TRaceBet;
begin
bet := TRaceBet(bets.Add);
bet.fPending := true;
bet.fBetType := WinBet;
bet.fHorseNumber1 := horse;
Result := bet;
end;
class function TRaceBet.Place(horse: integer; bets: TCollection): TRaceBet;
var
bet: TRaceBet;
begin
bet := TRaceBet(bets.Add);
bet.fPending := true;
bet.fBetType := PlaceBet;
bet.fHorseNumber1 := horse;
Result := bet;
end;
class function TRaceBet.Show(horse: integer; bets: TCollection): TRaceBet;
var
bet: TRaceBet;
begin
bet := TRaceBet(bets.Add);
bet.fPending := true;
bet.fBetType := ShowBet;
bet.fHorseNumber1 := horse;
Result := bet;
end;
class function TRaceBet.Quinella(horse1: integer; horse2: integer; bets: TCollection): TRaceBet;
var
bet: TRaceBet;
begin
bet := TRaceBet(bets.Add);
bet.fPending := true;
bet.fBetType := QuinellaBet;
if (horse1 < horse2) then begin
bet.fHorseNumber1 := horse1;
bet.fHorseNumber2 := horse2;
end else begin
bet.fHorseNumber1 := horse2;
bet.fHorseNumber2 := horse1;
end;
Result := bet;
end;
class function TRaceBet.Exacta(horse1: integer; horse2: integer; bets: TCollection): TRaceBet;
var
bet: TRaceBet;
begin
bet := TRaceBet(bets.Add);
bet.fPending := true;
bet.fBetType := ExactaBet;
bet.fHorseNumber1 := horse1;
bet.fHorseNumber2 := horse2;
Result := bet;
end;
class function TRaceBet.Trifecta(horse1: integer; horse2: integer; horse3: integer; bets: TCollection): TRaceBet;
var
bet: TRaceBet;
begin
bet := TRaceBet(bets.Add);
bet.fPending := true;
bet.fBetType := TrifectaBet;
bet.fHorseNumber1 := horse1;
bet.fHorseNumber2 := horse2;
bet.fHorseNumber3 := horse3;
Result := bet;
end;
function TRaceBet.FormatDisplayString(): string;
begin
if (fPending) then begin
if (fBetType = WinBet) then begin
Result :=
Format(
'$2 Win %d',
[fHorseNumber1]);
end else if (fBetType = PlaceBet) then begin
Result :=
Format(
'$2 Place %d',
[fHorseNumber1]);
end else if (fBetType = ShowBet) then begin
Result :=
Format(
'$2 Show %d',
[fHorseNumber1]);
end else if (fBetType = QuinellaBet) then begin
Result :=
Format(
'$2 Quinella %d / %d',
[fHorseNumber1, fHorseNumber2]);
end else if (fBetType = ExactaBet) then begin
Result :=
Format(
'$2 Exacta %d / %d',
[fHorseNumber1, fHorseNumber2]);
end else if (fBetType = TrifectaBet) then begin
Result :=
Format(
'$2 Trifecta %d / %d / %d',
[fHorseNumber1, fHorseNumber2, fHorseNumber3]);
end;
end else begin
if (fBetType = WinBet) then begin
Result :=
Format(
'$2 Win %d = %m',
[fHorseNumber1, fPayoff]);
end else if (fBetType = PlaceBet) then begin
Result :=
Format(
'$2 Place %d = %m',
[fHorseNumber1, fPayoff]);
end else if (fBetType = ShowBet) then begin
Result :=
Format(
'$2 Show %d = %m',
[fHorseNumber1, fPayoff]);
end else if (fBetType = QuinellaBet) then begin
Result :=
Format(
'$2 Quinella %d / %d = %m',
[fHorseNumber1, fHorseNumber2, fPayoff]);
end else if (fBetType = ExactaBet) then begin
Result :=
Format(
'$2 Exacta %d / %d = %m',
[fHorseNumber1, fHorseNumber2, fPayoff]);
end else if (fBetType = TrifectaBet) then begin
Result :=
Format(
'$2 Trifecta %d / %d / %d = %m',
[fHorseNumber1, fHorseNumber2, fHorseNumber3, fPayoff]);
end;
end;
end;
function TRaceBet.ApplyRaceResults(TheResults: TRaceResults): currency;
begin
if (fPending) then begin
fPayoff := 0;
fPending := false;
if (fBetType = WinBet) then begin
if (TheResults.WinHorseIndex = fHorseNumber1) then begin
fPayoff := TheResults.WinHorsePayoffWin;
end;
end else if (fBetType = PlaceBet) then begin
if (TheResults.WinHorseIndex = fHorseNumber1) then begin
fPayoff := TheResults.WinHorsePayoffPlace;
end else if (TheResults.PlaceHorseIndex = fHorseNumber1) then begin
fPayoff := TheResults.PlaceHorsePayoffPlace;
end;
end else if (fBetType = ShowBet) then begin
if (TheResults.WinHorseIndex = fHorseNumber1) then begin
fPayoff := TheResults.WinHorsePayoffShow;
end else if (TheResults.PlaceHorseIndex = fHorseNumber1) then begin
fPayoff := TheResults.PlaceHorsePayoffShow;
end else if (TheResults.ShowHorseIndex = fHorseNumber1) then begin
fPayoff := TheResults.ShowHorsePayoff;
end;
end else if (fBetType = QuinellaBet) then begin
if ((TheResults.WinHorseIndex = fHorseNumber1) and
(TheResults.PlaceHorseIndex = fHorseNumber2)) then begin
fPayoff := TheResults.QuinellaPayoff;
end else if ((TheResults.WinHorseIndex = fHorseNumber2) and
(TheResults.PlaceHorseIndex = fHorseNumber1)) then begin
fPayoff := TheResults.QuinellaPayoff;
end;
end else if (fBetType = ExactaBet) then begin
if ((TheResults.WinHorseIndex = fHorseNumber1) and
(TheResults.PlaceHorseIndex = fHorseNumber2)) then begin
fPayoff := TheResults.ExactaPayoff;
end;
end else if (fBetType = TrifectaBet) then begin
if ((TheResults.WinHorseIndex = fHorseNumber1) and
(TheResults.PlaceHorseIndex = fHorseNumber2) and
(TheResults.ShowHorseIndex = fHorseNumber3)) then begin
fPayoff := TheResults.TrifectaPayoff;
end;
end;
Result := fPayoff;
end else begin
Result := 0;
end;
end;
end.
|
unit Rice.MongoFramework.GenericDao;
interface
Uses
System.Rtti,
System.TypInfo,
System.SysUtils,
REST.JSON,
Generics.Collections,
Rice.MongoFramework.Connection,
Rice.MongoFramework.CustomAtributeEntity,
Rice.MongoFramework.ObjectConversion,
MongoWire.bsonUtils,
MongoWire.bsonDoc,
MongoWire.MongoWire;
type
TGenericDAO = class
strict private
class function GetDocumentName<T: class>(pObj: T): string;
class function GetDocumentIdValue<T: class>(pObj: T): string;
public
// Crud Operations
class procedure SaveOrUpdate<T: class>(pObj: T);
class procedure Insert<T: class>(pObj: T);
class procedure Update<T: class>(pObj: T);
class procedure Delete<T: class>(const pID: TValue);
class function GetAll<T: class, constructor>(): TObjectList<T>;
class function GetByID<T: class, constructor>(const pID: TValue): T;
end;
implementation
class function TGenericDAO.GetDocumentIdValue<T>(pObj: T): string;
var
vContexto: TRttiContext;
vTypObj: TRttiType;
vProp: TRttiProperty;
Atributo: TCustomAttribute;
begin
Result := '';
vContexto := TRttiContext.Create;
try
vTypObj := vContexto.GetType(TObject(pObj).ClassInfo);
for vProp in vTypObj.GetProperties do
begin
for Atributo in vProp.GetAttributes do
begin
if Atributo is IdField then
begin
Exit(vProp.GetValue(TObject(pObj)).AsString);
end;
end;
end;
finally
vContexto.Free;
end;
end;
class function TGenericDAO.GetDocumentName<T>(pObj: T): String;
var
vContexto: TRttiContext;
vTypObj: TRttiType;
Atributo: TCustomAttribute;
begin
vContexto := TRttiContext.Create;
try
vTypObj := vContexto.GetType(TObject(pObj).ClassInfo);
for Atributo in vTypObj.GetAttributes do
begin
if Atributo is DocumentName then
Exit(DocumentName(Atributo).Name);
end;
finally
vContexto.Free;
end;
end;
class procedure TGenericDAO.Insert<T>(pObj: T);
begin
TConnectionMongo.GetConnection().Insert(GetDocumentName(pObj),
TObjectToBson.Convert(pObj));
end;
class procedure TGenericDAO.SaveOrUpdate<T>(pObj: T);
begin
if (GetDocumentIdValue(pObj) <> EmptyStr) then
TGenericDAO.Update<T>(pObj)
else
TGenericDAO.Insert<T>(pObj);
end;
class procedure TGenericDAO.Delete<T>(const pID: TValue);
var
vRttiContext: TRttiContext;
vRttiType: TRttiType;
vObject: TObject;
begin
vRttiContext := TRttiContext.Create;
vRttiType := vRttiContext.GetType(T);
vObject := vRttiType.AsInstance.MetaclassType.Create;
try
TConnectionMongo.GetConnection().Delete(GetDocumentName(vObject),
BSON(['id', pID.ToString]));
finally
vRttiContext.Free;
vObject.Free;
end;
end;
class procedure TGenericDAO.Update<T>(pObj: T);
begin
TConnectionMongo.GetConnection().Update(GetDocumentName(pObj),
BSON(['id', GetDocumentIdValue(pObj)]), TObjectToBson.Convert(pObj));
end;
class function TGenericDAO.GetAll<T>(): TObjectList<T>;
var
WireQuery: TMongoWireQuery;
vDocument: IBSONDocument;
vRttiContext: TRttiContext;
vRttiType: TRttiType;
vObject: TObject;
begin
Result := TObjectList<T>.Create();
vRttiContext := TRttiContext.Create;
vRttiType := vRttiContext.GetType(T);
vObject := vRttiType.AsInstance.MetaclassType.Create;
vDocument := BSON;
WireQuery := TMongoWireQuery.Create(TConnectionMongo.GetConnection());
try
WireQuery.Query(GetDocumentName(vObject), nil);
while WireQuery.Next(vDocument) do
Result.Add(TJson.JsonToObject<T>(BsonToJson(vDocument)));
finally
FreeAndNil(WireQuery);
vRttiContext.Free;
vObject.Free;
end;
end;
class function TGenericDAO.GetByID<T>(const pID: TValue): T;
var
vRttiContext: TRttiContext;
vRttiType: TRttiType;
vObject: TObject;
begin
vRttiContext := TRttiContext.Create;
vRttiType := vRttiContext.GetType(T);
vObject := vRttiType.AsInstance.MetaclassType.Create;
try
Result := TJson.JsonToObject<T>(BsonToJson(TConnectionMongo.GetConnection()
.get(GetDocumentName(vObject), BSON(['id', pID.ToString]))));
finally
vRttiContext.Free;
vObject.Free;
end;
end;
end.
|
unit uModel;
{*******************************************************************************
Project link : https://https://github.com/gilmarcarvalho/DemoRESTBase64
Created In : 2019-09-04 13:18:10
Created By : Gilmar Alves de Carvalho - (linkedin.com/in/gilmar-carvalho)
*******************************************************************************}
interface
uses system.generics.collections, system.classes,system.json,rest.json,
System.NetEncoding,uMyUtils, system.sysutils;
type
{$METHODINFO ON}
TPessoa=class(TComponent)
private
FCodigo:integer;
FNome:string;
FImagem:string;
Procedure SetCodigo(value:integer);
procedure SetNome(value:string);
procedure SetImagem(value:string);
public
constructor Create(awoner: tcomponent) ; override;
destructor Destroy; override;
property Codigo:integer read FCodigo write SetCodigo;
property Nome:string read FNome write SetNome;
property Imagem:string read FImagem write SetImagem;
Function Validar:string;
Function list:TJSONValue;
end;
{$METHODINFO OFF}
implementation
{TPessoa}
constructor TPessoa.create(awoner: tcomponent) ;
begin
//
end;
destructor TPessoa.Destroy;
begin
inherited;
end;
procedure TPessoa.SetCodigo(value: integer);
begin
FCodigo:=value;
end;
procedure TPessoa.SetNome(value: string);
begin
FNome:=value;
end;
procedure TPessoa.SetImagem(value: string);
begin
FImagem:=value;
end;
function TPessoa.Validar;
begin
result:=JPegToBase64('image.jpg');;
end;
function TPessoa.list:TJSONValue;
var jo:TJSONObject;jArr:TJSONArray;
begin
jArr:=tJSONArray.Create;
//1º registro
jo:=tjsonobject.Create;
jo.AddPair('Codigo',TJSONNumber.Create(1));
jo.AddPair('Nome','Hommer');
jo.AddPair('Imagem',JPegToBase64('image1.jpg'));
Jarr.AddElement(jo);
//2º registro
jo:=tjsonobject.Create;
jo.AddPair('Codigo',TJSONNumber.Create(2));
jo.AddPair('Nome','Marge');
jo.AddPair('Imagem',JPegToBase64('image2.jpg'));
Jarr.AddElement(jo);
result:=jArr;
end;
end.
|
{******************************************************************************}
{ pauloalvis@hotmail.com | github.com/pauloalvis }
{******************************************************************************}
unit pra.commom.interfaces;
interface
uses
System.Classes,
Vcl.Forms,
Vcl.ExtCtrls,
Data.DB,
PraButtonStyle;
type
iPraMessageDlgWeb = interface
['{459FC9BF-C2AA-47AD-86BE-929745430506}']
procedure MessageDlgSuccess(const pText: String);
procedure MessageDlgInformation(const pText: String);
procedure MessageDlgWarning(const pText: String);
procedure MessageDlgError(const pText: String);
function MessageDlgConfirmation(const pText: String): Boolean;
end;
implementation
end.
|
(*В) Напишите три функции для подсчета:
· строк в файле;
· видимых символов в файле;
· всех символов файла (фактический объём файла).
Функции принимают один параметр - ссылку на файловую переменную.
Напишите программу, определяющую упомянутые характеристики файла.*)
var
f: text;
function Lines(var f: text): integer;
var
res: integer;
begin
res := 0;
Reset(f);
while not Eof(f) do begin
Readln(f);
res := res + 1;
end;
Lines := res;
end;
function VisChars(var f: text): integer;
var
res: integer;
// ch: char;
s: string;
begin
res := 0;
Reset(f);
while not Eof(f) do begin
// Read(f, ch);
// if Ord(ch) >= 32 then
// res := res + 1;
Readln(f, s);
res := res + Length(s);
end;
VisChars := res;
end;
function Chars(var f: text): integer;
var
res: integer;
ch: char;
begin
res := 0;
Reset(f);
while not Eof(f) do begin
Read(f, ch);
res := res + 1;
end;
Chars := res;
end;
begin
Assign(f, 'text.txt');
Writeln('Строк в файле: ', Lines(f));
Writeln('Видимых символов в файле: ', VisChars(f));
Writeln('Всех символов в файле: ', Chars(f));
Close(f);
end.
|
// ************************************************************************ //
// The types declared in this file were generated from data read from the
// WSDL File described below:
// WSDL : http://developer.ebay.com/webservices/latest/eBaySvc.wsdl
// Encoding : UTF-8
// Codegen : [wfDebug,wfUseSerializerClassForAttrs]
// Version : 1.0
// (27/11/2007 23:14:43 - 16.03.2006)
// ************************************************************************ //
unit eBaySvc;
interface
uses InvokeRegistry, SOAPHTTPClient, Types, XSBuiltIns;
type
// ************************************************************************ //
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to predefined/known XML or Borland types; however, they could also
// indicate incorrect WSDL documents that failed to declare or import a schema type.
// ************************************************************************ //
// !:string - "http://www.w3.org/2001/XMLSchema"
// !:int - "http://www.w3.org/2001/XMLSchema"
// !:dateTime - "http://www.w3.org/2001/XMLSchema"
// !:boolean - "http://www.w3.org/2001/XMLSchema"
// !:token - "http://www.w3.org/2001/XMLSchema"
// !:duration - "http://www.w3.org/2001/XMLSchema"
// !:long - "http://www.w3.org/2001/XMLSchema"
// !:double - "urn:ebay:apis:eBLBaseComponents"
// !:float - "http://www.w3.org/2001/XMLSchema"
// !:anyURI - "http://www.w3.org/2001/XMLSchema"
// !:boolean - "urn:ebay:apis:eBLBaseComponents"
// !:string - "urn:ebay:apis:eBLBaseComponents"
// !:decimal - "urn:ebay:apis:eBLBaseComponents"
// !:time - "http://www.w3.org/2001/XMLSchema"
// !:decimal - "http://www.w3.org/2001/XMLSchema"
// !:double - "http://www.w3.org/2001/XMLSchema"
// !:int - "urn:ebay:apis:eBLBaseComponents"
// !:base64Binary - "urn:ebay:apis:eBLBaseComponents"
UserIdPasswordType = class; { "urn:ebay:apis:eBLBaseComponents" }
CustomSecurityHeaderType = class; { "urn:ebay:apis:eBLBaseComponents"[H] }
PaymentDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
DistanceType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingDesignerType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseStatusType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExternalProductIDType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingCheckoutRedirectPreferenceType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddressType = class; { "urn:ebay:apis:eBLBaseComponents" }
BuyerProtectionDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ValType = class; { "urn:ebay:apis:eBLBaseComponents" }
LookupAttributeType = class; { "urn:ebay:apis:eBLBaseComponents" }
AmountType = class; { "urn:ebay:apis:eBLBaseComponents" }
LiveAuctionDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
BiddingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
VATDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharityType = class; { "urn:ebay:apis:eBLBaseComponents" }
PromotionDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
PromotedItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
CrossPromotionsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
DigitalDeliveryDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
StorefrontType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductListingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressItemRequirementsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExtendedProductFinderIDType = class; { "urn:ebay:apis:eBLBaseComponents" }
LabelType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharacteristicType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharacteristicsSetType = class; { "urn:ebay:apis:eBLBaseComponents" }
CategoryType = class; { "urn:ebay:apis:eBLBaseComponents" }
BuyerType = class; { "urn:ebay:apis:eBLBaseComponents" }
SchedulingInfoType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProStoresDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProStoresCheckoutPreferenceType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeedbackRequirementsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressSellerRequirementsType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharityIDType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharityAffiliationType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharitySellerType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemBidDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
BiddingSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
UserType = class; { "urn:ebay:apis:eBLBaseComponents" }
PromotionalSaleDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellingStatusType = class; { "urn:ebay:apis:eBLBaseComponents" }
SalesTaxType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingServiceOptionsType = class; { "urn:ebay:apis:eBLBaseComponents" }
InternationalShippingServiceOptionsType = class; { "urn:ebay:apis:eBLBaseComponents" }
InsuranceDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
PromotionalShippingDiscountDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
MeasureType = class; { "urn:ebay:apis:eBLBaseComponents" }
CalculatedShippingRateType = class; { "urn:ebay:apis:eBLBaseComponents" }
TaxJurisdictionType = class; { "urn:ebay:apis:eBLBaseComponents" }
DiscountProfileType = class; { "urn:ebay:apis:eBLBaseComponents" }
CalculatedShippingDiscountType = class; { "urn:ebay:apis:eBLBaseComponents" }
FlatShippingDiscountType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
MaximumItemRequirementsType = class; { "urn:ebay:apis:eBLBaseComponents" }
VerifiedUserRequirementsType = class; { "urn:ebay:apis:eBLBaseComponents" }
BuyerRequirementsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ContactHoursDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExtendedContactDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
NameValueListType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeeType = class; { "urn:ebay:apis:eBLBaseComponents" }
MemberMessageType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessagesAAQToBidderRequestContainerType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessagesAAQToBidderResponseContainerType = class; { "urn:ebay:apis:eBLBaseComponents" }
CheckoutStatusType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExternalTransactionType = class; { "urn:ebay:apis:eBLBaseComponents" }
OrderType = class; { "urn:ebay:apis:eBLBaseComponents" }
TransactionStatusType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellingManagerProductDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeedbackInfoType = class; { "urn:ebay:apis:eBLBaseComponents" }
TransactionType = class; { "urn:ebay:apis:eBLBaseComponents" }
RefundType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidApprovalType = class; { "urn:ebay:apis:eBLBaseComponents" }
LiveAuctionApprovalStatusType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaginationType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaginationResultType = class; { "urn:ebay:apis:eBLBaseComponents" }
AdditionalAccountType = class; { "urn:ebay:apis:eBLBaseComponents" }
AccountSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
AccountEntryType = class; { "urn:ebay:apis:eBLBaseComponents" }
AdFormatLeadType = class; { "urn:ebay:apis:eBLBaseComponents" }
MemberMessageExchangeType = class; { "urn:ebay:apis:eBLBaseComponents" }
OfferType = class; { "urn:ebay:apis:eBLBaseComponents" }
ApiAccessRuleType = class; { "urn:ebay:apis:eBLBaseComponents" }
XSLFileType = class; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferType = class; { "urn:ebay:apis:eBLBaseComponents" }
AffiliateTrackingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
CheckoutCompleteRedirectType = class; { "urn:ebay:apis:eBLBaseComponents" }
CheckoutOrderDetailType = class; { "urn:ebay:apis:eBLBaseComponents" }
CartType = class; { "urn:ebay:apis:eBLBaseComponents" }
CartItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
SiteWideCharacteristicsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingDurationReferenceType = class; { "urn:ebay:apis:eBLBaseComponents" }
CategoryFeatureType = class; { "urn:ebay:apis:eBLBaseComponents" }
SiteDefaultsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingTermRequiredDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
DutchBINEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
UserConsentRequiredDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
HomePageFeaturedEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProPackEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
BasicUpgradePackEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ValuePackEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProPackPlusEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
AdFormatEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
DigitalDeliveryEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferCounterEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferAutoDeclineEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalMarketSpecialitySubscriptionDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalMarketRegularSubscriptionDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalMarketPremiumSubscriptionDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalMarketNonSubscriptionDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressPicturesRequiredDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressConditionRequiredDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
MinimumReservePriceDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
TCREnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerContactDetailsEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreInventoryEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SkypeMeTransactionalEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SkypeMeNonTransactionalEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalListingDistancesRegularDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalListingDistancesSpecialtyDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
LocalListingDistancesNonSubscriptionDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdPaymentMethodEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdShippingMethodEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdBestOfferEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdCounterOfferEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdAutoDeclineEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdContactByPhoneEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdContactByEmailEnabledDefintionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SafePaymentRequiredDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdPayPerLeadEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemSpecificsEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaisaPayFullEscrowEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferAutoAcceptEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdAutoAcceptEnabledDefinitionType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeatureDefinitionsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProximitySearchType = class; { "urn:ebay:apis:eBLBaseComponents" }
GroupType = class; { "urn:ebay:apis:eBLBaseComponents" }
SiteLocationType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchLocationType = class; { "urn:ebay:apis:eBLBaseComponents" }
BuyingGuideType = class; { "urn:ebay:apis:eBLBaseComponents" }
BuyingGuideDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
CategoryMappingType = class; { "urn:ebay:apis:eBLBaseComponents" }
CategoryItemSpecificsType = class; { "urn:ebay:apis:eBLBaseComponents" }
CharityInfoType = class; { "urn:ebay:apis:eBLBaseComponents" }
ContextSearchAssetType = class; { "urn:ebay:apis:eBLBaseComponents" }
DescriptionTemplateType = class; { "urn:ebay:apis:eBLBaseComponents" }
ThemeGroupType = class; { "urn:ebay:apis:eBLBaseComponents" }
DisputeResolutionType = class; { "urn:ebay:apis:eBLBaseComponents" }
DisputeMessageType = class; { "urn:ebay:apis:eBLBaseComponents" }
DisputeType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressProductType = class; { "urn:ebay:apis:eBLBaseComponents" }
WishListEntryType = class; { "urn:ebay:apis:eBLBaseComponents" }
WishListType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeedbackDetailType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeedbackSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
FeedbackPeriodType = class; { "urn:ebay:apis:eBLBaseComponents" }
AverageRatingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetRecommendationsRequestContainerType = class; { "urn:ebay:apis:eBLBaseComponents" }
SIFFTASRecommendationsType = class; { "urn:ebay:apis:eBLBaseComponents" }
AttributeRecommendationsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemSpecificsRecommendationsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingAnalyzerRecommendationsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingTipMessageType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingTipFieldType = class; { "urn:ebay:apis:eBLBaseComponents" }
ListingTipType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductInfoType = class; { "urn:ebay:apis:eBLBaseComponents" }
PricingRecommendationsType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetRecommendationsResponseContainerType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaginatedTransactionArrayType = class; { "urn:ebay:apis:eBLBaseComponents" }
LiveAuctionBidType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidderDetailType = class; { "urn:ebay:apis:eBLBaseComponents" }
ScheduleType = class; { "urn:ebay:apis:eBLBaseComponents" }
LiveAuctionCatalogType = class; { "urn:ebay:apis:eBLBaseComponents" }
ASQPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesFolderSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesResponseDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesForwardDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesFolderType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesAlertType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesMessageType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemListCustomizationType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyeBaySelectionType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidAssistantListType = class; { "urn:ebay:apis:eBLBaseComponents" }
BuyingSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaginatedItemArrayType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaginatedOrderTransactionArrayType = class; { "urn:ebay:apis:eBLBaseComponents" }
OrderTransactionType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyeBayFavoriteSearchType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyeBayFavoriteSearchListType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyeBayFavoriteSellerType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyeBayFavoriteSellerListType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidGroupItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidGroupType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReminderCustomizationType = class; { "urn:ebay:apis:eBLBaseComponents" }
RemindersType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellingSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
MyeBaySellingSummaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
ApplicationDeliveryPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
NotificationEventPropertyType = class; { "urn:ebay:apis:eBLBaseComponents" }
NotificationEnableType = class; { "urn:ebay:apis:eBLBaseComponents" }
SMSSubscriptionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SummaryEventScheduleType = class; { "urn:ebay:apis:eBLBaseComponents" }
NotificationUserDataType = class; { "urn:ebay:apis:eBLBaseComponents" }
NotificationStatisticsType = class; { "urn:ebay:apis:eBLBaseComponents" }
NotificationDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
MarkUpMarkDownEventType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemTransactionIDType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureManagerPictureDisplayType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureManagerPictureType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureManagerFolderType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureManagerDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureManagerSubscriptionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchAttributesType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductSearchType = class; { "urn:ebay:apis:eBLBaseComponents" }
DataElementSetType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductFinderConstraintType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductFamilyType = class; { "urn:ebay:apis:eBLBaseComponents" }
ResponseAttributeSetType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductSearchResultType = class; { "urn:ebay:apis:eBLBaseComponents" }
ProductSearchPageType = class; { "urn:ebay:apis:eBLBaseComponents" }
HistogramEntryType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviewType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviewDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
CatalogProductType = class; { "urn:ebay:apis:eBLBaseComponents" }
PromotionRuleType = class; { "urn:ebay:apis:eBLBaseComponents" }
PromotionalSaleType = class; { "urn:ebay:apis:eBLBaseComponents" }
AuthenticationEntryType = class; { "urn:ebay:apis:eBLBaseComponents" }
PriceRangeFilterType = class; { "urn:ebay:apis:eBLBaseComponents" }
UserIdFilterType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchLocationFilterType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchStoreFilterType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
RequestCategoriesType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidRangeType = class; { "urn:ebay:apis:eBLBaseComponents" }
DateType = class; { "urn:ebay:apis:eBLBaseComponents" }
TicketDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
SpellingSuggestionType = class; { "urn:ebay:apis:eBLBaseComponents" }
SearchResultItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpansionArrayType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressHistogramDomainDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressHistogramProductType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressHistogramAisleType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressHistogramDepartmentType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerPaymentType = class; { "urn:ebay:apis:eBLBaseComponents" }
CalculatedHandlingDiscountType = class; { "urn:ebay:apis:eBLBaseComponents" }
FlatRateInsuranceRangeCostType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingInsuranceType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreLogoType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreColorType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreFontType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreColorSchemeType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreThemeType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreCustomCategoryType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreCustomListingHeaderLinkType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreCustomListingHeaderType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreCustomPageType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreThemeArrayType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreSubscriptionType = class; { "urn:ebay:apis:eBLBaseComponents" }
StoreVacationPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
StorePreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
SuggestedCategoryType = class; { "urn:ebay:apis:eBLBaseComponents" }
DisputeFilterCountType = class; { "urn:ebay:apis:eBLBaseComponents" }
BidderNoticePreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
CrossPromotionPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerPaymentPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerFavoriteItemPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
EndOfAuctionEmailPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
ExpressPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
CalculatedShippingPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
FlatShippingPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
CombinedPaymentPreferencesType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReasonCodeDetailType = class; { "urn:ebay:apis:eBLBaseComponents" }
VeROSiteDetailType = class; { "urn:ebay:apis:eBLBaseComponents" }
VeROReportedItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
WantItNowPostType = class; { "urn:ebay:apis:eBLBaseComponents" }
CountryDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
CurrencyDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
DispatchTimeMaxDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
PaymentOptionDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
RegionDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingLocationDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingServiceDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
SiteDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
URLDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
TimeZoneDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemSpecificDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
RegionOfOriginDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingPackageDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
ShippingCarrierDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
UnitOfMeasurementType = class; { "urn:ebay:apis:eBLBaseComponents" }
ItemRatingDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
Base64BinaryType = class; { "urn:ebay:apis:eBLBaseComponents" }
PictureSetMemberType = class; { "urn:ebay:apis:eBLBaseComponents" }
SiteHostedPictureDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
VeROReportItemType = class; { "urn:ebay:apis:eBLBaseComponents" }
BotBlockRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AbstractRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
VeROReportItemsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
UploadSiteHostedPicturesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
LeaveFeedbackRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetUserPreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStorePreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStoreCustomPageRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStoreCategoriesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStoreRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetShippingDiscountProfilesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerListRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerTransactionsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSearchResultsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetReturnURLRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetPromotionalSaleListingsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetPromotionalSaleRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductSellingPagesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetPictureManagerDetailsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetOrderTransactionsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetOrdersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetNotificationPreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyeBayRemindersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyeBayBuyingRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyeBaySellingRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetMessagePreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoryListingsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetCartRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCartRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSearchResultsExpressRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
PlaceOfferRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAccountRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetExpressWishListRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetFeedbackRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemTransactionsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemsAwaitingFeedbackRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetLiveAuctionBiddersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMemberMessagesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPopularKeywordsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerPaymentsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserDisputesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetVeROReportStatusRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetWantItNowSearchResultsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
DeleteMyMessagesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyMessagesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseMyMessagesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ApproveLiveAuctionBiddersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
CompleteSaleRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseCheckoutStatusRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddOrderRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessageAAQToPartnerRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessageRTQRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetTaxTableRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SendInvoiceRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetContextualKeywordsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
VerifyAddItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPromotionRulesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPromotionalSaleDetailsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreCategoryUpdateStatusRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreCustomPageRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetVeROReasonCodeDetailsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseMyMessagesFoldersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddSecondChanceItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddTransactionConfirmationItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
IssueRefundRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
RespondToBestOfferRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
VerifyAddSecondChanceItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
FetchTokenRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAdFormatLeadsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAllBiddersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAttributesCSRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetBidderListRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoriesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoryFeaturesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCharitiesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetDescriptionTemplatesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMessagePreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerEventsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserPreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
RemoveFromWatchListRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ValidateChallengeInputRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ValidateTestUserRegistrationRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddLiveAuctionItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
RelistItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseLiveAuctionItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddDisputeResponseRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategorySpecificsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetNotificationsUsageRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddDisputeRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddToItemDescriptionRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
EndItemRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetApiAccessRulesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAttributesXSLRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetBestOffersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategory2CSRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoryMappingsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetChallengeTokenRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCrossPromotionsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetDisputeRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetHighBiddersRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemShippingRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetLiveAuctionCatalogDetailsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetNotificationPreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPictureManagerDetailsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPictureManagerOptionsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductFinderRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductFinderXSLRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductSearchPageRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetReturnURLRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetRuNameRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetShippingDiscountProfilesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreOptionsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStorePreferencesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSuggestedCategoriesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetTaxTableRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserContactDetailsRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetWantItNowPostRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
GeteBayOfficialTimeRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
RespondToFeedbackRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
RespondToWantItNowPostRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerReverseDisputeRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetUserNotesRequestType = class; { "urn:ebay:apis:eBLBaseComponents" }
DuplicateInvocationDetailsType = class; { "urn:ebay:apis:eBLBaseComponents" }
BotBlockResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ErrorParameterType = class; { "urn:ebay:apis:eBLBaseComponents" }
ErrorType = class; { "urn:ebay:apis:eBLBaseComponents" }
AbstractResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ValidateTestUserRegistrationResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetUserPreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetUserNotesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetTaxTableResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStorePreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStoreResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetShippingDiscountProfilesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetReturnURLResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetPromotionalSaleListingsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetPictureManagerDetailsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetNotificationPreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetMessagePreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SendInvoiceResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SellerReverseDisputeResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseMyMessagesFoldersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseMyMessagesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseCheckoutStatusResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
RespondToWantItNowPostResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
RespondToFeedbackResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
RemoveFromWatchListResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
LeaveFeedbackResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GeteBayOfficialTimeResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreCategoryUpdateStatusResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetRuNameResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductSellingPagesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductFinderResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetChallengeTokenResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAttributesCSResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
DeleteMyMessagesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
CompleteSaleResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddToWatchListResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddToItemDescriptionResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessageRTQResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessageAAQToPartnerResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddDisputeResponseResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddDisputeResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
VerifyAddSecondChanceItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
FetchTokenResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
EndItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddTransactionConfirmationItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddSecondChanceItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddOrderResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ValidateChallengeInputResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
IssueRefundResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCrossPromotionsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemShippingResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
VeROReportItemsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStoreCategoriesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetPromotionalSaleResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserContactDetailsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetTaxTableResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
VerifyAddItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseLiveAuctionItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ReviseItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
RelistItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddLiveAuctionItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
AddItemResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
ApproveLiveAuctionBiddersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerTransactionsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemTransactionsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAccountResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAdFormatLeadsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMemberMessagesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetHighBiddersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetAllBiddersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
RespondToBestOfferResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetBestOffersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
PlaceOfferResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerListResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerEventsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetBidderListResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetCartResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCartResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPopularKeywordsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoriesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategory2CSResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoryFeaturesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoryListingsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetCategoryMappingsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetDescriptionTemplatesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetDisputeResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetExpressWishListResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetFeedbackResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetItemsAwaitingFeedbackResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetLiveAuctionBiddersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMessagePreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyMessagesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyeBayBuyingResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyeBayRemindersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetMyeBaySellingResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetNotificationPreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetNotificationsUsageResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetOrdersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetOrderTransactionsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPictureManagerDetailsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPictureManagerOptionsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductSearchResultsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductFamilyMembersResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductSearchPageResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetProductsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPromotionRulesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetPromotionalSaleDetailsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetReturnURLResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSearchResultsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSearchResultsExpressResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSellerPaymentsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetShippingDiscountProfilesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreCustomPageResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
SetStoreCustomPageResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStoreOptionsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetStorePreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetSuggestedCategoriesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserDisputesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetUserPreferencesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetVeROReasonCodeDetailsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetVeROReportStatusResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetWantItNowPostResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GetWantItNowSearchResultsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
GeteBayDetailsResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
UploadSiteHostedPicturesResponseType = class; { "urn:ebay:apis:eBLBaseComponents" }
{ "urn:ebay:apis:eBLBaseComponents" }
AckCodeType = (Success, Failure, Warning, PartialFailure, CustomCode);
{ "urn:ebay:apis:eBLBaseComponents" }
BuyerPaymentMethodCodeType = (
None,
MOCC,
AmEx,
PaymentSeeDescription,
CCAccepted,
PersonalCheck,
COD,
VisaMC,
PaisaPayAccepted,
Other,
PayPal,
Discover,
CashOnPickup,
MoneyXferAccepted,
MoneyXferAcceptedInCheckout,
OtherOnlinePayments,
Escrow,
PrePayDelivery,
CODPrePayDelivery,
PostalTransfer,
CustomCode2,
LoanCheck,
CashInPerson,
ELV,
PaisaPayEscrow,
PaisaPayEscrowEMI
);
{ "urn:ebay:apis:eBLBaseComponents" }
DetailLevelCodeType = (ReturnAll, ItemReturnDescription, ItemReturnAttributes, ItemReturnCategories, ReturnSummary, ReturnHeaders, ReturnMessages);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeActivityCodeType = (SellerAddInformation, SellerCompletedTransaction, CameToAgreementNeedFVFCredit, SellerEndCommunication, MutualAgreementOrNoBuyerResponse, SellerOffersRefund, SellerShippedItem, SellerComment, SellerPaymentNotReceived, CustomCode3);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeCreditEligibilityCodeType = (InEligible, Eligible, CustomCode4);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeExplanationCodeType = (
BuyerHasNotResponded,
BuyerRefusedToPay,
BuyerNotClearedToPay,
BuyerReturnedItemForRefund,
UnableToResolveTerms,
BuyerNoLongerWantsItem,
BuyerPurchasingMistake,
ShipCountryNotSupported,
ShippingAddressNotConfirmed,
PaymentMethodNotSupported,
BuyerNoLongerRegistered,
OtherExplanation,
Unspecified,
CustomCode5
);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeFilterTypeCodeType = (AllInvolvedDisputes, DisputesAwaitingMyResponse, DisputesAwaitingOtherPartyResponse, AllInvolvedClosedDisputes, EligibleForCredit, UnpaidItemDisputes, ItemNotReceivedDisputes, CustomCode6);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeMessageSourceCodeType = (Buyer, Seller, eBay, CustomCode7);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeReasonCodeType = (BuyerHasNotPaid, TransactionMutuallyCanceled, ItemNotReceived, SignificantlyNotAsDescribed, NoRefund, ReturnPolicyUnpaidItem, CustomCode8);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeRecordTypeCodeType = (UnpaidItem, ItemNotReceived2, CustomCode9);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeResolutionReasonCodeType = (
Unresolved,
ProofOfPayment,
ComputerTechnicalProblem,
NoContact,
FamilyEmergency,
ProofGivenInFeedback,
FirstInfraction,
CameToAgreement,
ItemReturned,
BuyerPaidAuctionFees,
SellerReceivedPayment,
OtherResolution,
ClaimPaid,
CustomCode10
);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeResolutionRecordTypeCodeType = (
StrikeBuyer,
SuspendBuyer,
FVFCredit,
InsertionFeeCredit,
AppealBuyerStrike,
UnsuspendBuyer,
ReverseFVFCredit,
ReverseInsertionFeeCredit,
GenerateCSTicketForSuspend,
FVFCreditNotGranted,
ItemNotReceivedClaimFiled,
CustomCode11
);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeSortTypeCodeType = (None2, DisputeCreatedTimeAscending, DisputeCreatedTimeDescending, DisputeStatusAscending, DisputeStatusDescending, DisputeCreditEligibilityAscending, DisputeCreditEligibilityDescending, CustomCode12);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeStateCodeType = (
Locked,
Closed,
BuyerFirstResponsePayOption,
BuyerFirstResponseNoPayOption,
BuyerFirstResponsePayOptionLateResponse,
BuyerFirstResponseNoPayOptionLateResponse,
MutualCommunicationPayOption,
MutualCommunicationNoPayOption,
PendingResolve,
MutualWithdrawalAgreement,
MutualWithdrawalAgreementLate,
NotReceivedNoSellerResponse,
NotAsDescribedNoSellerResponse,
NotReceivedMutualCommunication,
NotAsDescribedMutualCommunication,
MutualAgreementOrBuyerReturningItem,
ClaimOpened,
NoDocumentation,
ClaimClosed,
ClaimDenied,
ClaimPending,
ClaimPaymentPending,
ClaimPaid2,
ClaimResolved,
ClaimSubmitted,
CustomCode13
);
{ "urn:ebay:apis:eBLBaseComponents" }
DisputeStatusCodeType = (
Closed2,
WaitingForSellerResponse,
WaitingForBuyerResponse,
ClosedFVFCreditStrike,
ClosedNoFVFCreditStrike,
ClosedFVFCreditNoStrike,
ClosedNoFVFCreditNoStrike,
StrikeAppealedAfterClosing,
FVFCreditReversedAfterClosing,
StrikeAppealedAndFVFCreditReversed,
ClaimOpened2,
NoDocumentation2,
ClaimClosed2,
ClaimDenied2,
ClaimInProcess,
ClaimApproved,
ClaimPaid3,
ClaimResolved2,
ClaimSubmitted2,
CustomCode14
);
{ "urn:ebay:apis:eBLBaseComponents" }
ErrorClassificationCodeType = (RequestError, SystemError, CustomCode15);
{ "urn:ebay:apis:eBLBaseComponents" }
ErrorHandlingCodeType = (Legacy, BestEffort, AllOrNothing, FailOnError);
{ "urn:ebay:apis:eBLBaseComponents" }
InvocationStatusType = (InProgress, Success2, Failure2, CustomCode16);
{ "urn:ebay:apis:eBLBaseComponents" }
MeasurementSystemCodeType = (English, Metric);
{ "urn:ebay:apis:eBLBaseComponents" }
SeverityCodeType = (Warning2, Error, CustomCode17);
{ "urn:ebay:apis:eBLBaseComponents" }
WarningLevelCodeType = (Low_, High_);
{ "urn:ebay:apis:eBLBaseComponents" }
AccessRuleCurrentStatusCodeType = (NotSet, HourlyLimitExceeded, DailyLimitExceeded, PeriodicLimitExceeded, HourlySoftLimitExceeded, DailySoftLimitExceeded, PeriodicSoftLimitExceeded, CustomCode18);
{ "urn:ebay:apis:eBLBaseComponents" }
AccessRuleStatusCodeType = (RuleOff, RuleOn, ApplicationBlocked, CustomCode19);
{ "urn:ebay:apis:eBLBaseComponents" }
AccountDetailEntryCodeType = (
Unknown,
FeeInsertion,
FeeBold,
FeeFeatured,
FeeCategoryFeatured,
FeeFinalValue,
PaymentCheck,
PaymentCC,
CreditCourtesy,
CreditNoSale,
CreditPartialSale,
RefundCC,
RefundCheck,
FinanceCharge,
AWDebit,
AWCredit,
AWMemo,
CreditDuplicateListing,
FeePartialSale,
PaymentElectronicTransferReversal,
PaymentCCOnce,
FeeReturnedCheck,
FeeRedepositCheck,
PaymentCash,
CreditInsertion,
CreditBold,
CreditFeatured,
CreditCategoryFeatured,
CreditFinalValue,
FeeNSFCheck,
FeeReturnCheckClose,
Memo,
PaymentMoneyOrder,
CreditCardOnFile,
CreditCardNotOnFile,
Invoiced,
InvoicedCreditCard,
CreditTransferFrom,
DebitTransferTo,
InvoiceCreditBalance,
eBayDebit,
eBayCredit,
PromotionalCredit,
CCNotOnFilePerCustReq,
CreditInsertionFee,
CCPaymentRejected,
FeeGiftIcon,
CreditGiftIcon,
FeeGallery,
FeeFeaturedGallery,
CreditGallery,
CreditFeaturedGallery,
ItemMoveFee,
OutageCredit,
CreditPSA,
CreditPCGS,
FeeReserve,
CreditReserve,
eBayVISACredit,
BBAdminCredit,
BBAdminDebit,
ReferrerCredit,
ReferrerDebit,
SwitchCurrency,
PaymentGiftCertificate,
PaymentWireTransfer,
PaymentHomeBanking,
PaymentElectronicTransfer,
PaymentAdjustmentCredit,
PaymentAdjustmentDebit,
Chargeoff,
ChargeoffRecovery,
ChargeoffBankruptcy,
ChargeoffSuspended,
ChargeoffDeceased,
ChargeoffOther,
ChargeoffWacko,
FinanceChargeReversal,
FVFCreditReversal,
ForeignFundsConvert,
ForeignFundsCheckReversal,
EOMRestriction,
AllFeesCredit,
SetOnHold,
RevertUserState,
DirectDebitOnFile,
DirectDebitNotOnFile,
PaymentDirectDebit,
DirectDebitReversal,
DirectDebitReturnedItem,
FeeHighlight,
CreditHighlight,
BulkUserSuspension,
FeeRealEstate30DaysListing,
CreditRealEstate30DaysListing,
TradingLimitOverrideOn,
TradingLimitOverrideOff,
EquifaxRealtimeFee,
CreditEquifaxRealtimeFee,
PaymentEquifaxDebit,
PaymentEquifaxCredit,
Merged,
AutoTraderOn,
AutoTraderOff,
PaperInvoiceOn,
PaperInvoiceOff,
AccountStateSwitch,
FVFCreditReversalAutomatic,
CreditSoftOutage,
LACatalogFee,
LAExtraItem,
LACatalogItemFeeRefund,
LACatalogInsertionRefund,
LAFinalValueFee,
LAFinalValueFeeRefund,
LABuyerPremiumPercentageFee,
LABuyerPremiumPercentageFeeRefund,
LAAudioVideoFee,
LAAudioVideoFeeRefund,
FeeIPIXPhoto,
FeeIPIXSlideShow,
CreditIPIXPhoto,
CreditIPIXSlideShow,
FeeTenDayAuction,
CreditTenDayAuction,
TemporaryCredit,
TemporaryCreditReversal,
SubscriptionAABasic,
SubscriptionAAPro,
CreditAABasic,
CreditAAPro,
FeeLargePicture,
CreditLargePicture,
FeePicturePack,
CreditPicturePackPartial,
CreditPicturePackFull,
SubscriptioneBayStores,
CrediteBayStores,
FeeInsertionFixedPrice,
CreditInsertionFixedPrice,
FeeFinalValueFixedPrice,
CreditFinalValueFixedPrice,
ElectronicInvoiceOn,
ElectronicInvoiceOff,
FlagDDDDPending,
FlagDDPaymentConfirmed,
FixedPriceDurationFee,
FixedPriceDurationCredit,
BuyItNowFee,
BuyItNowCredit,
FeeSchedule,
CreditSchedule,
SubscriptionSMBasic,
SubscriptionSMBasicPro,
CreditSMBasic,
CreditSMBasicPro,
StoresGTCFee,
StoresGTCCredit,
ListingDesignerFee,
ListingDesignerCredit,
ExtendedAuctionFee,
ExtendedAcutionCredit,
PayPalOTPSucc,
PayPalOTPPend,
PayPalFailed,
PayPalChargeBack,
ChargeBack,
ChargeBackReversal,
PayPalRefund,
BonusPointsAddition,
BonusPointsReduction,
BonusPointsPaymentAutomatic,
BonusPointsPaymentManual,
BonusPointsPaymentReversal,
BonusPointsCashPayout,
VATCredit,
VATDebit,
VATStatusChangePending,
VATStatusChangeApproved,
VATStatusChange_Denied,
VATStatusDeletedByCSR,
VATStatusDeletedByUser,
SMProListingDesignerFee,
SMProListingDesignerCredit,
StoresSuccessfulListingFee,
StoresSuccessfulListingFeeCredit,
StoresReferralFee,
StoresReferralCredit,
SubtitleFee,
SubtitleFeeCredit,
eBayStoreInventorySubscriptionCredit,
AutoPmntReqExempt,
AutoPmntReqRein,
PictureManagerSubscriptionFee,
PictureManagerSubscriptionFeeCredit,
SellerReportsBasicFee,
SellerReportsBasicCredit,
SellerReportsPlusFee,
SellerReportsPlusCredit,
PaypalOnFile,
PaypalOnFileByCSR,
PaypalOffFile,
BorderFee,
BorderFeeCredit,
FeeSearchableMobileDE,
SalesReportsPlusFee,
SalesReportsPlusCredit,
CreditSearchableMobileDE,
EmailMarketingFee,
EmailMarketingCredit,
FeePictureShow,
CreditPictureShow,
ProPackBundleFee,
ProPackBundleFeeCredit,
BasicUpgradePackBundleFee,
BasicUpgradePackBundleFeeCredit,
ValuePackBundleFee,
ValuePackBundleFeeCredit,
ProPackPlusBundleFee,
ProPackPlusBundleFeeCredit,
FinalEntry,
CustomCode20,
ExtendedDurationFee,
ExtendedDurationFeeCredit,
InternationalListingFee,
InternationalListingCredit,
MarketplaceResearchExpiredSubscriptionFee,
MarketplaceResearchExpiredSubscriptionFeeCredit,
MarketplaceResearchBasicSubscriptionFee,
MarketplaceResearchBasicSubscriptionFeeCredit,
MarketplaceResearchProSubscriptionFee,
BasicBundleFee,
BasicBundleFeeCredit,
MarketplaceResearchProSubscriptionFeeCredit,
VehicleLocalSubscriptionFee,
VehicleLocalSubscriptionFeeCredit,
VehicleLocalInsertionFee,
VehicleLocalInsertionFeeCredit,
VehicleLocalFinalValueFee,
VehicleLocalFinalValueFeeCredit,
VehicleLocalGTCFee,
VehicleLocalGTCFeeCredit,
eBayMotorsProFee,
CrediteBayMotorsProFee,
eBayMotorsProFeatureFee,
CrediteBayMotorsProFeatureFee,
FeeGalleryPlus,
CreditGalleryPlus,
PrivateListing,
CreditPrivateListing,
ImmoProFee,
CreditImmoProFee,
ImmoProFeatureFee,
CreditImmoProFeatureFee
);
{ "urn:ebay:apis:eBLBaseComponents" }
AccountEntrySortTypeCodeType = (None3, AccountEntryCreatedTimeAscending, AccountEntryCreatedTimeDescending, AccountEntryItemNumberAscending, AccountEntryItemNumberDescending, AccountEntryFeeTypeAscending, AccountEntryFeeTypeDescending, CustomCode21);
{ "urn:ebay:apis:eBLBaseComponents" }
AccountHistorySelectionCodeType = (LastInvoice, SpecifiedInvoice, BetweenSpecifiedDates, CustomCode22);
{ "urn:ebay:apis:eBLBaseComponents" }
AccountStateCodeType = (Active, Pending, Inactive, CustomCode23);
{ "urn:ebay:apis:eBLBaseComponents" }
AdFormatEnabledCodeType = (Disabled, Enabled, Only, ClassifiedAdEnabled, ClassifiedAdOnly, LocalMarketBestOfferOnly, CustomCode24);
{ "urn:ebay:apis:eBLBaseComponents" }
AdFormatLeadStatusCodeType = (New, Responded, CustomCode25);
{ "urn:ebay:apis:eBLBaseComponents" }
AddressOwnerCodeType = (PayPal2, eBay2, CustomCode26);
{ "urn:ebay:apis:eBLBaseComponents" }
AddressRecordTypeCodeType = (Residential, Business, CustomCode27);
{ "urn:ebay:apis:eBLBaseComponents" }
AddressStatusCodeType = (None4, Confirmed, Unconfirmed, CustomCode28);
{ "urn:ebay:apis:eBLBaseComponents" }
ApplicationDeviceTypeCodeType = (Browser, Wireless, Desktop, SetTopTVBox, CustomCode29);
{ "urn:ebay:apis:eBLBaseComponents" }
BestOfferActionCodeType = (Accept, Decline, Counter, CustomCode30);
{ "urn:ebay:apis:eBLBaseComponents" }
BestOfferStatusCodeType = (Pending2, Accepted, Declined, Expired, Retracted, AdminEnded, Active2, Countered, All, CustomCode31);
{ "urn:ebay:apis:eBLBaseComponents" }
BestOfferTypeCodeType = (BuyerBestOffer, BuyerCounterOffer, SellerCounterOffer, CustomCode32);
{ "urn:ebay:apis:eBLBaseComponents" }
BidActionCodeType = (
Unknown2,
Bid,
NotUsed,
Retraction,
AutoRetraction,
Cancelled,
AutoCancel,
Absentee,
BuyItNow,
Purchase,
CustomCode33,
Offer,
Counter2,
Accept2,
Decline2
);
{ "urn:ebay:apis:eBLBaseComponents" }
BidGroupItemStatusCodeType = (CurrentBid, Cancelled2, Pending3, Skipped, Ended, Won, GroupClosed, CustomCode34);
{ "urn:ebay:apis:eBLBaseComponents" }
BidGroupStatusCodeType = (Open, Closed3, CustomCode35);
{ "urn:ebay:apis:eBLBaseComponents" }
BidderStatusCodeType = (Approved, Denied, Pending4, CustomCode36);
{ "urn:ebay:apis:eBLBaseComponents" }
BuyerProtectionCodeType = (ItemIneligible, ItemEligible, ItemMarkedIneligible, ItemMarkedEligible, CustomCode37);
{ "urn:ebay:apis:eBLBaseComponents" }
BuyerProtectionSourceCodeType = (eBay3, PayPal3, CustomCode38);
{ "urn:ebay:apis:eBLBaseComponents" }
CalculatedShippingChargeOptionCodeType = (ChargeEachItem, ChargeEntireOrder, CustomCode39);
{ "urn:ebay:apis:eBLBaseComponents" }
CalculatedShippingRateOptionCodeType = (CombinedItemWeight, IndividualItemWeight, CustomCode40);
{ "urn:ebay:apis:eBLBaseComponents" }
CategoryListingsOrderCodeType = (
NoFilter,
ItemsBy24Hr,
ItemsEndToday,
ItemsEndIn5Hr,
SortByPriceAsc,
SortByPriceDesc,
BestMatchSort,
DistanceSort,
CustomCode41,
BestMatchCategoryGroup,
PricePlusShippingAsc,
PricePlusShippingDesc
);
{ "urn:ebay:apis:eBLBaseComponents" }
CategoryListingsSearchCodeType = (Featured, SuperFeatured, CustomCode42);
{ "urn:ebay:apis:eBLBaseComponents" }
CharacteristicsSearchCodeType = (Single_, Multi, CustomCode43);
{ "urn:ebay:apis:eBLBaseComponents" }
CharityAffiliationTypeCodeType = (Community, Direct, Remove, CustomCode44);
{ "urn:ebay:apis:eBLBaseComponents" }
CharitySellerStatusCodeType = (Suspended, Registered, Closed4, CreditCardExpired, TokenExpired, CreditCardAboutToExpire, RegisteredNoCreditCard, NotRegisteredLostDirectSellerStatus, DirectDebitRejected, CustomCode45);
{ "urn:ebay:apis:eBLBaseComponents" }
CharityStatusCodeType = (Valid, NoLongerValid, CustomCode46);
{ "urn:ebay:apis:eBLBaseComponents" }
CheckoutMethodCodeType = (Other2, ThirdPartyCheckout, CustomCode47);
{ "urn:ebay:apis:eBLBaseComponents" }
CheckoutStatusCodeType = (CheckoutComplete, CheckoutIncomplete, BuyerRequestsTotal, SellerResponded, CustomCode48);
{ "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdBestOfferEnabledCodeType = (Disabled2, Enabled2, Required, CustomCode49);
{ "urn:ebay:apis:eBLBaseComponents" }
ClassifiedAdPaymentMethodEnabledCodeType = (EnabledWithCheckout, EnabledWithoutCheckout, NotSupported, CustomCode50);
{ "urn:ebay:apis:eBLBaseComponents" }
CombinedPaymentOptionCodeType = (NoCombinedPayment, DiscountSpecified, SpecifyDiscountLater, CustomCode51);
{ "urn:ebay:apis:eBLBaseComponents" }
CombinedPaymentPeriodCodeType = (Days_3, Days_5, Days_7, Days_14, Days_30, Ineligible2, CustomCode52);
{ "urn:ebay:apis:eBLBaseComponents" }
CommentTypeCodeType = (Positive, Neutral, Negative, Withdrawn, IndependentlyWithdrawn, CustomCode53);
{ "urn:ebay:apis:eBLBaseComponents" }
CompleteStatusCodeType = (Incomplete, Complete, Pending5, CustomCode54);
{ "urn:ebay:apis:eBLBaseComponents" }
ConditionSelectionCodeType = (All2, New2, CustomCode55);
{ "urn:ebay:apis:eBLBaseComponents" }
CountryCodeType = (
AF,
AL,
DZ,
AS_,
AD,
AO,
AI,
AQ,
AG,
AR,
AM,
AW,
AU,
AT,
AZ,
BS,
BH,
BD,
BB,
BY,
BE,
BZ,
BJ,
BM,
BT,
BO,
BA,
BW,
BV,
BR,
IO,
BN,
BG,
BF,
BI,
KH,
CM,
CA,
CV,
KY,
CF,
TD,
CL,
CN,
CX,
CC,
CO,
KM,
CG,
CD,
CK,
CR,
CI,
HR,
CU,
CY,
CZ,
DK,
DJ,
DM,
DO_,
TP,
EC,
EG,
SV,
GQ,
ER,
EE,
ET,
FK,
FO,
FJ,
FI,
FR,
GF,
PF,
TF,
GA,
GM,
GE,
DE,
GH,
GI,
GR,
GL,
GD,
GP,
GU,
GT,
GN,
GW,
GY,
HT,
HM,
VA,
HN,
HK,
HU,
IS_,
IN_,
ID,
IR,
IQ,
IE,
IL,
IT,
JM,
JP,
JO,
KZ,
KE,
KI,
KP,
KR,
KW,
KG,
LA,
LV,
LB,
LS,
LR,
LY,
LI,
LT,
LU,
MO,
MK,
MG,
MW,
MY,
MV,
ML,
MT,
MH,
MQ,
MR,
MU,
YT,
MX,
FM,
MD,
MC,
MN,
MS,
MA,
MZ,
MM,
NA,
NR,
NP,
NL,
AN,
NC,
NZ,
NI,
NE,
NG,
NU,
NF,
MP,
NO,
OM,
PK,
PW,
PS,
PA,
PG,
PY,
PE,
PH,
PN,
PL,
PT,
PR,
QA,
RE,
RO,
RU,
RW,
SH,
KN,
LC,
PM,
VC,
WS,
SM,
ST,
SA,
SN,
SC,
SL,
SG,
SK,
SI,
SB,
SO,
ZA,
GS,
ES,
LK,
SD,
SR,
SJ,
SZ,
SE,
CH,
SY,
TW,
TJ,
TZ,
TH,
TG,
TK,
TO_,
TT,
TN,
TR,
TM,
TC,
TV,
UG,
UA,
AE,
GB,
US,
UM,
UY,
UZ,
VU,
VE,
VN,
VG,
VI,
WF,
EH,
YE,
YU,
ZM,
ZW,
AA,
QM,
QN,
QO,
QP,
JE,
GG,
ZZ,
RS,
ME,
CustomCode56
);
{ "urn:ebay:apis:eBLBaseComponents" }
CurrencyCodeType = (
AFA,
ALL3,
DZD,
ADP,
AOA,
ARS,
AMD,
AWG,
AZM,
BSD,
BHD,
BDT,
BBD,
BYR,
BZD,
BMD,
BTN,
INR,
BOV,
BOB,
BAM,
BWP,
BRL,
BND,
BGL,
BGN,
BIF,
KHR,
CAD,
CVE,
KYD,
XAF,
CLF,
CLP,
CNY,
COP,
KMF,
CDF,
CRC,
HRK,
CUP,
CYP,
CZK,
DKK,
DJF,
DOP,
TPE,
ECV,
ECS,
EGP,
SVC,
ERN,
EEK,
ETB,
FKP,
FJD,
GMD,
GEL,
GHC,
GIP,
GTQ,
GNF,
GWP,
GYD,
HTG,
HNL,
HKD,
HUF,
ISK,
IDR,
IRR,
IQD,
ILS,
JMD,
JPY,
JOD,
KZT,
KES,
AUD,
KPW,
KRW,
KWD,
KGS,
LAK,
LVL,
LBP,
LSL,
LRD,
LYD,
CHF,
LTL,
MOP,
MKD,
MGF,
MWK,
MYR,
MVR,
MTL,
EUR,
MRO,
MUR,
MXN,
MXV,
MDL,
MNT,
XCD,
MZM,
MMK,
ZAR,
NAD,
NPR,
ANG,
XPF,
NZD,
NIO,
NGN,
NOK,
OMR,
PKR,
PAB,
PGK,
PYG,
PEN,
PHP,
PLN,
USD,
QAR,
ROL,
RUB,
RUR,
RWF,
SHP,
WST,
STD,
SAR,
SCR,
SLL,
SGD,
SKK,
SIT,
SBD,
SOS,
LKR,
SDD,
SRG,
SZL,
SEK,
SYP,
TWD,
TJS,
TZS,
THB,
XOF,
TOP,
TTD,
TND,
TRL,
TMM,
UGX,
UAH,
AED,
GBP,
USS,
USN,
UYU,
UZS,
VUV,
VEB,
VND,
MAD,
YER,
YUM,
ZMK,
ZWD,
ATS,
CustomCode57
);
{ "urn:ebay:apis:eBLBaseComponents" }
DateSpecifierCodeType = (M, D, Y, CustomCode58);
{ "urn:ebay:apis:eBLBaseComponents" }
DaysCodeType = (None5, EveryDay, Weekdays, Weekends, CustomCode59);
{ "urn:ebay:apis:eBLBaseComponents" }
DepositTypeCodeType = (None6, OtherMethod, FastDeposit, CustomCode60);
{ "urn:ebay:apis:eBLBaseComponents" }
DescriptionReviseModeCodeType = (Replace, Prepend, Append, CustomCode61);
{ "urn:ebay:apis:eBLBaseComponents" }
DescriptionTemplateCodeType = (Layout, Theme, CustomCode62);
{ "urn:ebay:apis:eBLBaseComponents" }
DetailNameCodeType = (
CountryDetails,
CurrencyDetails,
PaymentOptionDetails,
RegionDetails,
ShippingLocationDetails,
ShippingServiceDetails,
SiteDetails,
TaxJurisdiction,
URLDetails,
TimeZoneDetails,
RegionOfOriginDetails,
DispatchTimeMaxDetails,
ItemSpecificDetails,
UnitOfMeasurementDetails,
ShippingPackageDetails,
CustomCode63,
ShippingCarrierDetails
);
{ "urn:ebay:apis:eBLBaseComponents" }
DeviceTypeCodeType = (Platform_, SMS, CustomCode64);
{ "urn:ebay:apis:eBLBaseComponents" }
DigitalDeliveryEnabledCodeType = (Disabled3, Enabled3, Promoted, CustomCode65);
{ "urn:ebay:apis:eBLBaseComponents" }
DigitalDeliveryMethodCodeType = (None7, DownloadURL, AlternateDeliveryInstructions, CustomCode66);
{ "urn:ebay:apis:eBLBaseComponents" }
DiscountCodeType = (Percentage, Price, CustomCode67);
{ "urn:ebay:apis:eBLBaseComponents" }
DiscountNameCodeType = (EachAdditionalAmount, EachAdditionalAmountOff, EachAdditionalPercentOff, IndividualItemWeight2, CombinedItemWeight2, WeightOff, ShippingCostXForAmountY, ShippingCostXForItemCountN, MaximumShippingCostPerOrder, CustomCode68);
{ "urn:ebay:apis:eBLBaseComponents" }
DisplayPayNowButtonCodeType = (ShowPayNowButtonForAllPaymentMethods, ShowPayNowButtonForPayPalOnly, CustomCode69);
{ "urn:ebay:apis:eBLBaseComponents" }
EBaySubscriptionTypeCodeType = (
SellerAssistant,
SellerAssistantPro,
EBayStoreBasic,
EBayStoreFeatured,
EBayStoreAnchor,
SellingManager,
SellingManagerPro,
PictureManagerLevel1,
PictureManagerLevel2,
PictureManagerLevel3,
PictureManagerLevel4,
PictureManagerLevel5,
PictureManagerLevel6,
PictureManagerLevel7,
SellerReportsBasic,
SellerReportsPlus,
FileExchange,
LocalMarketSpecialty,
LocalMarketRegular,
LocalMarketPremium,
CustomCode70
);
{ "urn:ebay:apis:eBLBaseComponents" }
EnableCodeType = (Enable, Disable, CustomCode71);
{ "urn:ebay:apis:eBLBaseComponents" }
EndOfAuctionLogoTypeCodeType = (WinningBidderNotice, Store, Customized, CustomCode72, None8);
{ "urn:ebay:apis:eBLBaseComponents" }
EndReasonCodeType = (LostOrBroken, NotAvailable, Incorrect, OtherListingError, CustomCode73, SellToHighBidder);
{ "urn:ebay:apis:eBLBaseComponents" }
ExpressDetailLevelCodeType = (Coarse, Fine, None9, CustomCode74);
{ "urn:ebay:apis:eBLBaseComponents" }
ExpressHistogramSortCodeType = (ItemCount, ProductCount, Alphabetical, CustomCode75);
{ "urn:ebay:apis:eBLBaseComponents" }
ExpressItemSortCodeType = (LowestTotalCost, HighestTotalCost, Relevance, CustomCode76);
{ "urn:ebay:apis:eBLBaseComponents" }
ExpressProductSortCodeType = (LowestPrice, HighestPrice, SalesRank, CustomCode77);
{ "urn:ebay:apis:eBLBaseComponents" }
ExpressSellingPreferenceCodeType = (All4, ExpressOnly, OptOut, CustomCode78);
{ "urn:ebay:apis:eBLBaseComponents" }
ExternalProductCodeType = (ISBN, UPC, ProductID, EAN, Keywords, MPN, CustomCode79);
{ "urn:ebay:apis:eBLBaseComponents" }
FeatureIDCodeType = (
ListingDurations,
BestOfferEnabled,
DutchBINEnabled,
ShippingTermsRequired,
UserConsentRequired,
HomePageFeaturedEnabled,
AdFormatEnabled,
DigitalDeliveryEnabled,
BestOfferCounterEnabled,
BestOfferAutoDeclineEnabled,
ProPack,
BasicUpgradePack,
ValuePack,
ProPackPlus,
LocalMarketSpecialitySubscription,
LocalMarketRegularSubscription,
LocalMarketPremiumSubscription,
LocalMarketNonSubscription,
ExpressEnabled,
ExpressPicturesRequired,
ExpressConditionRequired,
SellerContactDetailsEnabled,
CustomCode80,
MinimumReservePrice,
TransactionConfirmationRequestEnabled,
StoreInventoryEnabled,
LocalListingDistances,
SkypeMeTransactionalEnabled,
SkypeMeNonTransactionalEnabled,
ClassifiedAdPaymentMethodEnabled,
ClassifiedAdShippingMethodEnabled,
ClassifiedAdBestOfferEnabled,
ClassifiedAdCounterOfferEnabled,
ClassifiedAdAutoDeclineEnabled,
ClassifiedAdContactByEmailEnabled,
ClassifiedAdContactByPhoneEnabled,
SafePaymentRequired,
MaximumBestOffersAllowed,
ClassifiedAdMaximumBestOffersAllowed,
ClassifiedAdContactByEmailAvailable,
ClassifiedAdPayPerLeadEnabled,
ItemSpecificsEnabled,
PaisaPayFullEscrowEnabled,
ClassifiedAdAutoAcceptEnabled,
BestOfferAutoAcceptEnabled
);
{ "urn:ebay:apis:eBLBaseComponents" }
FeedbackRatingDetailCodeType = (ItemAsDescribed, Communication, ShippingTime, ShippingAndHandlingCharges, CustomCode81);
{ "urn:ebay:apis:eBLBaseComponents" }
FeedbackRatingStarCodeType = (
None10,
Yellow,
Blue,
Turquoise,
Purple,
Red,
Green,
YellowShooting,
TurquoiseShooting,
PurpleShooting,
RedShooting,
CustomCode82
);
{ "urn:ebay:apis:eBLBaseComponents" }
FeedbackResponseCodeType = (Reply, FollowUp, CustomCode83);
{ "urn:ebay:apis:eBLBaseComponents" }
FlatRateInsuranceRangeCodeType = (FlatRateInsuranceRange1, FlatRateInsuranceRange2, FlatRateInsuranceRange3, FlatRateInsuranceRange4, FlatRateInsuranceRange5, FlatRateInsuranceRange6, CustomCode84);
{ "urn:ebay:apis:eBLBaseComponents" }
FlatShippingRateOptionCodeType = (ChargeAmountForEachAdditionalItem, DeductAmountFromEachAdditionalItem, ShipAdditionalItemsFree, CustomCode85);
{ "urn:ebay:apis:eBLBaseComponents" }
GallerySortFilterCodeType = (ShowAnyItems, ShowItemsWithGalleryImagesFirst, ShowOnlyItemsWithGalleryImages, CustomCode86);
{ "urn:ebay:apis:eBLBaseComponents" }
GalleryTypeCodeType = (None11, Featured2, Gallery, Plus, CustomCode87);
{ "urn:ebay:apis:eBLBaseComponents" }
GetAllBiddersModeCodeType = (ViewAll, EndedListing, SecondChanceEligibleEndedListing, CustomCode88);
{ "urn:ebay:apis:eBLBaseComponents" }
GiftServicesCodeType = (GiftExpressShipping, GiftShipToRecipient, GiftWrap, CustomCode89);
{ "urn:ebay:apis:eBLBaseComponents" }
GranularityLevelCodeType = (Coarse2, Fine2, Medium, CustomCode90);
{ "urn:ebay:apis:eBLBaseComponents" }
HandlingNameCodeType = (EachAdditionalAmount2, EachAdditionalAmountOff2, EachAdditionalPercentOff2, IndividualHandlingFee, CombinedHandlingFee, CustomCode91);
{ "urn:ebay:apis:eBLBaseComponents" }
HitCounterCodeType = (NoHitCounter, HonestyStyle, GreenLED, Hidden, BasicStyle, RetroStyle, HiddenStyle, CustomCode92);
{ "urn:ebay:apis:eBLBaseComponents" }
InsuranceOptionCodeType = (Optional, Required2, NotOffered, IncludedInShippingHandling, NotOfferedOnSite, CustomCode93);
{ "urn:ebay:apis:eBLBaseComponents" }
InsuranceSelectedCodeType = (NotOffered2, OfferedNotSelected, OfferedSelected, Required3, IncludedInShippingHandling2, CustomCode94);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemConditionCodeType = (New3, Used, CustomCode95);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemFormatSortFilterCodeType = (ShowAnyItems2, ShowItemsWithBINFirst, ShowOnlyItemsWithBIN, ShowOnlyStoreItems, CustomCode96);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemLocationCodeType = (ItemAvailableIn, ItemLocatedIn, CustomCode97);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemSortFilterCodeType = (EndingLast, EndingSoonest, HighestPrice2, LowestPrice2, NewlyListed, RandomlySelected, CustomCode98);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemSortTypeCodeType = (
ItemID,
Price2,
StartPrice,
Title,
BidCount,
Quantity,
StartTime,
EndTime,
SellerUserID,
TimeLeft,
ListingDuration,
ListingType,
CurrentPrice,
ReservePrice,
MaxBid,
BidderCount,
HighBidderUserID,
BuyerUserID,
BuyerPostalCode,
BuyerEmail,
SellerEmail,
TotalPrice,
WatchCount,
BestOfferCount,
QuestionCount,
ShippingServiceCost,
FeedbackReceived,
FeedbackLeft,
UserID,
QuantitySold,
BestOffer,
QuantityAvailable,
QuantityPurchased,
WonPlatform,
SoldPlatform,
ListingDurationDescending,
ListingTypeDescending,
CurrentPriceDescending,
ReservePriceDescending,
MaxBidDescending,
BidderCountDescending,
HighBidderUserIDDescending,
BuyerUserIDDescending,
BuyerPostalCodeDescending,
BuyerEmailDescending,
SellerEmailDescending,
TotalPriceDescending,
WatchCountDescending,
QuestionCountDescending,
ShippingServiceCostDescending,
FeedbackReceivedDescending,
FeedbackLeftDescending,
UserIDDescending,
QuantitySoldDescending,
BestOfferCountDescending,
QuantityAvailableDescending,
QuantityPurchasedDescending,
BestOfferDescending,
ItemIDDescending,
PriceDescending,
StartPriceDescending,
TitleDescending,
BidCountDescending,
QuantityDescending,
StartTimeDescending,
EndTimeDescending,
SellerUserIDDescending,
TimeLeftDescending,
WonPlatformDescending,
SoldPlatformDescending,
LeadCount,
NewLeadCount,
LeadCountDescending,
NewLeadCountDescending,
ClassifiedAdPayPerLeadFee,
ClassifiedAdPayPerLeadFeeDescending,
CustomCode99
);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemSpecificSourceCodeType = (ItemSpecific, Attribute, Product, CustomCode100);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemSpecificsEnabledCodeType = (Disabled4, Enabled4, CustomCode101);
{ "urn:ebay:apis:eBLBaseComponents" }
ItemTypeFilterCodeType = (AuctionItemsOnly, FixedPricedItem, AllItems, StoreInventoryOnly, FixedPriceExcludeStoreInventory, ExcludeStoreInventory, AllItemTypes, AllFixedPriceItemTypes, CustomCode102, ClassifiedItemsOnly);
{ "urn:ebay:apis:eBLBaseComponents" }
ListingEnhancementsCodeType = (Border, BoldTitle, Featured3, Highlight, HomePageFeatured, ProPackBundle, BasicUpgradePackBundle, ValuePackBundle, ProPackPlusBundle, CustomCode103);
{ "urn:ebay:apis:eBLBaseComponents" }
ListingFlowCodeType = (AddItem, ReviseItem, RelistItem, CustomCode104);
{ "urn:ebay:apis:eBLBaseComponents" }
ListingStatusCodeType = (Active3, Ended2, Completed, CustomCode105, Custom);
{ "urn:ebay:apis:eBLBaseComponents" }
ListingSubtypeCodeType = (ClassifiedAd, LocalMarketBestOfferOnly2, CustomCode106);
{ "urn:ebay:apis:eBLBaseComponents" }
ListingTypeCodeType = (
Unknown3,
Chinese,
Dutch,
Live,
Auction,
AdType,
StoresFixedPrice,
PersonalOffer,
FixedPriceItem,
Half,
LeadGeneration,
Express,
CustomCode107
);
{ "urn:ebay:apis:eBLBaseComponents" }
MarkUpMarkDownEventTypeCodeType = (MarkUp, MarkDown, CustomCode108);
{ "urn:ebay:apis:eBLBaseComponents" }
MerchDisplayCodeType = (DefaultTheme, StoreTheme, CustomCode109);
{ "urn:ebay:apis:eBLBaseComponents" }
MerchandizingPrefCodeType = (OptIn, OptOut2, CustomCode110);
{ "urn:ebay:apis:eBLBaseComponents" }
MessageStatusTypeCodeType = (Answered, Unanswered, CustomCode111);
{ "urn:ebay:apis:eBLBaseComponents" }
MessageTypeCodeType = (AskSellerQuestion, ResponseToASQQuestion, ContactEbayMember, ContactTransactionPartner, ResponseToContacteBayMember, ContacteBayMemberViaCommunityLink, CustomCode112, All5, ContactMyBidder);
{ "urn:ebay:apis:eBLBaseComponents" }
ModifyActionCodeType = (Add, Delete, Update, CustomCode113);
{ "urn:ebay:apis:eBLBaseComponents" }
MyMessagesAlertResolutionStatusCode = (Unresolved2, ResolvedByAutoResolution, ResolvedByUser, CustomCode114);
{ "urn:ebay:apis:eBLBaseComponents" }
MyMessagesFolderOperationCodeType = (Display, Rename, Remove2, CustomCode115);
{ "urn:ebay:apis:eBLBaseComponents" }
NotificationEventPropertyNameCodeType = (TimeLeft2, CustomCode116);
{ "urn:ebay:apis:eBLBaseComponents" }
NotificationEventStateCodeType = (
New4,
Failed,
MarkedDown,
Pending6,
FailedPending,
MarkedDownPending,
Delivered,
Undeliverable,
Rejected,
Canceled,
CustomCode117
);
{ "urn:ebay:apis:eBLBaseComponents" }
NotificationEventTypeCodeType = (
None12,
OutBid,
EndOfAuction,
AuctionCheckoutComplete,
FixedPriceEndOfTransaction,
CheckoutBuyerRequestsTotal,
Feedback,
FeedbackForSeller,
FixedPriceTransaction,
SecondChanceOffer,
AskSellerQuestion2,
ItemListed,
ItemRevised,
BuyerResponseDispute,
SellerOpenedDispute,
SellerRespondedToDispute,
SellerClosedDispute,
BestOffer2,
MyMessagesAlertHeader,
MyMessagesAlert,
MyMessageseBayMessageHeader,
MyMessageseBayMessage,
MyMessagesM2MMessageHeader,
MyMessagesM2MMessage,
INRBuyerOpenedDispute,
INRBuyerRespondedToDispute,
INRBuyerClosedDispute,
INRSellerRespondedToDispute,
Checkout,
WatchedItemEndingSoon,
ItemClosed,
ItemSuspended,
ItemSold,
ItemExtended,
UserIDChanged,
EmailAddressChanged,
PasswordChanged,
PasswordHintChanged,
PaymentDetailChanged,
AccountSuspended,
AccountSummary,
ThirdPartyCartCheckout,
ItemRevisedAddCharity,
AddToWatchList,
PlaceOffer,
RemoveFromWatchList,
AddToBidGroup,
RemoveFromBidGroup,
CustomCode118
);
{ "urn:ebay:apis:eBLBaseComponents" }
NotificationPayloadTypeCodeType = (eBLSchemaSOAP, CustomCode119);
{ "urn:ebay:apis:eBLBaseComponents" }
NotificationRoleCodeType = (Application_, User, UserData, Event, CustomCode120);
{ "urn:ebay:apis:eBLBaseComponents" }
OrderStatusCodeType = (Active4, Inactive2, Completed2, Cancelled3, Shipped, Default_, Authenticated, InProcess, Invalid, CustomCode121);
{ "urn:ebay:apis:eBLBaseComponents" }
PaidStatusCodeType = (
NotPaid,
BuyerHasNotCompletedCheckout,
PaymentPendingWithPayPal,
PaidWithPayPal,
MarkedAsPaid,
PaymentPendingWithEscrow,
PaidWithEscrow,
EscrowPaymentCancelled,
PaymentPendingWithPaisaPay,
PaidWithPaisaPay,
PaymentPending,
CustomCode122
);
{ "urn:ebay:apis:eBLBaseComponents" }
PayPalAccountLevelCodeType = (Unverified, InternationalUnverified, Verified, InternationalVerified, Trusted, Unknown4, Invalid2, CustomCode123);
{ "urn:ebay:apis:eBLBaseComponents" }
PayPalAccountStatusCodeType = (Active5, Closed5, HighRestricted, LowRestricted, Locked2, CustomCode124, WireOff, Unknown5, Invalid3);
{ "urn:ebay:apis:eBLBaseComponents" }
PayPalAccountTypeCodeType = (Personal, Premier, Business2, Unknown6, Invalid4, CustomCode125);
{ "urn:ebay:apis:eBLBaseComponents" }
PaymentMethodSearchCodeType = (PayPal4, PaisaPay, PayPalOrPaisaPay, CustomCode126, PaisaPayEscrowEMI2);
{ "urn:ebay:apis:eBLBaseComponents" }
PaymentStatusCodeType = (NoPaymentFailure, BuyerECheckBounced, BuyerCreditCardFailed, BuyerFailedPaymentReportedBySeller, PayPalPaymentInProcess, PaymentInProcess, CustomCode127);
{ "urn:ebay:apis:eBLBaseComponents" }
PaymentTypeCodeType = (Sale, Refund, SellerDeniedPayment, AdminReversal, AllOther, CustomCode128);
{ "urn:ebay:apis:eBLBaseComponents" }
PhotoDisplayCodeType = (None13, SlideShow, SuperSize, PicturePack, SiteHostedPictureShow, VendorHostedPictureShow, SuperSizePictureShow, CustomCode129);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureFormatCodeType = (JPG, GIF, CustomCode130);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureManagerActionCodeType = (Add2, Delete2, Rename2, Move, Change, CustomCode131);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureManagerDetailLevelCodeType = (ReturnAll2, ReturnSubscription, ReturnPicture, CustomCode132);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureManagerPictureDisplayTypeCodeType = (Thumbnail, BIBO, Standard, Large, Supersize2, Original, CustomCode133);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureManagerSubscriptionLevelCodeType = (Free, Level1, Level2, Level3, Level4, CustomCode134);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureSetCodeType = (Standard2, Supersize3, Large2, CustomCode135);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureSourceCodeType = (EPS, PictureManager, Vendor, CustomCode136);
{ "urn:ebay:apis:eBLBaseComponents" }
PictureUploadPolicyCodeType = (Add3, ClearAndAdd, CustomCode137);
{ "urn:ebay:apis:eBLBaseComponents" }
ProductSortCodeType = (
PopularityAsc,
PopularityDesc,
RatingAsc,
RatingDesc,
ReviewCountAsc,
ReviewCountDesc,
ItemCountAsc,
ItemCountDesc,
TitleAsc,
TitleDesc,
CustomCode138
);
{ "urn:ebay:apis:eBLBaseComponents" }
ProductUseCaseCodeType = (AddItem2, ReviseItem2, RelistItem2, CustomCode139);
{ "urn:ebay:apis:eBLBaseComponents" }
PromotionItemPriceTypeCodeType = (AuctionPrice, BuyItNowPrice, BestOfferOnlyPrice, ClassifiedAdPrice, CustomCode140);
{ "urn:ebay:apis:eBLBaseComponents" }
PromotionItemSelectionCodeType = (Manual, Automatic, CustomCode141);
{ "urn:ebay:apis:eBLBaseComponents" }
PromotionMethodCodeType = (CrossSell, UpSell, CustomCode142);
{ "urn:ebay:apis:eBLBaseComponents" }
PromotionSchemeCodeType = (ItemToItem, ItemToStoreCat, StoreToStoreCat, ItemToDefaultRule, DefaultRule, CategoryProximity, RelatedCategoryRule, DefaultUpSellLogic, DefaultCrossSellLogic, CustomCode143);
{ "urn:ebay:apis:eBLBaseComponents" }
PromotionalSaleStatusCodeType = (Active6, Scheduled, Processing, Inactive3, Deleted, CustomCode144);
{ "urn:ebay:apis:eBLBaseComponents" }
QuantityOperatorCodeType = (LessThan, LessThanOrEqual, Equal, GreaterThan, GreaterThanOrEqual, CustomCode145);
{ "urn:ebay:apis:eBLBaseComponents" }
QuestionTypeCodeType = (General, Shipping, Payment, MultipleItemShipping, CustomizedSubject, CustomCode146);
{ "urn:ebay:apis:eBLBaseComponents" }
RCSPaymentStatusCodeType = (Canceled2, Paid, Pending7, CustomCode147);
{ "urn:ebay:apis:eBLBaseComponents" }
RangeCodeType = (High_2, Low_2, CustomCode148);
{ "urn:ebay:apis:eBLBaseComponents" }
RecipientRelationCodeType = (_, _2, _3, _4, CustomCode149);
{ "urn:ebay:apis:eBLBaseComponents" }
RecommendationEngineCodeType = (ListingAnalyzer, SIFFTAS, ProductPricing, CustomCode150, SuggestedAttributes, ItemSpecifics);
{ "urn:ebay:apis:eBLBaseComponents" }
RefundReasonCodeType = (CannotShipProduct, WrongItemShipped, ItemBadQuality, ItemDamaged, BuyerRemorse, Other3, CustomCode151);
{ "urn:ebay:apis:eBLBaseComponents" }
RefundTypeCodeType = (Full, FullPlusShipping, CustomOrPartial, CustomCode152);
{ "urn:ebay:apis:eBLBaseComponents" }
SMSSubscriptionErrorCodeCodeType = (SMSAggregatorNotAvailable, PhoneNumberInvalid, PhoneNumberChanged, PhoneNumberCarrierChanged, UserRequestedUnregistration, CustomCode153);
{ "urn:ebay:apis:eBLBaseComponents" }
SMSSubscriptionUserStatusCodeType = (Registered2, Unregistered, Pending8, Failed2, CustomCode154);
{ "urn:ebay:apis:eBLBaseComponents" }
SearchFlagsCodeType = (Charity, SearchInDescription, PayPalBuyerPaymentOption, NowAndNew, CustomCode155);
{ "urn:ebay:apis:eBLBaseComponents" }
SearchResultValuesCodeType = (Escrow2, New5, CharityListing, Picture, Gift, CustomCode156);
{ "urn:ebay:apis:eBLBaseComponents" }
SearchSortOrderCodeType = (
SortByEndDate,
SortByStartDate,
SortByCurrentBid,
SortByListingDate,
SortByCurrentBidAsc,
SortByCurrentBidDesc,
SortByPayPalAsc,
SortByPayPalDesc,
SortByEscrowAsc,
SortByEscrowDesc,
SortByCountryAsc,
SortByCountryDesc,
SortByDistanceAsc,
SortByBidCountAsc,
SortByBidCountDesc,
BestMatchSort2,
CustomCode157,
BestMatchCategoryGroup2,
PricePlusShippingAsc2,
PricePlusShippingDesc2
);
{ "urn:ebay:apis:eBLBaseComponents" }
SearchTypeCodeType = (All6, Gallery2, CustomCode158);
{ "urn:ebay:apis:eBLBaseComponents" }
SecondChanceOfferDurationCodeType = (Days_1, Days_32, Days_52, Days_72, CustomCode159);
{ "urn:ebay:apis:eBLBaseComponents" }
SellerBusinessCodeType = (Undefined, Private_, Commercial, CustomCode160);
{ "urn:ebay:apis:eBLBaseComponents" }
SellerGuaranteeLevelCodeType = (NotEligible, Regular, Premium, Ultra, CustomCode161);
{ "urn:ebay:apis:eBLBaseComponents" }
SellerLevelCodeType = (Bronze, Silver, Gold, Platinum, Titanium, None14, CustomCode162);
{ "urn:ebay:apis:eBLBaseComponents" }
SellerPaymentMethodCodeType = (NothingOnFile, CreditCard, DirectDebit, DirectDebitPendingSignatureMandate, eBayDirectPay, CustomCode163);
{ "urn:ebay:apis:eBLBaseComponents" }
SetUserNotesActionCodeType = (AddOrUpdate, Delete3, CustomCode164);
{ "urn:ebay:apis:eBLBaseComponents" }
ShippingCarrierCodeType = (
UPS,
USPS,
DeutschePost,
DHL,
Hermes,
iLoxx,
Other4,
ColiposteDomestic,
ColiposteInternational,
Chronopost,
Correos,
Seur,
CustomCode165
);
{ "urn:ebay:apis:eBLBaseComponents" }
ShippingPackageCodeType = (
None15,
Letter,
LargeEnvelope,
USPSLargePack,
VeryLargePack,
ExtraLargePack,
UPSLetter,
USPSFlatRateEnvelope,
PackageThickEnvelope,
Roll,
Europallet,
OneWayPallet,
BulkyGoods,
Furniture,
Cars,
Motorbikes,
Caravan,
IndustryVehicles,
ParcelOrPaddedEnvelope,
SmallCanadaPostBox,
MediumCanadaPostBox,
LargeCanadaPostBox,
SmallCanadaPostBubbleMailer,
MediumCanadaPostBubbleMailer,
LargeCanadaPostBubbleMailer,
PaddedBags,
ToughBags,
ExpandableToughBags,
MailingBoxes,
Winepak,
CustomCode166
);
{ "urn:ebay:apis:eBLBaseComponents" }
ShippingRateTypeCodeType = (OnDemand, DailyPickup, CustomCode167);
{ "urn:ebay:apis:eBLBaseComponents" }
ShippingServiceCodeType = (
UPSGround,
UPS3rdDay,
UPS2ndDay,
UPSNextDay,
USPSPriority,
USPSParcel,
USPSMedia,
USPSFirstClass,
ShippingMethodStandard,
ShippingMethodExpress,
USPSExpressMail,
UPSNextDayAir,
UPS2DayAirAM,
USPSExpressMailFlatRateEnvelope,
USPSPriorityMailFlatRateEnvelope,
USPSPriorityMailFlatRateBox,
Other5,
LocalDelivery,
NotSelected,
InternationalNotSelected,
StandardInternational,
ExpeditedInternational,
USPSGlobalExpress,
USPSGlobalPriority,
USPSEconomyParcel,
USPSEconomyLetter,
USPSAirmailLetter,
USPSAirmailParcel,
UPSWorldWideExpressPlus,
UPSWorldWideExpress,
UPSWorldWideExpedited,
UPSStandardToCanada,
USPSExpressMailInternationalFlatRateEnvelope,
USPSPriorityMailInternationalFlatRateEnvelope,
USPSPriorityMailInternationalFlatRateBox,
OtherInternational,
AT_StandardDispatch,
AT_InsuredDispatch,
AT_Writing,
AT_COD,
AT_ExpressOrCourier,
AT_InsuredExpressOrCourier,
AT_SpecialDispatch,
AT_InsuredSpecialDispatch,
AT_Sonstige,
AT_UnversicherterVersandInternational,
AT_VersicherterVersandInternational,
AT_SonstigerVersandInternational,
AT_UnversicherterExpressVersandInternational,
AT_VersicherterExpressVersandInternational,
AU_Regular,
AU_Express,
AU_Registered,
AU_Courier,
AU_Other,
AU_EMSInternationalCourierParcels,
AU_EMSInternationalCourierDocuments,
AU_ExpressPostInternationalDocuments,
AU_AirMailInternational,
AU_EconomyAirInternational,
AU_SeaMailInternational,
AU_StandardInternational,
AU_ExpeditedInternational,
AU_OtherInternational,
BEFR_StandardDelivery,
BEFR_PriorityDelivery,
BEFR_ParcelPost,
BEFR_RegisteredMail,
BEFR_Other,
BEFR_DePostInternational,
BEFR_UPSInternational,
BEFR_FedExInternational,
BEFR_DHLInternational,
BEFR_TPGPostTNTInternational,
BEFR_StandardInternational,
BEFR_ExpeditedInternational,
BEFR_OtherInternational,
BEFR_LaPosteInternational,
BENL_StandardDelivery,
BENL_PriorityDelivery,
BENL_ParcelPost,
BENL_RegisteredMail,
BENL_Other,
BENL_DePostInternational,
BENL_UPSInternational,
BENL_FedExInternational,
BENL_DHLInternational,
BENL_TPGPostTNTInternational,
BENL_StandardInternational,
BENL_ExpeditedInternational,
BENL_OtherInternational,
BENL_LaPosteInternational,
CA_StandardDelivery,
CA_ExpeditedDelivery,
CA_PostLettermail,
CA_PostRegularParcel,
CA_PostExpeditedParcel,
CA_PostXpresspost,
CA_PostPriorityCourier,
CA_StandardInternational,
CA_ExpeditedInternational,
CA_OtherInternational,
CA_PostExpeditedParcelUSA,
CA_PostSmallPacketsUSA,
CA_PostXpresspostUSA,
CA_PostXpresspostInternational,
CA_PostInternationalParcelSurface,
CA_PostInternationalParcelAir,
CA_SmallPacketsInternational,
CA_PurolatorInternational,
CA_PostSmallPacketsUSAGround,
CA_PostSmallPacketsUSAAir,
CA_SmallPacketsInternationalGround,
CA_SmallPacketsInternationalAir,
CA_PostUSALetterPost,
CA_PostInternationalLetterPost,
CA_UPSExpressCanada,
CA_UPSExpressSaverCanada,
CA_UPSExpeditedCanada,
CA_UPSStandardCanada,
CA_UPSExpressUnitedStates,
CA_UPSExpeditedUnitedStates,
CA_UPS3DaySelectUnitedStates,
CA_UPSStandardUnitedStates,
CA_UPSWorldWideExpress,
CA_UPSWorldWideExpedited,
CH_StandardDispatchAPost,
CH_StandardDispatchBPost,
CH_InsuredDispatch,
CH_Writing,
CH_COD,
CH_ExpressOrCourier,
CH_InsuredExpressOrCourier,
CH_SpecialDispatch,
CH_InsuredSpecialDispatch,
CH_Sonstige,
CH_SonstigerVersandInternational,
CH_EconomySendungenInternational,
CH_PrioritySendungenInternational,
CH_UrgentSendungenInternational,
CN_PersonalDelivery,
CN_RegularPackage,
CN_DeliveryCompanyExpress,
CN_PostOfficeExpress,
CN_Others,
CN_FastPostOffice,
CN_ExpressDeliverySameCity,
CN_ExpressDeliveryOtherCities,
CN_StandardInternational,
CN_ExpeditedInternational,
CN_OtherInternational,
CN_CODInternational,
CN_StandardMailingInternational,
CN_RegularLogisticsInternational,
CN_EMSInternational,
CN_OthersInternational,
DE_StandardDispatch,
DE_InsuredDispatch,
DE_Writing,
DE_COD,
DE_ExpressOrCourier,
DE_InsuredExpressOrCourier,
DE_SpecialDispatch,
DE_InsuredSpecialDispatch,
DE_UnversicherterVersand,
DE_DeutschePostBrief,
DE_DHLPostpaket,
DE_DHLPackchen,
DE_DeutschePostWarensendung,
DE_DeutschePostBuchersendung,
DE_HermesPaketUnversichert,
DE_HermesPaketVersichert,
DE_IloxxTransportXXL,
DE_IloxxUbernachtExpress,
DE_IloxxStandard,
DE_Sonstige,
DE_UnversicherterVersandInternational,
DE_VersicherterVersandInternational,
DE_DHLPostpaketInternational,
DE_DHLPackchenInternational,
DE_SonstigerVersandInternational,
DE_UnversicherterExpressVersandInternational,
DE_VersicherterExpressVersandInternational,
DE_DeutschePostBriefLandInternational,
DE_DeutschePostBriefLuftInternational,
DE_IloxxEuropaInternational,
DE_IloxxWorldWideInternational,
ES_CartasNacionalesHasta20,
ES_CartasNacionalesDeMas20,
ES_CartasInternacionalesHasta20,
ES_CartasInternacionalesDeMas20,
ES_PaqueteAzulHasta2kg,
ES_PaqueteAzulDeMas2kg,
ES_PaqueteInternacionalEconomico,
ES_Urgente,
ES_Otros,
ES_StandardInternational,
ES_ExpeditedInternational,
ES_OtherInternational,
ES_CartasPostalInternational,
ES_EmsPostalExpressInternational,
ES_EconomyPacketInternational,
FR_ChronoposteInternationalClassic,
FR_ColiposteColissimoDirect,
FR_DHLExpressEuropack,
FR_UPSStandard,
FR_PostOfficeLetter,
FR_PostOfficeLetterFollowed,
FR_PostOfficeLetterRecommended,
FR_ColiposteColissimo,
FR_ColiposteColissimoRecommended,
FR_UPSStandardAgainstRefund,
FR_Autre,
FR_Ecopli,
FR_Colieco,
FR_AuteModeDenvoiDeColis,
FR_RemiseEnMainPropre,
FR_StandardInternational,
FR_ExpeditedInternational,
FR_OtherInternational,
FR_LaPosteInternationalPriorityCourier,
FR_LaPosteInternationalEconomyCourier,
FR_LaPosteColissimoInternational,
FR_LaPosteColisEconomiqueInternational,
FR_LaPosteColissimoEmballageInternational,
FR_ChronopostClassicInternational,
FR_ChronopostPremiumInternational,
FR_UPSStandardInternational,
FR_UPSExpressInternational,
FR_DHLInternational,
FR_LaPosteLetterMax,
IN_Regular,
IN_Express,
IN_NationalCOD,
IN_Courier,
IN_LocalCOD,
IN_StandardInternational,
IN_ExpeditedInternational,
IN_OtherInternational,
IN_FlatRateCOD,
IN_BuyerPicksUpAndPays,
IT_RegularMail,
IT_PriorityMail,
IT_MailRegisteredLetter,
IT_MailRegisteredLetterWithMark,
IT_InsuredMail,
IT_QuickMail,
IT_RegularPackage,
IT_QuickPackage1,
IT_QuickPackage3,
IT_ExpressCourier,
IT_StandardInternational,
IT_ExpeditedInternational,
IT_OtherInternational,
NL_StandardDelivery,
NL_ParcelPost,
NL_RegisteredMail,
NL_Other,
NL_TPGPostTNTInternational,
NL_UPSInternational,
NL_FedExInternational,
NL_DHLInternational,
NL_DPDGBRInternational,
NL_GLSBusinessInternational,
NL_StandardInternational,
NL_ExpeditedInternational,
NL_OtherInternational,
TW_RegisteredMail,
TW_UnregisteredMail,
TW_COD,
TW_DwellingMatchPost,
TW_DwellingMatchCOD,
TW_SelfPickup,
TW_ParcelPost,
TW_ExpressMail,
TW_Other,
TW_CPInternationalLetterPost,
TW_CPInternationalParcelPost,
TW_CPInternationalRegisteredLetterPost,
TW_CPInternationalRegisteredParcelPost,
TW_CPInternationalEMS,
TW_CPInternationalOceanShippingParcel,
TW_FedExInternationalPriority,
TW_FedExInternationalEconomy,
TW_UPSWorldwideExpedited,
TW_UPSWorldwideExpress,
TW_UPSWorldwideExpressPlus,
TW_OtherInternational,
UK_RoyalMailFirstClassStandard,
UK_RoyalMailSecondClassStandard,
UK_RoyalMailFirstClassRecorded,
UK_RoyalMailSecondClassRecorded,
UK_RoyalMailSpecialDelivery,
UK_RoyalMailStandardParcel,
UK_Parcelforce24,
UK_Parcelforce48,
UK_OtherCourier,
UK_SellersStandardRate,
UK_CollectInPerson,
UK_SellersStandardInternationalRate,
UK_RoyalMailAirmailInternational,
UK_RoyalMailAirsureInternational,
UK_RoyalMailSurfaceMailInternational,
UK_RoyalMailInternationalSignedFor,
UK_RoyalMailHMForcesMailInternational,
UK_ParcelForceInternationalDatapost,
UK_ParcelForceIreland24International,
UK_ParcelForceEuro48International,
UK_ParcelForceInternationalScheduled,
UK_OtherCourierOrDeliveryInternational,
UK_CollectInPersonInternational,
IE_SellersStandardRate,
IE_FirstClassLetterService,
IE_SwiftPostNational,
IE_RegisteredPost,
IE_EMSSDSCourier,
IE_EconomySDSCourier,
IE_OtherCourier,
IE_CollectionInPerson,
IE_SellersStandardRateInternational,
IE_InternationalEconomyService,
IE_InternationalPriorityService,
IE_SwiftPostExpressInternational,
IE_SwiftPostInternational,
IE_EMSSDSCourierInternational,
IE_EconomySDSCourierInternational,
IE_OtherCourierInternational,
IE_CollectionInPersonInternational,
PL_DomesticRegular,
PL_DomesticSpecial,
FreightShipping,
FreightShippingInternational,
USPSGround,
ShippingMethodOvernight,
CustomCode168,
USPSPriorityFlatRateEnvelope,
USPSPriorityFlatRateBox,
USPSGlobalPrioritySmallEnvelope,
USPSGlobalPriorityLargeEnvelope,
USPSExpressFlatRateEnvelope,
UPSWorldWideExpressBox10kg,
UPSWorldWideExpressBox25kg,
UPSWorldWideExpressPlusBox10kg,
UPSWorldWideExpressPlusBox25kg,
HK_LocalPickUpOnly,
HK_LocalCourier,
HK_DomesticRegularShipping,
HK_DomesticSpecialShipping,
HK_InternationalRegularShipping,
HK_InternationalSpecialShipping,
SG_LocalPickUpOnly,
SG_LocalCourier,
SG_DomesticStandardMail,
SG_DomesticNonStandardMail,
SG_DomesticSpeedpostIslandwide,
SG_InternationalStandardMail,
SG_InternationalExpressMailService,
SG_InternationalCourier,
BENL_DePostZendingNONPRIOR,
BENL_DePostZendingPRIOR,
BENL_DePostZendingAangetekend,
BENL_KilopostPakje,
BENL_Taxipost,
BENL_KialaAfhaalpunt,
BENL_VasteKostenStandaardVerzending,
BENL_VasteKostenVersneldeVerzending,
BENL_VerzekerdeVerzending,
BEFR_LaPosteEnvoiNONPRIOR,
BEFR_LaPosteEnvoiPRIOR,
BEFR_LaPosteEnvoiRecommande,
BEFR_PaquetKilopost,
BEFR_Taxipost,
BEFR_PointRetraitKiala,
BEFR_LivraisonStandardPrixforFaitaire,
BEFR_LivraisonExpressPrixforFaitaire,
BEFR_LivraisonSecurise,
BENL_DePostZendingPRIORInternational,
BENL_DePostZendingNONPRIORInternational,
BENL_DePostZendingAangetekendInternational,
BENL_KilopostPakjeInternational,
BENL_TaxipostExpressverzending,
BENL_VerzekerdeVerzendingInternational,
BEFR_LaPosteenvoiePRIOR,
BEFR_LaPosteenvoieNONPRIOR,
BEFR_LaPosteenvoieRecommande,
BEFR_PaquetKilopostInternationale,
BEFR_ExpressTaxipost,
BEFR_LivraisonStandardInternationalePrixforFaitaire,
BEFR_LivraisonExpressInternationalePrixforFaitaire,
BEFR_LivraisonSecuriseInternational,
FR_Chronopost,
UK_RoyalMailSpecialDeliveryNextDay,
CA_PostLightPacketInternational,
CA_PostLightPacketUSA,
PL_DHLInternational,
PL_InternationalRegular,
PL_InternationalSpecial,
PL_UPSInternational,
CAFR_StandardDelivery,
CAFR_ExpeditedDelivery,
CAFR_PostLettermail,
CAFR_PostRegularParcel,
CAFR_PostExpeditedParcel,
CAFR_PostXpresspost,
CAFR_PostPriorityCourier,
CAFR_StandardInternational,
CAFR_ExpeditedInternational,
CAFR_OtherInternational,
CAFR_PostExpeditedParcelUSA,
CAFR_PostSmallPacketsUSA,
CAFR_PostXpresspostUSA,
CAFR_PostXpresspostInternational,
CAFR_PostInternationalParcelSurface,
CAFR_PostInternationalParcelAir,
CAFR_SmallPacketsInternational,
CAFR_PurolatorInternational,
CAFR_PostSmallPacketsUSAGround,
CAFR_PostSmallPacketsUSAAir,
CAFR_SmallPacketsInternationalGround,
CAFR_SmallPacketsInternationalAir,
CAFR_PostUSALetterPost,
CAFR_PostInternationalLetterPost,
CAFR_UPSExpressCanada,
CAFR_UPSExpressSaverCanada,
CAFR_UPSExpeditedCanada,
CAFR_UPSStandardCanada,
CAFR_UPSExpressUnitedStates,
CAFR_UPSExpeditedUnitedStates,
CAFR_UPS3DaySelectUnitedStates,
CAFR_UPSStandardUnitedStates,
CAFR_UPSWorldWideExpress,
CAFR_UPSWorldWideExpedited,
UK_RoyalMailSpecialDelivery9am,
USPSFirstClassMailInternational,
USPSPriorityMailInternational,
USPSExpressMailInternational,
CH_StandardInternational,
CH_ExpeditedInternational,
CH_SonstigerVersandSieheArtikelbeschreibung,
TW_StandardInternationalFixedRate,
TW_ExpeditedInternationalFixedRate,
USPSGlobalExpressGuaranteed,
AU_RegularWithInsurance,
AU_ExpressWithInsurance,
DE_DeutschePostWarensendungInternational,
DE_DeutschePostByendung,
DE_HermesPaketUnversichertInternational,
DE_HermesPaketVersichertInternational,
DE_iLoxxTransportXXLInternational,
DE_iLoxxUbernachtExpressInternational,
DE_iLoxxStandardInternational,
DE_StandardInternational,
DE_ExpeditedInternational,
AT_BitteTreffenSieEineAuswahl,
AT_EinschreibenVersandInklEinschreibengebuhr,
AT_NachnahmeVersandInklNachnahmegebuhr,
AT_ExpressOrCourierInternational,
AT_InsuredExpressOrCourierInternational,
AT_SpecialDispatchInternational,
AT_InsuredSpecialDispatchInternational,
AT_StandardInternational,
AT_ExpeditedInternational,
AT_OtherInternationalShipping,
CH_BitteTreffenSieEineAuswahl,
CH_UnversicherterVersand,
CH_VersicherterVersand,
CH_EinschreibenVersandInklEinschreibengebuhr,
CH_NachnahmeVersandInklNachnahmegebuhr,
CH_ExpressOrCourierInternational,
CH_InsuredExpressOrCourierInternational,
CH_SonderversandZBSperrgutKFZ,
CH_VersicherterSonderversandZBSperrgutKFZ,
CH_StandardversandAPostPriority,
CH_StandardversandBPostEconomy,
DE_BitteTreffenSieEineAuswahl,
DE_EinschreibenVersandInklEinschreibengebuhr,
DE_NachnahmeVersandInklNachnahmegebuhr,
DE_ExpressOrCourierInternational,
DE_InsuredExpressOrCourierInternational,
DE_SonderversandZBMobelKFZ,
DE_VersicherterSonderversandZBMobelKFZ,
DE_DeutschePostBriefInternational,
IE_StandardInternationalFlatRatePostage,
IE_ExpeditedInternationalFlatRatePostage,
IE_OtherInternationalPostage,
UK_StandardInternationalFlatRatePostage,
UK_ExpeditedInternationalFlatRatePostage,
UK_OtherInternationalPostage,
FR_ChronopostChronoRelais,
FR_Chrono10,
FR_Chrono13,
FR_Chrono18,
FR_ChronopostExpressInternational,
Pickup,
Delivery,
CA_Pickup,
DE_Pickup,
AU_Pickup,
FR_Pickup,
AT_Pickup,
BENL_Pickup,
BEFR_Pickup,
CH_Pickup,
IT_Pickup,
NL_Pickup,
PL_Pickup,
ES_Pickup,
SG_Delivery
);
{ "urn:ebay:apis:eBLBaseComponents" }
ShippingTypeCodeType = (Flat, Calculated, Freight, Free2, NotSpecified, FlatDomesticCalculatedInternational, CalculatedDomesticFlatInternational, CustomCode169);
{ "urn:ebay:apis:eBLBaseComponents" }
SiteCodeType = (
US2,
Canada,
UK,
Australia,
Austria,
Belgium_French,
France,
Germany,
Italy,
Belgium_Dutch,
Netherlands,
Spain,
Switzerland,
Taiwan,
eBayMotors,
HongKong,
Singapore,
India,
China,
Ireland,
Malaysia,
Philippines,
Poland,
Sweden,
CustomCode170,
CanadaFrench
);
{ "urn:ebay:apis:eBLBaseComponents" }
SiteIDFilterCodeType = (ListedInCurrencyImplied, LocatedInCountryImplied, AvailableInCountryImplied, SiteImplied, BelgiumListing, CustomCode171);
{ "urn:ebay:apis:eBLBaseComponents" }
SkypeContactOptionCodeType = (Chat, Voice, CustomCode172);
{ "urn:ebay:apis:eBLBaseComponents" }
SortOrderCodeType = (Ascending, Descending, CustomCode173);
{ "urn:ebay:apis:eBLBaseComponents" }
StatusCodeType = (Active7, Inactive4, CustomCode174);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreCategoryUpdateActionCodeType = (Add4, Delete4, Move2, Rename3, CustomCode175);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreCustomHeaderLayoutCodeType = (NoHeader, CustomHeaderShown, CustomCode176);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreCustomListingHeaderDisplayCodeType = (None16, Full2, FullAndLeftNavigationBar, CustomCode177);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreCustomListingHeaderLinkCodeType = (None17, AboutMePage, CustomPage, CustomCategory, CustomCode178);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreCustomPageStatusCodeType = (Active8, Delete5, Inactive5, CustomCode179);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreFontFaceCodeType = (Arial, Courier, Times, Verdana, CustomCode180);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreFontSizeCodeType = (XXS, XS, S, M2, L, XL, XXL, CustomCode181);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreHeaderStyleCodeType = (Full3, Minimized, CustomCode182);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreItemListLayoutCodeType = (ListView, GalleryView, CustomCode183);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreItemListSortOrderCodeType = (EndingFirst, NewlyListed2, LowestPriced, HighestPriced, CustomCode184);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreSearchCodeType = (AllItemsInTheStore, AuctionItemsInTheStore, BuyItNowItemsInTheStore, BuyItNowItemsInAllStores, CustomCode185);
{ "urn:ebay:apis:eBLBaseComponents" }
StoreSubscriptionLevelCodeType = (Close, Basic, Featured4, Anchor, CustomCode186);
{ "urn:ebay:apis:eBLBaseComponents" }
StringMatchCodeType = (CustomCode187, StartsWith, Contains_);
{ "urn:ebay:apis:eBLBaseComponents" }
SummaryFrequencyCodeType = (
EverySunday,
EveryMonday,
EveryTuesday,
EveryWednesday,
EveryThursday,
EveryFriday,
EverySaturday,
MonthlyOn1st,
MonthlyOn2nd,
MonthlyOn3rd,
MonthlyOn4th,
MonthlyOn5th,
MonthlyOn6th,
MonthlyOn7th,
MonthlyOn8th,
MonthlyOn9th,
MonthlyOn10th,
MonthlyOn11th,
MonthlyOn12th,
MonthlyOn13th,
MonthlyOn14th,
MonthlyOn15th,
MonthlyOn16th,
MonthlyOn17th,
MonthlyOn18th,
MonthlyOn19th,
MonthlyOn20th,
MonthlyOn21st,
MonthlyOn22nd,
MonthlyOn23rd,
MonthlyOn24th,
MonthlyOn25th,
MonthlyOn26th,
MonthlyOn27th,
MonthlyOn28th,
MonthlyOn29th,
MonthlyOn30th,
MonthlyOn31st,
Every31Days,
Every60Days,
CustomCode188
);
{ "urn:ebay:apis:eBLBaseComponents" }
SummaryWindowPeriodCodeType = (Last24Hours, Last7Days, Last31Days, CurrentWeek, LastWeek, CurrentMonth, LastMonth, Last60Days, CustomCode189);
{ "urn:ebay:apis:eBLBaseComponents" }
TaskStatusCodeType = (Pending9, InProgress2, Complete2, Failed3, CustomCode190);
{ "urn:ebay:apis:eBLBaseComponents" }
TicketEventTypeCodeType = (
Any,
DE_ComedyAndKabarett,
DE_FreizeitAndEvents,
DE_KonzerteAndFestivals,
DE_KulturAndKlassik,
DE_MusicalsAndShows,
DE_Sportveranstaltungen,
DE_Sonstige2,
UK_AmusementParks,
UK_Comedy,
UK_ConcertsAndGigs,
UK_ConferencesAndSeminars,
UK_ExhibitionsAndShows,
UK_Experiences,
UK_SportingEvents,
UK_TheatreCinemaAndCircus,
UK_Other,
US_Concerts,
US_Movies,
US_SportingEvents,
US_Theater,
US_Other,
CustomCode191
);
{ "urn:ebay:apis:eBLBaseComponents" }
TokenReturnMethodCodeType = (Redirect, FetchToken, CustomCode192);
{ "urn:ebay:apis:eBLBaseComponents" }
TradingRoleCodeType = (Buyer2, Seller2, CustomCode193);
{ "urn:ebay:apis:eBLBaseComponents" }
TransactionPlatformCodeType = (eBay4, Express2, Half2, Shopping, CustomCode194);
{ "urn:ebay:apis:eBLBaseComponents" }
TransactionPlatformType = (eBay5, Express3);
{ "urn:ebay:apis:eBLBaseComponents" }
UPSRateOptionCodeType = (UPSDailyRates, UPSOnDemandRates, CustomCode195);
{ "urn:ebay:apis:eBLBaseComponents" }
URLTypeCodeType = (
ViewItemURL,
ViewUserURL,
MyeBayURL,
MyeBayBiddingURL,
MyeBayNotWonURL,
MyeBayWonURL,
MyeBayWatchingURL,
eBayStoreURL,
SmallLogoURL,
MediumLogoURL,
LargeLogoURL,
CustomCode196
);
{ "urn:ebay:apis:eBLBaseComponents" }
UserStatusCodeType = (
Unknown7,
Suspended2,
Confirmed2,
Unconfirmed2,
Ghost,
InMaintenance,
Deleted2,
CreditCardVerify,
AccountOnHold,
Merged2,
RegistrationCodeMailOut,
TermPending,
UnconfirmedHalfOptIn,
CreditCardVerifyHalfOptIn,
UnconfirmedPassport,
CreditCardVerifyPassport,
UnconfirmedExpress,
Guest,
CustomCode197
);
{ "urn:ebay:apis:eBLBaseComponents" }
VATStatusCodeType = (NoVATTax, VATTax, VATExempt, CustomCode198);
{ "urn:ebay:apis:eBLBaseComponents" }
VeROItemStatusCodeType = (Received, Submitted, Removed, SubmissionFailed, ClarificationRequired, CustomCode199);
{ "urn:ebay:apis:eBLBaseComponents" }
VeROReportPacketStatusCodeType = (Received2, InProcess2, Processed, CustomCode200);
{ "urn:ebay:apis:eBLBaseComponents" }
WirelessCarrierIDCodeType = (
Cingular,
TMobile,
Sprint,
Nextel,
Verizon,
CincinnatiBell,
Dobson,
Alltel,
Leap,
USCellular,
Movistar,
Amena,
Vodafone,
ATT,
CustomCode201
);
{ "urn:ebay:apis:eBLBaseComponents" }
WishListSortCodeType = (CreationDateDescending, CreationDateAscending, PriceAscending, PriceDescending2, CustomCode202);
DisputeIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
UUIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
BestOfferIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
ItemIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesAlertIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesMessageIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
OrderIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
SKUType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
UserIDType = type WideString; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessagesAAQToBidderRequestType = array of AddMemberMessagesAAQToBidderRequestContainerType; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessagesAAQToBidderRequest = AddMemberMessagesAAQToBidderRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
AddMemberMessagesAAQToBidderResponseType = array of AddMemberMessagesAAQToBidderResponseContainerType; { "urn:ebay:apis:eBLBaseComponents" }
AddMemberMessagesAAQToBidderResponse = AddMemberMessagesAAQToBidderResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
AddToWatchListRequestType = array of ItemIDType; { "urn:ebay:apis:eBLBaseComponents" }
AddToWatchListRequest = AddToWatchListRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetApiAccessRulesResponseType = array of ApiAccessRuleType; { "urn:ebay:apis:eBLBaseComponents" }
GetApiAccessRulesResponse = GetApiAccessRulesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetAttributesXSLResponseType = array of XSLFileType; { "urn:ebay:apis:eBLBaseComponents" }
GetAttributesXSLResponse = GetAttributesXSLResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetCategorySpecificsResponseType = array of CategoryItemSpecificsType; { "urn:ebay:apis:eBLBaseComponents" }
GetCategorySpecificsResponse = GetCategorySpecificsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetCharitiesResponseType = array of CharityInfoType; { "urn:ebay:apis:eBLBaseComponents" }
GetCharitiesResponse = GetCharitiesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetContextualKeywordsResponseType = array of ContextSearchAssetType; { "urn:ebay:apis:eBLBaseComponents" }
GetContextualKeywordsResponse = GetContextualKeywordsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetItemRecommendationsRequestType = array of GetRecommendationsRequestContainerType; { "urn:ebay:apis:eBLBaseComponents" }
GetItemRecommendationsRequest = GetItemRecommendationsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetItemRecommendationsResponseType = array of GetRecommendationsResponseContainerType; { "urn:ebay:apis:eBLBaseComponents" }
GetItemRecommendationsResponse = GetItemRecommendationsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetLiveAuctionCatalogDetailsResponseType = array of LiveAuctionCatalogType; { "urn:ebay:apis:eBLBaseComponents" }
GetLiveAuctionCatalogDetailsResponse = GetLiveAuctionCatalogDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetProductFamilyMembersRequestType = array of ProductSearchType; { "urn:ebay:apis:eBLBaseComponents" }
GetProductFamilyMembersRequest = GetProductFamilyMembersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetProductFinderXSLResponseType = array of XSLFileType; { "urn:ebay:apis:eBLBaseComponents" }
GetProductFinderXSLResponse = GetProductFinderXSLResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GetProductSearchResultsRequestType = array of ProductSearchType; { "urn:ebay:apis:eBLBaseComponents" }
GetProductSearchResultsRequest = GetProductSearchResultsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
GeteBayDetailsRequestType = array of DetailNameCodeType; { "urn:ebay:apis:eBLBaseComponents" }
GeteBayDetailsRequest = GeteBayDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
UserIdPasswordType = class(TRemotable)
private
FAppId: WideString;
FDevId: WideString;
FAuthCert: WideString;
FUsername: WideString;
FPassword: WideString;
published
property AppId: WideString read FAppId write FAppId;
property DevId: WideString read FDevId write FDevId;
property AuthCert: WideString read FAuthCert write FAuthCert;
property Username: WideString read FUsername write FUsername;
property Password: WideString read FPassword write FPassword;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CustomSecurityHeaderType = class(TSOAPHeader)
private
FeBayAuthToken: WideString;
FHardExpirationWarning: WideString;
FCredentials: UserIdPasswordType;
FNotificationSignature: WideString;
public
destructor Destroy; override;
published
property eBayAuthToken: WideString read FeBayAuthToken write FeBayAuthToken;
property HardExpirationWarning: WideString read FHardExpirationWarning write FHardExpirationWarning;
property Credentials: UserIdPasswordType read FCredentials write FCredentials;
property NotificationSignature: WideString read FNotificationSignature write FNotificationSignature;
end;
RequesterCredentials = CustomSecurityHeaderType; { "urn:ebay:apis:eBLBaseComponents"[H] }
LookupAttributeArrayType = array of LookupAttributeType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaymentDetailsType = class(TRemotable)
private
FHoursToDeposit: Integer;
FDaysToFullPayment: Integer;
published
property HoursToDeposit: Integer read FHoursToDeposit write FHoursToDeposit;
property DaysToFullPayment: Integer read FDaysToFullPayment write FDaysToFullPayment;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DistanceType = class(TRemotable)
private
FDistanceMeasurement: Integer;
FDistanceUnit: WideString;
published
property DistanceMeasurement: Integer read FDistanceMeasurement write FDistanceMeasurement;
property DistanceUnit: WideString read FDistanceUnit write FDistanceUnit;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingDesignerType = class(TRemotable)
private
FLayoutID: Integer;
FOptimalPictureSize: Boolean;
FThemeID: Integer;
published
property LayoutID: Integer read FLayoutID write FLayoutID;
property OptimalPictureSize: Boolean read FOptimalPictureSize write FOptimalPictureSize;
property ThemeID: Integer read FThemeID write FThemeID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ReviseStatusType = class(TRemotable)
private
FItemRevised: Boolean;
FBuyItNowAdded: Boolean;
FBuyItNowLowered: Boolean;
FReserveLowered: Boolean;
FReserveRemoved: Boolean;
published
property ItemRevised: Boolean read FItemRevised write FItemRevised;
property BuyItNowAdded: Boolean read FBuyItNowAdded write FBuyItNowAdded;
property BuyItNowLowered: Boolean read FBuyItNowLowered write FBuyItNowLowered;
property ReserveLowered: Boolean read FReserveLowered write FReserveLowered;
property ReserveRemoved: Boolean read FReserveRemoved write FReserveRemoved;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchDetailsType = class(TRemotable)
private
FBuyItNowEnabled: Boolean;
FPicture: Boolean;
FRecentListing: Boolean;
published
property BuyItNowEnabled: Boolean read FBuyItNowEnabled write FBuyItNowEnabled;
property Picture: Boolean read FPicture write FPicture;
property RecentListing: Boolean read FRecentListing write FRecentListing;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExternalProductIDType = class(TRemotable)
private
FValue: WideString;
FReturnSearchResultOnDuplicates: Boolean;
FType_: ExternalProductCodeType;
FAlternateValue: WideString;
published
property Value: WideString read FValue write FValue;
property ReturnSearchResultOnDuplicates: Boolean read FReturnSearchResultOnDuplicates write FReturnSearchResultOnDuplicates;
property Type_: ExternalProductCodeType read FType_ write FType_;
property AlternateValue: WideString read FAlternateValue write FAlternateValue;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingCheckoutRedirectPreferenceType = class(TRemotable)
private
FProStoresStoreName: WideString;
FSellerThirdPartyUsername: WideString;
published
property ProStoresStoreName: WideString read FProStoresStoreName write FProStoresStoreName;
property SellerThirdPartyUsername: WideString read FSellerThirdPartyUsername write FSellerThirdPartyUsername;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AddressType = class(TRemotable)
private
FName_: WideString;
FStreet: WideString;
FStreet1: WideString;
FStreet2: WideString;
FCityName: WideString;
FCounty: WideString;
FStateOrProvince: WideString;
FCountry: CountryCodeType;
FCountryName: WideString;
FPhone: WideString;
FPhoneCountryCode: CountryCodeType;
FPhoneCountryPrefix: WideString;
FPhoneAreaOrCityCode: WideString;
FPhoneLocalNumber: WideString;
FPhone2CountryCode: CountryCodeType;
FPhone2CountryPrefix: WideString;
FPhone2AreaOrCityCode: WideString;
FPhone2LocalNumber: WideString;
FPostalCode: WideString;
FAddressID: WideString;
FAddressOwner: AddressOwnerCodeType;
FAddressStatus: AddressStatusCodeType;
FExternalAddressID: WideString;
FInternationalName: WideString;
FInternationalStateAndCity: WideString;
FInternationalStreet: WideString;
FCompanyName: WideString;
FAddressRecordType: AddressRecordTypeCodeType;
published
property Name_: WideString read FName_ write FName_;
property Street: WideString read FStreet write FStreet;
property Street1: WideString read FStreet1 write FStreet1;
property Street2: WideString read FStreet2 write FStreet2;
property CityName: WideString read FCityName write FCityName;
property County: WideString read FCounty write FCounty;
property StateOrProvince: WideString read FStateOrProvince write FStateOrProvince;
property Country: CountryCodeType read FCountry write FCountry;
property CountryName: WideString read FCountryName write FCountryName;
property Phone: WideString read FPhone write FPhone;
property PhoneCountryCode: CountryCodeType read FPhoneCountryCode write FPhoneCountryCode;
property PhoneCountryPrefix: WideString read FPhoneCountryPrefix write FPhoneCountryPrefix;
property PhoneAreaOrCityCode: WideString read FPhoneAreaOrCityCode write FPhoneAreaOrCityCode;
property PhoneLocalNumber: WideString read FPhoneLocalNumber write FPhoneLocalNumber;
property Phone2CountryCode: CountryCodeType read FPhone2CountryCode write FPhone2CountryCode;
property Phone2CountryPrefix: WideString read FPhone2CountryPrefix write FPhone2CountryPrefix;
property Phone2AreaOrCityCode: WideString read FPhone2AreaOrCityCode write FPhone2AreaOrCityCode;
property Phone2LocalNumber: WideString read FPhone2LocalNumber write FPhone2LocalNumber;
property PostalCode: WideString read FPostalCode write FPostalCode;
property AddressID: WideString read FAddressID write FAddressID;
property AddressOwner: AddressOwnerCodeType read FAddressOwner write FAddressOwner;
property AddressStatus: AddressStatusCodeType read FAddressStatus write FAddressStatus;
property ExternalAddressID: WideString read FExternalAddressID write FExternalAddressID;
property InternationalName: WideString read FInternationalName write FInternationalName;
property InternationalStateAndCity: WideString read FInternationalStateAndCity write FInternationalStateAndCity;
property InternationalStreet: WideString read FInternationalStreet write FInternationalStreet;
property CompanyName: WideString read FCompanyName write FCompanyName;
property AddressRecordType: AddressRecordTypeCodeType read FAddressRecordType write FAddressRecordType;
end;
NameValueListArrayType = array of NameValueListType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BuyerProtectionDetailsType = class(TRemotable)
private
FBuyerProtectionSource: BuyerProtectionSourceCodeType;
FBuyerProtectionStatus: BuyerProtectionCodeType;
published
property BuyerProtectionSource: BuyerProtectionSourceCodeType read FBuyerProtectionSource write FBuyerProtectionSource;
property BuyerProtectionStatus: BuyerProtectionCodeType read FBuyerProtectionStatus write FBuyerProtectionStatus;
end;
{ ============ WARNING ============ }
{ WARNING - Attribute - Name:attributeID, Type:Integer }
{ WARNING - Attribute - Name:attributeLabel, Type:WideString }
AttributeType = array of ValType; { "urn:ebay:apis:eBLBaseComponents" }
{ ============ WARNING ============ }
{ WARNING - Attribute - Name:attributeSetID, Type:Integer }
{ WARNING - Attribute - Name:attributeSetVersion, Type:WideString }
AttributeSetType = array of AttributeType; { "urn:ebay:apis:eBLBaseComponents" }
AttributeSetArrayType = array of AttributeSetType; { "urn:ebay:apis:eBLBaseComponents" }
AttributeArrayType = array of AttributeType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ValType = class(TRemotable)
private
FValueLiteral: WideString;
FSuggestedValueLiteral: WideString;
FValueID: Integer;
published
property ValueLiteral: WideString read FValueLiteral write FValueLiteral;
property SuggestedValueLiteral: WideString read FSuggestedValueLiteral write FSuggestedValueLiteral;
property ValueID: Integer read FValueID write FValueID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LookupAttributeType = class(TRemotable)
private
FName_: WideString;
FValue: WideString;
published
property Name_: WideString read FName_ write FName_;
property Value: WideString read FValue write FValue;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AmountType = class(TRemotable)
private
FcurrencyID: CurrencyCodeType;
published
property currencyID: CurrencyCodeType read FcurrencyID write FcurrencyID stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LiveAuctionDetailsType = class(TRemotable)
private
FUserCatalogID: Integer;
FScheduleID: Integer;
FLotNumber: WideString;
FHighEstimate: AmountType;
FLowEstimate: AmountType;
public
destructor Destroy; override;
published
property UserCatalogID: Integer read FUserCatalogID write FUserCatalogID;
property ScheduleID: Integer read FScheduleID write FScheduleID;
property LotNumber: WideString read FLotNumber write FLotNumber;
property HighEstimate: AmountType read FHighEstimate write FHighEstimate;
property LowEstimate: AmountType read FLowEstimate write FLowEstimate;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BestOfferDetailsType = class(TRemotable)
private
FBestOfferCount: Integer;
FBestOfferEnabled: Boolean;
FBestOffer: AmountType;
FBestOfferStatus: BestOfferStatusCodeType;
FBestOfferType: BestOfferTypeCodeType;
public
destructor Destroy; override;
published
property BestOfferCount: Integer read FBestOfferCount write FBestOfferCount;
property BestOfferEnabled: Boolean read FBestOfferEnabled write FBestOfferEnabled;
property BestOffer: AmountType read FBestOffer write FBestOffer;
property BestOfferStatus: BestOfferStatusCodeType read FBestOfferStatus write FBestOfferStatus;
property BestOfferType: BestOfferTypeCodeType read FBestOfferType write FBestOfferType;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BiddingDetailsType = class(TRemotable)
private
FConvertedMaxBid: AmountType;
FMaxBid: AmountType;
FQuantityBid: Integer;
FQuantityWon: Integer;
FWinning: Boolean;
FBidAssistant: Boolean;
public
destructor Destroy; override;
published
property ConvertedMaxBid: AmountType read FConvertedMaxBid write FConvertedMaxBid;
property MaxBid: AmountType read FMaxBid write FMaxBid;
property QuantityBid: Integer read FQuantityBid write FQuantityBid;
property QuantityWon: Integer read FQuantityWon write FQuantityWon;
property Winning: Boolean read FWinning write FWinning;
property BidAssistant: Boolean read FBidAssistant write FBidAssistant;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
VATDetailsType = class(TRemotable)
private
FBusinessSeller: Boolean;
FRestrictedToBusiness: Boolean;
FVATPercent: Single;
published
property BusinessSeller: Boolean read FBusinessSeller write FBusinessSeller;
property RestrictedToBusiness: Boolean read FRestrictedToBusiness write FRestrictedToBusiness;
property VATPercent: Single read FVATPercent write FVATPercent;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharityType = class(TRemotable)
private
FCharityName: WideString;
FCharityNumber: Integer;
FDonationPercent: Single;
FCharityID: WideString;
FMission: WideString;
FLogoURL: WideString;
FStatus: CharityStatusCodeType;
FCharityListing: Boolean;
published
property CharityName: WideString read FCharityName write FCharityName;
property CharityNumber: Integer read FCharityNumber write FCharityNumber;
property DonationPercent: Single read FDonationPercent write FDonationPercent;
property CharityID: WideString read FCharityID write FCharityID;
property Mission: WideString read FMission write FMission;
property LogoURL: WideString read FLogoURL write FLogoURL;
property Status: CharityStatusCodeType read FStatus write FStatus;
property CharityListing: Boolean read FCharityListing write FCharityListing;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PromotionDetailsType = class(TRemotable)
private
FPromotionPrice: AmountType;
FPromotionPriceType: PromotionItemPriceTypeCodeType;
FBidCount: Integer;
FConvertedPromotionPrice: AmountType;
public
destructor Destroy; override;
published
property PromotionPrice: AmountType read FPromotionPrice write FPromotionPrice;
property PromotionPriceType: PromotionItemPriceTypeCodeType read FPromotionPriceType write FPromotionPriceType;
property BidCount: Integer read FBidCount write FBidCount;
property ConvertedPromotionPrice: AmountType read FConvertedPromotionPrice write FConvertedPromotionPrice;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PromotedItemType = class(TRemotable)
private
FItemID: ItemIDType;
FPictureURL: WideString;
FPosition: Integer;
FSelectionType: PromotionItemSelectionCodeType;
FTitle: WideString;
FListingType: ListingTypeCodeType;
FPromotionDetails: PromotionDetailsType;
FTimeLeft: TXSDuration;
public
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property PictureURL: WideString read FPictureURL write FPictureURL;
property Position: Integer read FPosition write FPosition;
property SelectionType: PromotionItemSelectionCodeType read FSelectionType write FSelectionType;
property Title: WideString read FTitle write FTitle;
property ListingType: ListingTypeCodeType read FListingType write FListingType;
property PromotionDetails: PromotionDetailsType read FPromotionDetails write FPromotionDetails;
property TimeLeft: TXSDuration read FTimeLeft write FTimeLeft;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CrossPromotionsType = class(TRemotable)
private
FItemID: ItemIDType;
FPrimaryScheme: PromotionSchemeCodeType;
FPromotionMethod: PromotionMethodCodeType;
FSellerID: WideString;
FShippingDiscount: Boolean;
FStoreName: WideString;
FPromotedItem: PromotedItemType;
public
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property PrimaryScheme: PromotionSchemeCodeType read FPrimaryScheme write FPrimaryScheme;
property PromotionMethod: PromotionMethodCodeType read FPromotionMethod write FPromotionMethod;
property SellerID: WideString read FSellerID write FSellerID;
property ShippingDiscount: Boolean read FShippingDiscount write FShippingDiscount;
property StoreName: WideString read FStoreName write FStoreName;
property PromotedItem: PromotedItemType read FPromotedItem write FPromotedItem;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressDetailsType = class(TRemotable)
private
FExpressLargeImage: WideString;
FExpressSmallImage: WideString;
FCondition: WideString;
published
property ExpressLargeImage: WideString read FExpressLargeImage write FExpressLargeImage;
property ExpressSmallImage: WideString read FExpressSmallImage write FExpressSmallImage;
property Condition: WideString read FCondition write FCondition;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DigitalDeliveryDetailsType = class(TRemotable)
private
FRequirements: WideString;
FMethod: DigitalDeliveryMethodCodeType;
FURL: WideString;
FInstructions: WideString;
published
property Requirements: WideString read FRequirements write FRequirements;
property Method: DigitalDeliveryMethodCodeType read FMethod write FMethod;
property URL: WideString read FURL write FURL;
property Instructions: WideString read FInstructions write FInstructions;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureDetailsType = class(TRemotable)
private
FGalleryType: GalleryTypeCodeType;
FGalleryURL: WideString;
FPhotoDisplay: PhotoDisplayCodeType;
FPictureURL: WideString;
FPictureSource: PictureSourceCodeType;
published
property GalleryType: GalleryTypeCodeType read FGalleryType write FGalleryType;
property GalleryURL: WideString read FGalleryURL write FGalleryURL;
property PhotoDisplay: PhotoDisplayCodeType read FPhotoDisplay write FPhotoDisplay;
property PictureURL: WideString read FPictureURL write FPictureURL;
property PictureSource: PictureSourceCodeType read FPictureSource write FPictureSource;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StorefrontType = class(TRemotable)
private
FStoreCategoryID: Int64;
FStoreCategory2ID: Int64;
FStoreURL: WideString;
FStoreName: WideString;
published
property StoreCategoryID: Int64 read FStoreCategoryID write FStoreCategoryID;
property StoreCategory2ID: Int64 read FStoreCategory2ID write FStoreCategory2ID;
property StoreURL: WideString read FStoreURL write FStoreURL;
property StoreName: WideString read FStoreName write FStoreName;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductListingDetailsType = class(TRemotable)
private
FProductID: WideString;
FIncludeStockPhotoURL: Boolean;
FIncludePrefilledItemInformation: Boolean;
FUseStockPhotoURLAsGallery: Boolean;
FStockPhotoURL: WideString;
FCopyright: WideString;
published
property ProductID: WideString read FProductID write FProductID;
property IncludeStockPhotoURL: Boolean read FIncludeStockPhotoURL write FIncludeStockPhotoURL;
property IncludePrefilledItemInformation: Boolean read FIncludePrefilledItemInformation write FIncludePrefilledItemInformation;
property UseStockPhotoURLAsGallery: Boolean read FUseStockPhotoURLAsGallery write FUseStockPhotoURLAsGallery;
property StockPhotoURL: WideString read FStockPhotoURL write FStockPhotoURL;
property Copyright: WideString read FCopyright write FCopyright;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressItemRequirementsType = class(TRemotable)
private
FSellerExpressEligible: Boolean;
FExpressOptOut: Boolean;
FExpressApproved: Boolean;
FExpressEligibleListingType: Boolean;
FExpressEnabledCategory: Boolean;
FEligiblePayPalAccount: Boolean;
FDomesticShippingCost: Boolean;
FEligibleReturnPolicy: Boolean;
FPicture: Boolean;
FEligibleItemCondition: Boolean;
FPriceAboveMinimum: Boolean;
FPriceBelowMaximum: Boolean;
FEligibleCheckout: Boolean;
FNoPreapprovedBidderList: Boolean;
FNoCharity: Boolean;
FNoDigitalDelivery: Boolean;
FCombinedShippingDiscount: Boolean;
FShipFromEligibleCountry: Boolean;
FPayPalAccountAcceptsUnconfirmedAddress: Boolean;
published
property SellerExpressEligible: Boolean read FSellerExpressEligible write FSellerExpressEligible;
property ExpressOptOut: Boolean read FExpressOptOut write FExpressOptOut;
property ExpressApproved: Boolean read FExpressApproved write FExpressApproved;
property ExpressEligibleListingType: Boolean read FExpressEligibleListingType write FExpressEligibleListingType;
property ExpressEnabledCategory: Boolean read FExpressEnabledCategory write FExpressEnabledCategory;
property EligiblePayPalAccount: Boolean read FEligiblePayPalAccount write FEligiblePayPalAccount;
property DomesticShippingCost: Boolean read FDomesticShippingCost write FDomesticShippingCost;
property EligibleReturnPolicy: Boolean read FEligibleReturnPolicy write FEligibleReturnPolicy;
property Picture: Boolean read FPicture write FPicture;
property EligibleItemCondition: Boolean read FEligibleItemCondition write FEligibleItemCondition;
property PriceAboveMinimum: Boolean read FPriceAboveMinimum write FPriceAboveMinimum;
property PriceBelowMaximum: Boolean read FPriceBelowMaximum write FPriceBelowMaximum;
property EligibleCheckout: Boolean read FEligibleCheckout write FEligibleCheckout;
property NoPreapprovedBidderList: Boolean read FNoPreapprovedBidderList write FNoPreapprovedBidderList;
property NoCharity: Boolean read FNoCharity write FNoCharity;
property NoDigitalDelivery: Boolean read FNoDigitalDelivery write FNoDigitalDelivery;
property CombinedShippingDiscount: Boolean read FCombinedShippingDiscount write FCombinedShippingDiscount;
property ShipFromEligibleCountry: Boolean read FShipFromEligibleCountry write FShipFromEligibleCountry;
property PayPalAccountAcceptsUnconfirmedAddress: Boolean read FPayPalAccountAcceptsUnconfirmedAddress write FPayPalAccountAcceptsUnconfirmedAddress;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingDetailsType = class(TRemotable)
private
FAdult: Boolean;
FBindingAuction: Boolean;
FCheckoutEnabled: Boolean;
FConvertedBuyItNowPrice: AmountType;
FConvertedStartPrice: AmountType;
FConvertedReservePrice: AmountType;
FHasReservePrice: Boolean;
FRelistedItemID: ItemIDType;
FSecondChanceOriginalItemID: ItemIDType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
FViewItemURL: WideString;
FHasUnansweredQuestions: Boolean;
FHasPublicMessages: Boolean;
FBuyItNowAvailable: Boolean;
FSellerBusinessType: SellerBusinessCodeType;
FMinimumBestOfferPrice: AmountType;
FMinimumBestOfferMessage: WideString;
FLocalListingDistance: WideString;
FExpressListing: Boolean;
FExpressItemRequirements: ExpressItemRequirementsType;
FTCROriginalItemID: ItemIDType;
FViewItemURLForNaturalSearch: WideString;
FPayPerLeadEnabled: Boolean;
FBestOfferAutoAcceptPrice: AmountType;
public
destructor Destroy; override;
published
property Adult: Boolean read FAdult write FAdult;
property BindingAuction: Boolean read FBindingAuction write FBindingAuction;
property CheckoutEnabled: Boolean read FCheckoutEnabled write FCheckoutEnabled;
property ConvertedBuyItNowPrice: AmountType read FConvertedBuyItNowPrice write FConvertedBuyItNowPrice;
property ConvertedStartPrice: AmountType read FConvertedStartPrice write FConvertedStartPrice;
property ConvertedReservePrice: AmountType read FConvertedReservePrice write FConvertedReservePrice;
property HasReservePrice: Boolean read FHasReservePrice write FHasReservePrice;
property RelistedItemID: ItemIDType read FRelistedItemID write FRelistedItemID;
property SecondChanceOriginalItemID: ItemIDType read FSecondChanceOriginalItemID write FSecondChanceOriginalItemID;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
property ViewItemURL: WideString read FViewItemURL write FViewItemURL;
property HasUnansweredQuestions: Boolean read FHasUnansweredQuestions write FHasUnansweredQuestions;
property HasPublicMessages: Boolean read FHasPublicMessages write FHasPublicMessages;
property BuyItNowAvailable: Boolean read FBuyItNowAvailable write FBuyItNowAvailable;
property SellerBusinessType: SellerBusinessCodeType read FSellerBusinessType write FSellerBusinessType;
property MinimumBestOfferPrice: AmountType read FMinimumBestOfferPrice write FMinimumBestOfferPrice;
property MinimumBestOfferMessage: WideString read FMinimumBestOfferMessage write FMinimumBestOfferMessage;
property LocalListingDistance: WideString read FLocalListingDistance write FLocalListingDistance;
property ExpressListing: Boolean read FExpressListing write FExpressListing;
property ExpressItemRequirements: ExpressItemRequirementsType read FExpressItemRequirements write FExpressItemRequirements;
property TCROriginalItemID: ItemIDType read FTCROriginalItemID write FTCROriginalItemID;
property ViewItemURLForNaturalSearch: WideString read FViewItemURLForNaturalSearch write FViewItemURLForNaturalSearch;
property PayPerLeadEnabled: Boolean read FPayPerLeadEnabled write FPayPerLeadEnabled;
property BestOfferAutoAcceptPrice: AmountType read FBestOfferAutoAcceptPrice write FBestOfferAutoAcceptPrice;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExtendedProductFinderIDType = class(TRemotable)
private
FProductFinderID: Integer;
FProductFinderBuySide: Boolean;
published
property ProductFinderID: Integer read FProductFinderID write FProductFinderID;
property ProductFinderBuySide: Boolean read FProductFinderBuySide write FProductFinderBuySide;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LabelType = class(TRemotable)
private
FName_: WideString;
Fvisible: Boolean;
published
property Name_: WideString read FName_ write FName_;
property visible: Boolean read Fvisible write Fvisible stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharacteristicType = class(TRemotable)
private
FAttributeID: Integer;
FDateFormat: WideString;
FDisplaySequence: WideString;
FDisplayUOM: WideString;
FLabel_: LabelType;
FSortOrder: SortOrderCodeType;
FValueList: ValType;
public
destructor Destroy; override;
published
property AttributeID: Integer read FAttributeID write FAttributeID;
property DateFormat: WideString read FDateFormat write FDateFormat;
property DisplaySequence: WideString read FDisplaySequence write FDisplaySequence;
property DisplayUOM: WideString read FDisplayUOM write FDisplayUOM;
property Label_: LabelType read FLabel_ write FLabel_;
property SortOrder: SortOrderCodeType read FSortOrder write FSortOrder;
property ValueList: ValType read FValueList write FValueList;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharacteristicsSetType = class(TRemotable)
private
FName_: WideString;
FAttributeSetID: Integer;
FAttributeSetVersion: WideString;
FCharacteristics: CharacteristicType;
public
destructor Destroy; override;
published
property Name_: WideString read FName_ write FName_;
property AttributeSetID: Integer read FAttributeSetID write FAttributeSetID;
property AttributeSetVersion: WideString read FAttributeSetVersion write FAttributeSetVersion;
property Characteristics: CharacteristicType read FCharacteristics write FCharacteristics;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CategoryType = class(TRemotable)
private
FBestOfferEnabled: Boolean;
FAutoPayEnabled: Boolean;
FB2BVATEnabled: Boolean;
FCatalogEnabled: Boolean;
FCategoryID: WideString;
FCategoryLevel: Integer;
FCategoryName: WideString;
FCategoryParentID: WideString;
FCategoryParentName: WideString;
FProductSearchPageAvailable: Boolean;
FProductFinderIDs: ExtendedProductFinderIDType;
FCharacteristicsSets: CharacteristicsSetType;
FExpired: Boolean;
FIntlAutosFixedCat: Boolean;
FLeafCategory: Boolean;
FVirtual_: Boolean;
FNumOfItems: Integer;
FSellerGuaranteeEligible: Boolean;
FORPA: Boolean;
FORRA: Boolean;
FLSD: Boolean;
FKeywords: WideString;
public
destructor Destroy; override;
published
property BestOfferEnabled: Boolean read FBestOfferEnabled write FBestOfferEnabled;
property AutoPayEnabled: Boolean read FAutoPayEnabled write FAutoPayEnabled;
property B2BVATEnabled: Boolean read FB2BVATEnabled write FB2BVATEnabled;
property CatalogEnabled: Boolean read FCatalogEnabled write FCatalogEnabled;
property CategoryID: WideString read FCategoryID write FCategoryID;
property CategoryLevel: Integer read FCategoryLevel write FCategoryLevel;
property CategoryName: WideString read FCategoryName write FCategoryName;
property CategoryParentID: WideString read FCategoryParentID write FCategoryParentID;
property CategoryParentName: WideString read FCategoryParentName write FCategoryParentName;
property ProductSearchPageAvailable: Boolean read FProductSearchPageAvailable write FProductSearchPageAvailable;
property ProductFinderIDs: ExtendedProductFinderIDType read FProductFinderIDs write FProductFinderIDs;
property CharacteristicsSets: CharacteristicsSetType read FCharacteristicsSets write FCharacteristicsSets;
property Expired: Boolean read FExpired write FExpired;
property IntlAutosFixedCat: Boolean read FIntlAutosFixedCat write FIntlAutosFixedCat;
property LeafCategory: Boolean read FLeafCategory write FLeafCategory;
property Virtual_: Boolean read FVirtual_ write FVirtual_;
property NumOfItems: Integer read FNumOfItems write FNumOfItems;
property SellerGuaranteeEligible: Boolean read FSellerGuaranteeEligible write FSellerGuaranteeEligible;
property ORPA: Boolean read FORPA write FORPA;
property ORRA: Boolean read FORRA write FORRA;
property LSD: Boolean read FLSD write FLSD;
property Keywords: WideString read FKeywords write FKeywords;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BuyerType = class(TRemotable)
private
FShippingAddress: AddressType;
public
destructor Destroy; override;
published
property ShippingAddress: AddressType read FShippingAddress write FShippingAddress;
end;
CharityAffiliationsType = array of CharityIDType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SchedulingInfoType = class(TRemotable)
private
FMaxScheduledMinutes: Integer;
FMinScheduledMinutes: Integer;
FMaxScheduledItems: Integer;
published
property MaxScheduledMinutes: Integer read FMaxScheduledMinutes write FMaxScheduledMinutes;
property MinScheduledMinutes: Integer read FMinScheduledMinutes write FMinScheduledMinutes;
property MaxScheduledItems: Integer read FMaxScheduledItems write FMaxScheduledItems;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProStoresDetailsType = class(TRemotable)
private
FSellerThirdPartyUsername: WideString;
FStoreName: WideString;
FStatus: EnableCodeType;
published
property SellerThirdPartyUsername: WideString read FSellerThirdPartyUsername write FSellerThirdPartyUsername;
property StoreName: WideString read FStoreName write FStoreName;
property Status: EnableCodeType read FStatus write FStatus;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProStoresCheckoutPreferenceType = class(TRemotable)
private
FCheckoutRedirectProStores: Boolean;
FProStoresDetails: ProStoresDetailsType;
public
destructor Destroy; override;
published
property CheckoutRedirectProStores: Boolean read FCheckoutRedirectProStores write FCheckoutRedirectProStores;
property ProStoresDetails: ProStoresDetailsType read FProStoresDetails write FProStoresDetails;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeedbackRequirementsType = class(TRemotable)
private
Fminimum: WideString;
published
property minimum: WideString read Fminimum write Fminimum stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressSellerRequirementsType = class(TRemotable)
private
FExpressSellingPreference: Boolean;
FExpressApproved: Boolean;
FGoodStanding: Boolean;
FFeedbackScore: FeedbackRequirementsType;
FPositiveFeedbackPercent: FeedbackRequirementsType;
FFeedbackAsSellerScore: FeedbackRequirementsType;
FPositiveFeedbackAsSellerPercent: FeedbackRequirementsType;
FBusinessSeller: Boolean;
FEligiblePayPalAccount: Boolean;
FPayPalAccountAcceptsUnconfirmedAddress: Boolean;
FCombinedPaymentsAccepted: Boolean;
FFeedbackPublic: Boolean;
public
destructor Destroy; override;
published
property ExpressSellingPreference: Boolean read FExpressSellingPreference write FExpressSellingPreference;
property ExpressApproved: Boolean read FExpressApproved write FExpressApproved;
property GoodStanding: Boolean read FGoodStanding write FGoodStanding;
property FeedbackScore: FeedbackRequirementsType read FFeedbackScore write FFeedbackScore;
property PositiveFeedbackPercent: FeedbackRequirementsType read FPositiveFeedbackPercent write FPositiveFeedbackPercent;
property FeedbackAsSellerScore: FeedbackRequirementsType read FFeedbackAsSellerScore write FFeedbackAsSellerScore;
property PositiveFeedbackAsSellerPercent: FeedbackRequirementsType read FPositiveFeedbackAsSellerPercent write FPositiveFeedbackAsSellerPercent;
property BusinessSeller: Boolean read FBusinessSeller write FBusinessSeller;
property EligiblePayPalAccount: Boolean read FEligiblePayPalAccount write FEligiblePayPalAccount;
property PayPalAccountAcceptsUnconfirmedAddress: Boolean read FPayPalAccountAcceptsUnconfirmedAddress write FPayPalAccountAcceptsUnconfirmedAddress;
property CombinedPaymentsAccepted: Boolean read FCombinedPaymentsAccepted write FCombinedPaymentsAccepted;
property FeedbackPublic: Boolean read FFeedbackPublic write FFeedbackPublic;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellerType = class(TRemotable)
private
FPaisaPayStatus: Integer;
FAllowPaymentEdit: Boolean;
FBillingCurrency: CurrencyCodeType;
FCheckoutEnabled: Boolean;
FCIPBankAccountStored: Boolean;
FGoodStanding: Boolean;
FLiveAuctionAuthorized: Boolean;
FMerchandizingPref: MerchandizingPrefCodeType;
FQualifiesForB2BVAT: Boolean;
FSellerGuaranteeLevel: SellerGuaranteeLevelCodeType;
FSellerLevel: SellerLevelCodeType;
FSellerPaymentAddress: AddressType;
FSchedulingInfo: SchedulingInfoType;
FStoreOwner: Boolean;
FStoreURL: WideString;
FSellerBusinessType: SellerBusinessCodeType;
FRegisteredBusinessSeller: Boolean;
FExpressEligible: Boolean;
FPaymentMethod: SellerPaymentMethodCodeType;
FProStoresPreference: ProStoresCheckoutPreferenceType;
FExpressWallet: Boolean;
FExpressSellerRequirements: ExpressSellerRequirementsType;
FCharityRegistered: Boolean;
FSafePaymentExempt: Boolean;
FPaisaPayEscrowEMIStatus: Integer;
public
destructor Destroy; override;
published
property PaisaPayStatus: Integer read FPaisaPayStatus write FPaisaPayStatus;
property AllowPaymentEdit: Boolean read FAllowPaymentEdit write FAllowPaymentEdit;
property BillingCurrency: CurrencyCodeType read FBillingCurrency write FBillingCurrency;
property CheckoutEnabled: Boolean read FCheckoutEnabled write FCheckoutEnabled;
property CIPBankAccountStored: Boolean read FCIPBankAccountStored write FCIPBankAccountStored;
property GoodStanding: Boolean read FGoodStanding write FGoodStanding;
property LiveAuctionAuthorized: Boolean read FLiveAuctionAuthorized write FLiveAuctionAuthorized;
property MerchandizingPref: MerchandizingPrefCodeType read FMerchandizingPref write FMerchandizingPref;
property QualifiesForB2BVAT: Boolean read FQualifiesForB2BVAT write FQualifiesForB2BVAT;
property SellerGuaranteeLevel: SellerGuaranteeLevelCodeType read FSellerGuaranteeLevel write FSellerGuaranteeLevel;
property SellerLevel: SellerLevelCodeType read FSellerLevel write FSellerLevel;
property SellerPaymentAddress: AddressType read FSellerPaymentAddress write FSellerPaymentAddress;
property SchedulingInfo: SchedulingInfoType read FSchedulingInfo write FSchedulingInfo;
property StoreOwner: Boolean read FStoreOwner write FStoreOwner;
property StoreURL: WideString read FStoreURL write FStoreURL;
property SellerBusinessType: SellerBusinessCodeType read FSellerBusinessType write FSellerBusinessType;
property RegisteredBusinessSeller: Boolean read FRegisteredBusinessSeller write FRegisteredBusinessSeller;
property ExpressEligible: Boolean read FExpressEligible write FExpressEligible;
property PaymentMethod: SellerPaymentMethodCodeType read FPaymentMethod write FPaymentMethod;
property ProStoresPreference: ProStoresCheckoutPreferenceType read FProStoresPreference write FProStoresPreference;
property ExpressWallet: Boolean read FExpressWallet write FExpressWallet;
property ExpressSellerRequirements: ExpressSellerRequirementsType read FExpressSellerRequirements write FExpressSellerRequirements;
property CharityRegistered: Boolean read FCharityRegistered write FCharityRegistered;
property SafePaymentExempt: Boolean read FSafePaymentExempt write FSafePaymentExempt;
property PaisaPayEscrowEMIStatus: Integer read FPaisaPayEscrowEMIStatus write FPaisaPayEscrowEMIStatus;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharityIDType = class(TRemotable)
private
Ftype_: CharityAffiliationTypeCodeType;
published
property type_: CharityAffiliationTypeCodeType read Ftype_ write Ftype_ stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharityAffiliationType = class(TRemotable)
private
Fid: WideString;
Ftype_: CharityAffiliationTypeCodeType;
published
property id: WideString read Fid write Fid stored AS_ATTRIBUTE;
property type_: CharityAffiliationTypeCodeType read Ftype_ write Ftype_ stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharitySellerType = class(TRemotable)
private
FCharitySellerStatus: CharitySellerStatusCodeType;
FCharityAffiliation: CharityAffiliationType;
public
destructor Destroy; override;
published
property CharitySellerStatus: CharitySellerStatusCodeType read FCharitySellerStatus write FCharitySellerStatus;
property CharityAffiliation: CharityAffiliationType read FCharityAffiliation write FCharityAffiliation;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemBidDetailsType = class(TRemotable)
private
FItemID: ItemIDType;
FCategoryID: WideString;
FBidCount: Integer;
FSellerID: UserIDType;
FLastBidTime: TXSDateTime;
public
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property CategoryID: WideString read FCategoryID write FCategoryID;
property BidCount: Integer read FBidCount write FBidCount;
property SellerID: UserIDType read FSellerID write FSellerID;
property LastBidTime: TXSDateTime read FLastBidTime write FLastBidTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BiddingSummaryType = class(TRemotable)
private
FSummaryDays: Integer;
FTotalBids: Integer;
FBidActivityWithSeller: Integer;
FBidsToUniqueSellers: Integer;
FBidsToUniqueCategories: Integer;
FBidRetractions: Integer;
FItemBidDetails: ItemBidDetailsType;
public
destructor Destroy; override;
published
property SummaryDays: Integer read FSummaryDays write FSummaryDays;
property TotalBids: Integer read FTotalBids write FTotalBids;
property BidActivityWithSeller: Integer read FBidActivityWithSeller write FBidActivityWithSeller;
property BidsToUniqueSellers: Integer read FBidsToUniqueSellers write FBidsToUniqueSellers;
property BidsToUniqueCategories: Integer read FBidsToUniqueCategories write FBidsToUniqueCategories;
property BidRetractions: Integer read FBidRetractions write FBidRetractions;
property ItemBidDetails: ItemBidDetailsType read FItemBidDetails write FItemBidDetails;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
UserType = class(TRemotable)
private
FAboutMePage: Boolean;
FEIASToken: WideString;
FRESTToken: WideString;
FEmail: WideString;
FFeedbackScore: Integer;
FUniqueNegativeFeedbackCount: Integer;
FUniquePositiveFeedbackCount: Integer;
FPositiveFeedbackPercent: Single;
FFeedbackPrivate: Boolean;
FFeedbackRatingStar: FeedbackRatingStarCodeType;
FIDVerified: Boolean;
FeBayGoodStanding: Boolean;
FNewUser: Boolean;
FRegistrationAddress: AddressType;
FRegistrationDate: TXSDateTime;
FSite: SiteCodeType;
FStatus: UserStatusCodeType;
FUserID: UserIDType;
FUserIDChanged: Boolean;
FUserIDLastChanged: TXSDateTime;
FVATStatus: VATStatusCodeType;
FBuyerInfo: BuyerType;
FSellerInfo: SellerType;
FCharityAffiliations: CharityAffiliationsType;
FCharitySeller: CharitySellerType;
FPayPalAccountLevel: PayPalAccountLevelCodeType;
FPayPalAccountType: PayPalAccountTypeCodeType;
FPayPalAccountStatus: PayPalAccountStatusCodeType;
FUserSubscription: EBaySubscriptionTypeCodeType;
FSiteVerified: Boolean;
FSkypeID: WideString;
FeBayWikiReadOnly: Boolean;
FTUVLevel: Integer;
FVATID: WideString;
FMotorsDealer: Boolean;
FSellerPaymentMethod: SellerPaymentMethodCodeType;
FBiddingSummary: BiddingSummaryType;
FUserAnonymized: Boolean;
public
destructor Destroy; override;
published
property AboutMePage: Boolean read FAboutMePage write FAboutMePage;
property EIASToken: WideString read FEIASToken write FEIASToken;
property RESTToken: WideString read FRESTToken write FRESTToken;
property Email: WideString read FEmail write FEmail;
property FeedbackScore: Integer read FFeedbackScore write FFeedbackScore;
property UniqueNegativeFeedbackCount: Integer read FUniqueNegativeFeedbackCount write FUniqueNegativeFeedbackCount;
property UniquePositiveFeedbackCount: Integer read FUniquePositiveFeedbackCount write FUniquePositiveFeedbackCount;
property PositiveFeedbackPercent: Single read FPositiveFeedbackPercent write FPositiveFeedbackPercent;
property FeedbackPrivate: Boolean read FFeedbackPrivate write FFeedbackPrivate;
property FeedbackRatingStar: FeedbackRatingStarCodeType read FFeedbackRatingStar write FFeedbackRatingStar;
property IDVerified: Boolean read FIDVerified write FIDVerified;
property eBayGoodStanding: Boolean read FeBayGoodStanding write FeBayGoodStanding;
property NewUser: Boolean read FNewUser write FNewUser;
property RegistrationAddress: AddressType read FRegistrationAddress write FRegistrationAddress;
property RegistrationDate: TXSDateTime read FRegistrationDate write FRegistrationDate;
property Site: SiteCodeType read FSite write FSite;
property Status: UserStatusCodeType read FStatus write FStatus;
property UserID: UserIDType read FUserID write FUserID;
property UserIDChanged: Boolean read FUserIDChanged write FUserIDChanged;
property UserIDLastChanged: TXSDateTime read FUserIDLastChanged write FUserIDLastChanged;
property VATStatus: VATStatusCodeType read FVATStatus write FVATStatus;
property BuyerInfo: BuyerType read FBuyerInfo write FBuyerInfo;
property SellerInfo: SellerType read FSellerInfo write FSellerInfo;
property CharityAffiliations: CharityAffiliationsType read FCharityAffiliations write FCharityAffiliations;
property CharitySeller: CharitySellerType read FCharitySeller write FCharitySeller;
property PayPalAccountLevel: PayPalAccountLevelCodeType read FPayPalAccountLevel write FPayPalAccountLevel;
property PayPalAccountType: PayPalAccountTypeCodeType read FPayPalAccountType write FPayPalAccountType;
property PayPalAccountStatus: PayPalAccountStatusCodeType read FPayPalAccountStatus write FPayPalAccountStatus;
property UserSubscription: EBaySubscriptionTypeCodeType read FUserSubscription write FUserSubscription;
property SiteVerified: Boolean read FSiteVerified write FSiteVerified;
property SkypeID: WideString read FSkypeID write FSkypeID;
property eBayWikiReadOnly: Boolean read FeBayWikiReadOnly write FeBayWikiReadOnly;
property TUVLevel: Integer read FTUVLevel write FTUVLevel;
property VATID: WideString read FVATID write FVATID;
property MotorsDealer: Boolean read FMotorsDealer write FMotorsDealer;
property SellerPaymentMethod: SellerPaymentMethodCodeType read FSellerPaymentMethod write FSellerPaymentMethod;
property BiddingSummary: BiddingSummaryType read FBiddingSummary write FBiddingSummary;
property UserAnonymized: Boolean read FUserAnonymized write FUserAnonymized;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PromotionalSaleDetailsType = class(TRemotable)
private
FOriginalPrice: AmountType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
public
destructor Destroy; override;
published
property OriginalPrice: AmountType read FOriginalPrice write FOriginalPrice;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellingStatusType = class(TRemotable)
private
FBidCount: Integer;
FBidIncrement: AmountType;
FConvertedCurrentPrice: AmountType;
FCurrentPrice: AmountType;
FHighBidder: UserType;
FLeadCount: Integer;
FMinimumToBid: AmountType;
FQuantitySold: Integer;
FReserveMet: Boolean;
FSecondChanceEligible: Boolean;
FBidderCount: Int64;
FListingStatus: ListingStatusCodeType;
FFinalValueFee: AmountType;
FPromotionalSaleDetails: PromotionalSaleDetailsType;
public
destructor Destroy; override;
published
property BidCount: Integer read FBidCount write FBidCount;
property BidIncrement: AmountType read FBidIncrement write FBidIncrement;
property ConvertedCurrentPrice: AmountType read FConvertedCurrentPrice write FConvertedCurrentPrice;
property CurrentPrice: AmountType read FCurrentPrice write FCurrentPrice;
property HighBidder: UserType read FHighBidder write FHighBidder;
property LeadCount: Integer read FLeadCount write FLeadCount;
property MinimumToBid: AmountType read FMinimumToBid write FMinimumToBid;
property QuantitySold: Integer read FQuantitySold write FQuantitySold;
property ReserveMet: Boolean read FReserveMet write FReserveMet;
property SecondChanceEligible: Boolean read FSecondChanceEligible write FSecondChanceEligible;
property BidderCount: Int64 read FBidderCount write FBidderCount;
property ListingStatus: ListingStatusCodeType read FListingStatus write FListingStatus;
property FinalValueFee: AmountType read FFinalValueFee write FFinalValueFee;
property PromotionalSaleDetails: PromotionalSaleDetailsType read FPromotionalSaleDetails write FPromotionalSaleDetails;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SalesTaxType = class(TRemotable)
private
FSalesTaxPercent: Single;
FSalesTaxState: WideString;
FShippingIncludedInTax: Boolean;
FSalesTaxAmount: AmountType;
public
destructor Destroy; override;
published
property SalesTaxPercent: Single read FSalesTaxPercent write FSalesTaxPercent;
property SalesTaxState: WideString read FSalesTaxState write FSalesTaxState;
property ShippingIncludedInTax: Boolean read FShippingIncludedInTax write FShippingIncludedInTax;
property SalesTaxAmount: AmountType read FSalesTaxAmount write FSalesTaxAmount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingServiceOptionsType = class(TRemotable)
private
FShippingInsuranceCost: AmountType;
FShippingService: WideString;
FShippingServiceCost: AmountType;
FShippingServiceAdditionalCost: AmountType;
FShippingServicePriority: Integer;
FExpeditedService: Boolean;
FShippingTimeMin: Integer;
FShippingTimeMax: Integer;
FShippingSurcharge: AmountType;
public
destructor Destroy; override;
published
property ShippingInsuranceCost: AmountType read FShippingInsuranceCost write FShippingInsuranceCost;
property ShippingService: WideString read FShippingService write FShippingService;
property ShippingServiceCost: AmountType read FShippingServiceCost write FShippingServiceCost;
property ShippingServiceAdditionalCost: AmountType read FShippingServiceAdditionalCost write FShippingServiceAdditionalCost;
property ShippingServicePriority: Integer read FShippingServicePriority write FShippingServicePriority;
property ExpeditedService: Boolean read FExpeditedService write FExpeditedService;
property ShippingTimeMin: Integer read FShippingTimeMin write FShippingTimeMin;
property ShippingTimeMax: Integer read FShippingTimeMax write FShippingTimeMax;
property ShippingSurcharge: AmountType read FShippingSurcharge write FShippingSurcharge;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
InternationalShippingServiceOptionsType = class(TRemotable)
private
FShippingService: WideString;
FShippingServiceCost: AmountType;
FShippingServiceAdditionalCost: AmountType;
FShippingServicePriority: Integer;
FShipToLocation: WideString;
FShippingInsuranceCost: AmountType;
public
destructor Destroy; override;
published
property ShippingService: WideString read FShippingService write FShippingService;
property ShippingServiceCost: AmountType read FShippingServiceCost write FShippingServiceCost;
property ShippingServiceAdditionalCost: AmountType read FShippingServiceAdditionalCost write FShippingServiceAdditionalCost;
property ShippingServicePriority: Integer read FShippingServicePriority write FShippingServicePriority;
property ShipToLocation: WideString read FShipToLocation write FShipToLocation;
property ShippingInsuranceCost: AmountType read FShippingInsuranceCost write FShippingInsuranceCost;
end;
TaxTableType = array of TaxJurisdictionType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
InsuranceDetailsType = class(TRemotable)
private
FInsuranceFee: AmountType;
FInsuranceOption: InsuranceOptionCodeType;
public
destructor Destroy; override;
published
property InsuranceFee: AmountType read FInsuranceFee write FInsuranceFee;
property InsuranceOption: InsuranceOptionCodeType read FInsuranceOption write FInsuranceOption;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PromotionalShippingDiscountDetailsType = class(TRemotable)
private
FDiscountName: DiscountNameCodeType;
FShippingCost: AmountType;
FOrderAmount: AmountType;
FItemCount: Integer;
public
destructor Destroy; override;
published
property DiscountName: DiscountNameCodeType read FDiscountName write FDiscountName;
property ShippingCost: AmountType read FShippingCost write FShippingCost;
property OrderAmount: AmountType read FOrderAmount write FOrderAmount;
property ItemCount: Integer read FItemCount write FItemCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MeasureType = class(TRemotable)
private
Funit_: WideString;
FmeasurementSystem: MeasurementSystemCodeType;
published
property unit_: WideString read Funit_ write Funit_ stored AS_ATTRIBUTE;
property measurementSystem: MeasurementSystemCodeType read FmeasurementSystem write FmeasurementSystem stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CalculatedShippingRateType = class(TRemotable)
private
FOriginatingPostalCode: WideString;
FMeasurementUnit: MeasurementSystemCodeType;
FPackageDepth: MeasureType;
FPackageLength: MeasureType;
FPackageWidth: MeasureType;
FPackagingHandlingCosts: AmountType;
FShippingIrregular: Boolean;
FShippingPackage: ShippingPackageCodeType;
FWeightMajor: MeasureType;
FWeightMinor: MeasureType;
FInternationalPackagingHandlingCosts: AmountType;
public
destructor Destroy; override;
published
property OriginatingPostalCode: WideString read FOriginatingPostalCode write FOriginatingPostalCode;
property MeasurementUnit: MeasurementSystemCodeType read FMeasurementUnit write FMeasurementUnit;
property PackageDepth: MeasureType read FPackageDepth write FPackageDepth;
property PackageLength: MeasureType read FPackageLength write FPackageLength;
property PackageWidth: MeasureType read FPackageWidth write FPackageWidth;
property PackagingHandlingCosts: AmountType read FPackagingHandlingCosts write FPackagingHandlingCosts;
property ShippingIrregular: Boolean read FShippingIrregular write FShippingIrregular;
property ShippingPackage: ShippingPackageCodeType read FShippingPackage write FShippingPackage;
property WeightMajor: MeasureType read FWeightMajor write FWeightMajor;
property WeightMinor: MeasureType read FWeightMinor write FWeightMinor;
property InternationalPackagingHandlingCosts: AmountType read FInternationalPackagingHandlingCosts write FInternationalPackagingHandlingCosts;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
TaxJurisdictionType = class(TRemotable)
private
FJurisdictionID: WideString;
FSalesTaxPercent: Single;
FShippingIncludedInTax: Boolean;
FJurisdictionName: WideString;
published
property JurisdictionID: WideString read FJurisdictionID write FJurisdictionID;
property SalesTaxPercent: Single read FSalesTaxPercent write FSalesTaxPercent;
property ShippingIncludedInTax: Boolean read FShippingIncludedInTax write FShippingIncludedInTax;
property JurisdictionName: WideString read FJurisdictionName write FJurisdictionName;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DiscountProfileType = class(TRemotable)
private
FDiscountProfileID: WideString;
FDiscountProfileName: WideString;
FEachAdditionalAmount: AmountType;
FEachAdditionalAmountOff: AmountType;
FEachAdditionalPercentOff: Single;
FWeightOff: MeasureType;
FMappedDiscountProfileID: WideString;
public
destructor Destroy; override;
published
property DiscountProfileID: WideString read FDiscountProfileID write FDiscountProfileID;
property DiscountProfileName: WideString read FDiscountProfileName write FDiscountProfileName;
property EachAdditionalAmount: AmountType read FEachAdditionalAmount write FEachAdditionalAmount;
property EachAdditionalAmountOff: AmountType read FEachAdditionalAmountOff write FEachAdditionalAmountOff;
property EachAdditionalPercentOff: Single read FEachAdditionalPercentOff write FEachAdditionalPercentOff;
property WeightOff: MeasureType read FWeightOff write FWeightOff;
property MappedDiscountProfileID: WideString read FMappedDiscountProfileID write FMappedDiscountProfileID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CalculatedShippingDiscountType = class(TRemotable)
private
FDiscountName: DiscountNameCodeType;
FDiscountProfile: DiscountProfileType;
public
destructor Destroy; override;
published
property DiscountName: DiscountNameCodeType read FDiscountName write FDiscountName;
property DiscountProfile: DiscountProfileType read FDiscountProfile write FDiscountProfile;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FlatShippingDiscountType = class(TRemotable)
private
FDiscountName: DiscountNameCodeType;
FDiscountProfile: DiscountProfileType;
public
destructor Destroy; override;
published
property DiscountName: DiscountNameCodeType read FDiscountName write FDiscountName;
property DiscountProfile: DiscountProfileType read FDiscountProfile write FDiscountProfile;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingDetailsType = class(TRemotable)
private
FAllowPaymentEdit: Boolean;
FApplyShippingDiscount: Boolean;
FCalculatedShippingRate: CalculatedShippingRateType;
FChangePaymentInstructions: Boolean;
FInsuranceFee: AmountType;
FInsuranceOption: InsuranceOptionCodeType;
FInsuranceWanted: Boolean;
FPaymentEdited: Boolean;
FPaymentInstructions: WideString;
FSalesTax: SalesTaxType;
FShippingRateErrorMessage: WideString;
FShippingRateType: ShippingRateTypeCodeType;
FShippingServiceOptions: ShippingServiceOptionsType;
FInternationalShippingServiceOption: InternationalShippingServiceOptionsType;
FShippingType: ShippingTypeCodeType;
FSellingManagerSalesRecordNumber: Integer;
FThirdPartyCheckout: Boolean;
FTaxTable: TaxTableType;
FGetItFast: Boolean;
FShipmentTrackingNumber: WideString;
FShippingServiceUsed: WideString;
FDefaultShippingCost: AmountType;
FInsuranceDetails: InsuranceDetailsType;
FInternationalInsuranceDetails: InsuranceDetailsType;
FShippingDiscountProfileID: WideString;
FFlatShippingDiscount: FlatShippingDiscountType;
FCalculatedShippingDiscount: CalculatedShippingDiscountType;
FPromotionalShippingDiscount: Boolean;
FInternationalShippingDiscountProfileID: WideString;
FInternationalFlatShippingDiscount: FlatShippingDiscountType;
FInternationalCalculatedShippingDiscount: CalculatedShippingDiscountType;
FInternationalPromotionalShippingDiscount: Boolean;
FPromotionalShippingDiscountDetails: PromotionalShippingDiscountDetailsType;
public
destructor Destroy; override;
published
property AllowPaymentEdit: Boolean read FAllowPaymentEdit write FAllowPaymentEdit;
property ApplyShippingDiscount: Boolean read FApplyShippingDiscount write FApplyShippingDiscount;
property CalculatedShippingRate: CalculatedShippingRateType read FCalculatedShippingRate write FCalculatedShippingRate;
property ChangePaymentInstructions: Boolean read FChangePaymentInstructions write FChangePaymentInstructions;
property InsuranceFee: AmountType read FInsuranceFee write FInsuranceFee;
property InsuranceOption: InsuranceOptionCodeType read FInsuranceOption write FInsuranceOption;
property InsuranceWanted: Boolean read FInsuranceWanted write FInsuranceWanted;
property PaymentEdited: Boolean read FPaymentEdited write FPaymentEdited;
property PaymentInstructions: WideString read FPaymentInstructions write FPaymentInstructions;
property SalesTax: SalesTaxType read FSalesTax write FSalesTax;
property ShippingRateErrorMessage: WideString read FShippingRateErrorMessage write FShippingRateErrorMessage;
property ShippingRateType: ShippingRateTypeCodeType read FShippingRateType write FShippingRateType;
property ShippingServiceOptions: ShippingServiceOptionsType read FShippingServiceOptions write FShippingServiceOptions;
property InternationalShippingServiceOption: InternationalShippingServiceOptionsType read FInternationalShippingServiceOption write FInternationalShippingServiceOption;
property ShippingType: ShippingTypeCodeType read FShippingType write FShippingType;
property SellingManagerSalesRecordNumber: Integer read FSellingManagerSalesRecordNumber write FSellingManagerSalesRecordNumber;
property ThirdPartyCheckout: Boolean read FThirdPartyCheckout write FThirdPartyCheckout;
property TaxTable: TaxTableType read FTaxTable write FTaxTable;
property GetItFast: Boolean read FGetItFast write FGetItFast;
property ShipmentTrackingNumber: WideString read FShipmentTrackingNumber write FShipmentTrackingNumber;
property ShippingServiceUsed: WideString read FShippingServiceUsed write FShippingServiceUsed;
property DefaultShippingCost: AmountType read FDefaultShippingCost write FDefaultShippingCost;
property InsuranceDetails: InsuranceDetailsType read FInsuranceDetails write FInsuranceDetails;
property InternationalInsuranceDetails: InsuranceDetailsType read FInternationalInsuranceDetails write FInternationalInsuranceDetails;
property ShippingDiscountProfileID: WideString read FShippingDiscountProfileID write FShippingDiscountProfileID;
property FlatShippingDiscount: FlatShippingDiscountType read FFlatShippingDiscount write FFlatShippingDiscount;
property CalculatedShippingDiscount: CalculatedShippingDiscountType read FCalculatedShippingDiscount write FCalculatedShippingDiscount;
property PromotionalShippingDiscount: Boolean read FPromotionalShippingDiscount write FPromotionalShippingDiscount;
property InternationalShippingDiscountProfileID: WideString read FInternationalShippingDiscountProfileID write FInternationalShippingDiscountProfileID;
property InternationalFlatShippingDiscount: FlatShippingDiscountType read FInternationalFlatShippingDiscount write FInternationalFlatShippingDiscount;
property InternationalCalculatedShippingDiscount: CalculatedShippingDiscountType read FInternationalCalculatedShippingDiscount write FInternationalCalculatedShippingDiscount;
property InternationalPromotionalShippingDiscount: Boolean read FInternationalPromotionalShippingDiscount write FInternationalPromotionalShippingDiscount;
property PromotionalShippingDiscountDetails: PromotionalShippingDiscountDetailsType read FPromotionalShippingDiscountDetails write FPromotionalShippingDiscountDetails;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MaximumItemRequirementsType = class(TRemotable)
private
FMaximumItemCount: Integer;
FMinimumFeedbackScore: Integer;
published
property MaximumItemCount: Integer read FMaximumItemCount write FMaximumItemCount;
property MinimumFeedbackScore: Integer read FMinimumFeedbackScore write FMinimumFeedbackScore;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
VerifiedUserRequirementsType = class(TRemotable)
private
FVerifiedUser: Boolean;
FMinimumFeedbackScore: Integer;
published
property VerifiedUser: Boolean read FVerifiedUser write FVerifiedUser;
property MinimumFeedbackScore: Integer read FMinimumFeedbackScore write FMinimumFeedbackScore;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BuyerRequirementsType = class(TRemotable)
private
FShipToRegistrationCountry: Boolean;
FZeroFeedbackScore: Boolean;
FMinimumFeedbackScore: Integer;
FMaximumUnpaidItemStrikes: Boolean;
FMaximumItemRequirements: MaximumItemRequirementsType;
FLinkedPayPalAccount: Boolean;
FVerifiedUserRequirements: VerifiedUserRequirementsType;
public
destructor Destroy; override;
published
property ShipToRegistrationCountry: Boolean read FShipToRegistrationCountry write FShipToRegistrationCountry;
property ZeroFeedbackScore: Boolean read FZeroFeedbackScore write FZeroFeedbackScore;
property MinimumFeedbackScore: Integer read FMinimumFeedbackScore write FMinimumFeedbackScore;
property MaximumUnpaidItemStrikes: Boolean read FMaximumUnpaidItemStrikes write FMaximumUnpaidItemStrikes;
property MaximumItemRequirements: MaximumItemRequirementsType read FMaximumItemRequirements write FMaximumItemRequirements;
property LinkedPayPalAccount: Boolean read FLinkedPayPalAccount write FLinkedPayPalAccount;
property VerifiedUserRequirements: VerifiedUserRequirementsType read FVerifiedUserRequirements write FVerifiedUserRequirements;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ContactHoursDetailsType = class(TRemotable)
private
FTimeZoneID: WideString;
FHours1Days: DaysCodeType;
FHours1AnyTime: Boolean;
FHours1From: TXSTime;
FHours1To: TXSTime;
FHours2Days: DaysCodeType;
FHours2AnyTime: Boolean;
FHours2From: TXSTime;
FHours2To: TXSTime;
public
destructor Destroy; override;
published
property TimeZoneID: WideString read FTimeZoneID write FTimeZoneID;
property Hours1Days: DaysCodeType read FHours1Days write FHours1Days;
property Hours1AnyTime: Boolean read FHours1AnyTime write FHours1AnyTime;
property Hours1From: TXSTime read FHours1From write FHours1From;
property Hours1To: TXSTime read FHours1To write FHours1To;
property Hours2Days: DaysCodeType read FHours2Days write FHours2Days;
property Hours2AnyTime: Boolean read FHours2AnyTime write FHours2AnyTime;
property Hours2From: TXSTime read FHours2From write FHours2From;
property Hours2To: TXSTime read FHours2To write FHours2To;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExtendedContactDetailsType = class(TRemotable)
private
FContactHoursDetails: ContactHoursDetailsType;
FClassifiedAdContactByEmailEnabled: Boolean;
FPayPerLeadPhoneNumber: WideString;
public
destructor Destroy; override;
published
property ContactHoursDetails: ContactHoursDetailsType read FContactHoursDetails write FContactHoursDetails;
property ClassifiedAdContactByEmailEnabled: Boolean read FClassifiedAdContactByEmailEnabled write FClassifiedAdContactByEmailEnabled;
property PayPerLeadPhoneNumber: WideString read FPayPerLeadPhoneNumber write FPayPerLeadPhoneNumber;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemType = class(TRemotable)
private
FApplicationData: WideString;
FAttributeSetArray: AttributeSetArrayType;
FAttributeArray: AttributeArrayType;
FLookupAttributeArray: LookupAttributeArrayType;
FApplyShippingDiscount: Boolean;
FAutoPay: Boolean;
FPaymentDetails: PaymentDetailsType;
FBiddingDetails: BiddingDetailsType;
FMotorsGermanySearchable: Boolean;
FBuyerProtection: BuyerProtectionCodeType;
FBuyItNowPrice: AmountType;
FCategoryMappingAllowed: Boolean;
FCharity: CharityType;
FCountry: CountryCodeType;
FCrossPromotion: CrossPromotionsType;
FCurrency: CurrencyCodeType;
FDescription: WideString;
FDescriptionReviseMode: DescriptionReviseModeCodeType;
FDistance: DistanceType;
FGiftIcon: Integer;
FGiftServices: GiftServicesCodeType;
FHitCounter: HitCounterCodeType;
FItemID: ItemIDType;
FListingDetails: ListingDetailsType;
FListingDesigner: ListingDesignerType;
FListingDuration: WideString;
FListingEnhancement: ListingEnhancementsCodeType;
FListingType: ListingTypeCodeType;
FLocation: WideString;
FLotSize: Integer;
FNowAndNew: Boolean;
FPartnerCode: WideString;
FPartnerName: WideString;
FPaymentMethods: BuyerPaymentMethodCodeType;
FPayPalEmailAddress: WideString;
FPrimaryCategory: CategoryType;
FPrivateListing: Boolean;
FProductListingDetails: ProductListingDetailsType;
FQuantity: Integer;
FPrivateNotes: WideString;
FRegionID: WideString;
FRelistLink: Boolean;
FReservePrice: AmountType;
FReviseStatus: ReviseStatusType;
FScheduleTime: TXSDateTime;
FSecondaryCategory: CategoryType;
FFreeAddedCategory: CategoryType;
FSeller: UserType;
FSellingStatus: SellingStatusType;
FShippingDetails: ShippingDetailsType;
FShipToLocations: WideString;
FSite: SiteCodeType;
FStartPrice: AmountType;
FStorefront: StorefrontType;
FSubTitle: WideString;
FTimeLeft: TXSDuration;
FTitle: WideString;
FUUID: UUIDType;
FVATDetails: VATDetailsType;
FSellerVacationNote: WideString;
FWatchCount: Int64;
FHitCount: Int64;
FDisableBuyerRequirements: Boolean;
FBuyerRequirements: BuyerRequirementsType;
FBestOfferDetails: BestOfferDetailsType;
FLiveAuctionDetails: LiveAuctionDetailsType;
FLocationDefaulted: Boolean;
FThirdPartyCheckout: Boolean;
FUseTaxTable: Boolean;
FGetItFast: Boolean;
FBuyerResponsibleForShipping: Boolean;
FLimitedWarrantyEligible: Boolean;
FeBayNotes: WideString;
FQuestionCount: Int64;
FRelisted: Boolean;
FQuantityAvailable: Integer;
FSKU: SKUType;
FCategoryBasedAttributesPrefill: Boolean;
FSearchDetails: SearchDetailsType;
FPostalCode: WideString;
FShippingTermsInDescription: Boolean;
FExternalProductID: ExternalProductIDType;
FSellerInventoryID: WideString;
FPictureDetails: PictureDetailsType;
FDigitalDeliveryDetails: DigitalDeliveryDetailsType;
FDispatchTimeMax: Integer;
FSkypeEnabled: Boolean;
FSkypeID: WideString;
FSkypeContactOption: SkypeContactOptionCodeType;
FBestOfferEnabled: Boolean;
FLocalListing: Boolean;
FThirdPartyCheckoutIntegration: Boolean;
FExpressOptOut: Boolean;
FListingCheckoutRedirectPreference: ListingCheckoutRedirectPreferenceType;
FExpressDetails: ExpressDetailsType;
FSellerContactDetails: AddressType;
FTotalQuestionCount: Int64;
FProxyItem: Boolean;
FExtendedSellerContactDetails: ExtendedContactDetailsType;
FLeadCount: Integer;
FNewLeadCount: Integer;
FItemSpecifics: NameValueListArrayType;
FGroupCategoryID: WideString;
FClassifiedAdPayPerLeadFee: AmountType;
FBidGroupItem: Boolean;
FApplyBuyerProtection: BuyerProtectionDetailsType;
FListingSubtype2: ListingSubtypeCodeType;
FMechanicalCheckAccepted: Boolean;
public
destructor Destroy; override;
published
property ApplicationData: WideString read FApplicationData write FApplicationData;
property AttributeSetArray: AttributeSetArrayType read FAttributeSetArray write FAttributeSetArray;
property AttributeArray: AttributeArrayType read FAttributeArray write FAttributeArray;
property LookupAttributeArray: LookupAttributeArrayType read FLookupAttributeArray write FLookupAttributeArray;
property ApplyShippingDiscount: Boolean read FApplyShippingDiscount write FApplyShippingDiscount;
property AutoPay: Boolean read FAutoPay write FAutoPay;
property PaymentDetails: PaymentDetailsType read FPaymentDetails write FPaymentDetails;
property BiddingDetails: BiddingDetailsType read FBiddingDetails write FBiddingDetails;
property MotorsGermanySearchable: Boolean read FMotorsGermanySearchable write FMotorsGermanySearchable;
property BuyerProtection: BuyerProtectionCodeType read FBuyerProtection write FBuyerProtection;
property BuyItNowPrice: AmountType read FBuyItNowPrice write FBuyItNowPrice;
property CategoryMappingAllowed: Boolean read FCategoryMappingAllowed write FCategoryMappingAllowed;
property Charity: CharityType read FCharity write FCharity;
property Country: CountryCodeType read FCountry write FCountry;
property CrossPromotion: CrossPromotionsType read FCrossPromotion write FCrossPromotion;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
property Description: WideString read FDescription write FDescription;
property DescriptionReviseMode: DescriptionReviseModeCodeType read FDescriptionReviseMode write FDescriptionReviseMode;
property Distance: DistanceType read FDistance write FDistance;
property GiftIcon: Integer read FGiftIcon write FGiftIcon;
property GiftServices: GiftServicesCodeType read FGiftServices write FGiftServices;
property HitCounter: HitCounterCodeType read FHitCounter write FHitCounter;
property ItemID: ItemIDType read FItemID write FItemID;
property ListingDetails: ListingDetailsType read FListingDetails write FListingDetails;
property ListingDesigner: ListingDesignerType read FListingDesigner write FListingDesigner;
property ListingDuration: WideString read FListingDuration write FListingDuration;
property ListingEnhancement: ListingEnhancementsCodeType read FListingEnhancement write FListingEnhancement;
property ListingType: ListingTypeCodeType read FListingType write FListingType;
property Location: WideString read FLocation write FLocation;
property LotSize: Integer read FLotSize write FLotSize;
property NowAndNew: Boolean read FNowAndNew write FNowAndNew;
property PartnerCode: WideString read FPartnerCode write FPartnerCode;
property PartnerName: WideString read FPartnerName write FPartnerName;
property PaymentMethods: BuyerPaymentMethodCodeType read FPaymentMethods write FPaymentMethods;
property PayPalEmailAddress: WideString read FPayPalEmailAddress write FPayPalEmailAddress;
property PrimaryCategory: CategoryType read FPrimaryCategory write FPrimaryCategory;
property PrivateListing: Boolean read FPrivateListing write FPrivateListing;
property ProductListingDetails: ProductListingDetailsType read FProductListingDetails write FProductListingDetails;
property Quantity: Integer read FQuantity write FQuantity;
property PrivateNotes: WideString read FPrivateNotes write FPrivateNotes;
property RegionID: WideString read FRegionID write FRegionID;
property RelistLink: Boolean read FRelistLink write FRelistLink;
property ReservePrice: AmountType read FReservePrice write FReservePrice;
property ReviseStatus: ReviseStatusType read FReviseStatus write FReviseStatus;
property ScheduleTime: TXSDateTime read FScheduleTime write FScheduleTime;
property SecondaryCategory: CategoryType read FSecondaryCategory write FSecondaryCategory;
property FreeAddedCategory: CategoryType read FFreeAddedCategory write FFreeAddedCategory;
property Seller: UserType read FSeller write FSeller;
property SellingStatus: SellingStatusType read FSellingStatus write FSellingStatus;
property ShippingDetails: ShippingDetailsType read FShippingDetails write FShippingDetails;
property ShipToLocations: WideString read FShipToLocations write FShipToLocations;
property Site: SiteCodeType read FSite write FSite;
property StartPrice: AmountType read FStartPrice write FStartPrice;
property Storefront: StorefrontType read FStorefront write FStorefront;
property SubTitle: WideString read FSubTitle write FSubTitle;
property TimeLeft: TXSDuration read FTimeLeft write FTimeLeft;
property Title: WideString read FTitle write FTitle;
property UUID: UUIDType read FUUID write FUUID;
property VATDetails: VATDetailsType read FVATDetails write FVATDetails;
property SellerVacationNote: WideString read FSellerVacationNote write FSellerVacationNote;
property WatchCount: Int64 read FWatchCount write FWatchCount;
property HitCount: Int64 read FHitCount write FHitCount;
property DisableBuyerRequirements: Boolean read FDisableBuyerRequirements write FDisableBuyerRequirements;
property BuyerRequirements: BuyerRequirementsType read FBuyerRequirements write FBuyerRequirements;
property BestOfferDetails: BestOfferDetailsType read FBestOfferDetails write FBestOfferDetails;
property LiveAuctionDetails: LiveAuctionDetailsType read FLiveAuctionDetails write FLiveAuctionDetails;
property LocationDefaulted: Boolean read FLocationDefaulted write FLocationDefaulted;
property ThirdPartyCheckout: Boolean read FThirdPartyCheckout write FThirdPartyCheckout;
property UseTaxTable: Boolean read FUseTaxTable write FUseTaxTable;
property GetItFast: Boolean read FGetItFast write FGetItFast;
property BuyerResponsibleForShipping: Boolean read FBuyerResponsibleForShipping write FBuyerResponsibleForShipping;
property LimitedWarrantyEligible: Boolean read FLimitedWarrantyEligible write FLimitedWarrantyEligible;
property eBayNotes: WideString read FeBayNotes write FeBayNotes;
property QuestionCount: Int64 read FQuestionCount write FQuestionCount;
property Relisted: Boolean read FRelisted write FRelisted;
property QuantityAvailable: Integer read FQuantityAvailable write FQuantityAvailable;
property SKU: SKUType read FSKU write FSKU;
property CategoryBasedAttributesPrefill: Boolean read FCategoryBasedAttributesPrefill write FCategoryBasedAttributesPrefill;
property SearchDetails: SearchDetailsType read FSearchDetails write FSearchDetails;
property PostalCode: WideString read FPostalCode write FPostalCode;
property ShippingTermsInDescription: Boolean read FShippingTermsInDescription write FShippingTermsInDescription;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
property SellerInventoryID: WideString read FSellerInventoryID write FSellerInventoryID;
property PictureDetails: PictureDetailsType read FPictureDetails write FPictureDetails;
property DigitalDeliveryDetails: DigitalDeliveryDetailsType read FDigitalDeliveryDetails write FDigitalDeliveryDetails;
property DispatchTimeMax: Integer read FDispatchTimeMax write FDispatchTimeMax;
property SkypeEnabled: Boolean read FSkypeEnabled write FSkypeEnabled;
property SkypeID: WideString read FSkypeID write FSkypeID;
property SkypeContactOption: SkypeContactOptionCodeType read FSkypeContactOption write FSkypeContactOption;
property BestOfferEnabled: Boolean read FBestOfferEnabled write FBestOfferEnabled;
property LocalListing: Boolean read FLocalListing write FLocalListing;
property ThirdPartyCheckoutIntegration: Boolean read FThirdPartyCheckoutIntegration write FThirdPartyCheckoutIntegration;
property ExpressOptOut: Boolean read FExpressOptOut write FExpressOptOut;
property ListingCheckoutRedirectPreference: ListingCheckoutRedirectPreferenceType read FListingCheckoutRedirectPreference write FListingCheckoutRedirectPreference;
property ExpressDetails: ExpressDetailsType read FExpressDetails write FExpressDetails;
property SellerContactDetails: AddressType read FSellerContactDetails write FSellerContactDetails;
property TotalQuestionCount: Int64 read FTotalQuestionCount write FTotalQuestionCount;
property ProxyItem: Boolean read FProxyItem write FProxyItem;
property ExtendedSellerContactDetails: ExtendedContactDetailsType read FExtendedSellerContactDetails write FExtendedSellerContactDetails;
property LeadCount: Integer read FLeadCount write FLeadCount;
property NewLeadCount: Integer read FNewLeadCount write FNewLeadCount;
property ItemSpecifics: NameValueListArrayType read FItemSpecifics write FItemSpecifics;
property GroupCategoryID: WideString read FGroupCategoryID write FGroupCategoryID;
property ClassifiedAdPayPerLeadFee: AmountType read FClassifiedAdPayPerLeadFee write FClassifiedAdPayPerLeadFee;
property BidGroupItem: Boolean read FBidGroupItem write FBidGroupItem;
property ApplyBuyerProtection: BuyerProtectionDetailsType read FApplyBuyerProtection write FApplyBuyerProtection;
property ListingSubtype2: ListingSubtypeCodeType read FListingSubtype2 write FListingSubtype2;
property MechanicalCheckAccepted: Boolean read FMechanicalCheckAccepted write FMechanicalCheckAccepted;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
NameValueListType = class(TRemotable)
private
FName_: WideString;
FValue: WideString;
FSource: ItemSpecificSourceCodeType;
published
property Name_: WideString read FName_ write FName_;
property Value: WideString read FValue write FValue;
property Source: ItemSpecificSourceCodeType read FSource write FSource;
end;
FeesType = array of FeeType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeeType = class(TRemotable)
private
FName_: WideString;
FFee: AmountType;
public
destructor Destroy; override;
published
property Name_: WideString read FName_ write FName_;
property Fee: AmountType read FFee write FFee;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MemberMessageType = class(TRemotable)
private
FMessageType: MessageTypeCodeType;
FQuestionType: QuestionTypeCodeType;
FEmailCopyToSender: Boolean;
FHideSendersEmailAddress: Boolean;
FDisplayToPublic: Boolean;
FSenderID: WideString;
FSenderEmail: WideString;
FRecipientID: WideString;
FSubject: WideString;
FBody: WideString;
FMessageID: WideString;
FParentMessageID: WideString;
published
property MessageType: MessageTypeCodeType read FMessageType write FMessageType;
property QuestionType: QuestionTypeCodeType read FQuestionType write FQuestionType;
property EmailCopyToSender: Boolean read FEmailCopyToSender write FEmailCopyToSender;
property HideSendersEmailAddress: Boolean read FHideSendersEmailAddress write FHideSendersEmailAddress;
property DisplayToPublic: Boolean read FDisplayToPublic write FDisplayToPublic;
property SenderID: WideString read FSenderID write FSenderID;
property SenderEmail: WideString read FSenderEmail write FSenderEmail;
property RecipientID: WideString read FRecipientID write FRecipientID;
property Subject: WideString read FSubject write FSubject;
property Body: WideString read FBody write FBody;
property MessageID: WideString read FMessageID write FMessageID;
property ParentMessageID: WideString read FParentMessageID write FParentMessageID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AddMemberMessagesAAQToBidderRequestContainerType = class(TRemotable)
private
FCorrelationID: WideString;
FItemID: WideString;
FMemberMessage: MemberMessageType;
public
destructor Destroy; override;
published
property CorrelationID: WideString read FCorrelationID write FCorrelationID;
property ItemID: WideString read FItemID write FItemID;
property MemberMessage: MemberMessageType read FMemberMessage write FMemberMessage;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AddMemberMessagesAAQToBidderResponseContainerType = class(TRemotable)
private
FCorrelationID: WideString;
FAck: AckCodeType;
published
property CorrelationID: WideString read FCorrelationID write FCorrelationID;
property Ack: AckCodeType read FAck write FAck;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CheckoutStatusType = class(TRemotable)
private
FeBayPaymentStatus: PaymentStatusCodeType;
FLastModifiedTime: TXSDateTime;
FPaymentMethod: BuyerPaymentMethodCodeType;
FStatus: CompleteStatusCodeType;
public
destructor Destroy; override;
published
property eBayPaymentStatus: PaymentStatusCodeType read FeBayPaymentStatus write FeBayPaymentStatus;
property LastModifiedTime: TXSDateTime read FLastModifiedTime write FLastModifiedTime;
property PaymentMethod: BuyerPaymentMethodCodeType read FPaymentMethod write FPaymentMethod;
property Status: CompleteStatusCodeType read FStatus write FStatus;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExternalTransactionType = class(TRemotable)
private
FExternalTransactionID: WideString;
FExternalTransactionTime: TXSDateTime;
FFeeOrCreditAmount: AmountType;
FPaymentOrRefundAmount: AmountType;
public
destructor Destroy; override;
published
property ExternalTransactionID: WideString read FExternalTransactionID write FExternalTransactionID;
property ExternalTransactionTime: TXSDateTime read FExternalTransactionTime write FExternalTransactionTime;
property FeeOrCreditAmount: AmountType read FFeeOrCreditAmount write FFeeOrCreditAmount;
property PaymentOrRefundAmount: AmountType read FPaymentOrRefundAmount write FPaymentOrRefundAmount;
end;
TransactionArrayType = array of TransactionType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
OrderType = class(TRemotable)
private
FOrderID: OrderIDType;
FOrderStatus: OrderStatusCodeType;
FAdjustmentAmount: AmountType;
FAmountPaid: AmountType;
FAmountSaved: AmountType;
FCheckoutStatus: CheckoutStatusType;
FShippingDetails: ShippingDetailsType;
FCreatingUserRole: TradingRoleCodeType;
FCreatedTime: TXSDateTime;
FPaymentMethods: BuyerPaymentMethodCodeType;
FSellerEmail: WideString;
FShippingAddress: AddressType;
FShippingServiceSelected: ShippingServiceOptionsType;
FSubtotal: AmountType;
FTotal: AmountType;
FExternalTransaction: ExternalTransactionType;
FDigitalDelivery: Boolean;
FTransactionArray: TransactionArrayType;
FBuyerUserID: UserIDType;
FPaidTime: TXSDateTime;
FShippedTime: TXSDateTime;
public
destructor Destroy; override;
published
property OrderID: OrderIDType read FOrderID write FOrderID;
property OrderStatus: OrderStatusCodeType read FOrderStatus write FOrderStatus;
property AdjustmentAmount: AmountType read FAdjustmentAmount write FAdjustmentAmount;
property AmountPaid: AmountType read FAmountPaid write FAmountPaid;
property AmountSaved: AmountType read FAmountSaved write FAmountSaved;
property CheckoutStatus: CheckoutStatusType read FCheckoutStatus write FCheckoutStatus;
property ShippingDetails: ShippingDetailsType read FShippingDetails write FShippingDetails;
property CreatingUserRole: TradingRoleCodeType read FCreatingUserRole write FCreatingUserRole;
property CreatedTime: TXSDateTime read FCreatedTime write FCreatedTime;
property PaymentMethods: BuyerPaymentMethodCodeType read FPaymentMethods write FPaymentMethods;
property SellerEmail: WideString read FSellerEmail write FSellerEmail;
property ShippingAddress: AddressType read FShippingAddress write FShippingAddress;
property ShippingServiceSelected: ShippingServiceOptionsType read FShippingServiceSelected write FShippingServiceSelected;
property Subtotal: AmountType read FSubtotal write FSubtotal;
property Total: AmountType read FTotal write FTotal;
property ExternalTransaction: ExternalTransactionType read FExternalTransaction write FExternalTransaction;
property DigitalDelivery: Boolean read FDigitalDelivery write FDigitalDelivery;
property TransactionArray: TransactionArrayType read FTransactionArray write FTransactionArray;
property BuyerUserID: UserIDType read FBuyerUserID write FBuyerUserID;
property PaidTime: TXSDateTime read FPaidTime write FPaidTime;
property ShippedTime: TXSDateTime read FShippedTime write FShippedTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
TransactionStatusType = class(TRemotable)
private
FeBayPaymentStatus: PaymentStatusCodeType;
FCheckoutStatus: CheckoutStatusCodeType;
FLastTimeModified: TXSDateTime;
FPaymentMethodUsed: BuyerPaymentMethodCodeType;
FCompleteStatus: CompleteStatusCodeType;
FBuyerSelectedShipping: Boolean;
public
destructor Destroy; override;
published
property eBayPaymentStatus: PaymentStatusCodeType read FeBayPaymentStatus write FeBayPaymentStatus;
property CheckoutStatus: CheckoutStatusCodeType read FCheckoutStatus write FCheckoutStatus;
property LastTimeModified: TXSDateTime read FLastTimeModified write FLastTimeModified;
property PaymentMethodUsed: BuyerPaymentMethodCodeType read FPaymentMethodUsed write FPaymentMethodUsed;
property CompleteStatus: CompleteStatusCodeType read FCompleteStatus write FCompleteStatus;
property BuyerSelectedShipping: Boolean read FBuyerSelectedShipping write FBuyerSelectedShipping;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellingManagerProductDetailsType = class(TRemotable)
private
FProductName: WideString;
FPartNumber: Integer;
FProductPartNumber: WideString;
FProductID: WideString;
FCustomLabel: WideString;
FQuantityAvailable: Integer;
FUnitCost: AmountType;
public
destructor Destroy; override;
published
property ProductName: WideString read FProductName write FProductName;
property PartNumber: Integer read FPartNumber write FPartNumber;
property ProductPartNumber: WideString read FProductPartNumber write FProductPartNumber;
property ProductID: WideString read FProductID write FProductID;
property CustomLabel: WideString read FCustomLabel write FCustomLabel;
property QuantityAvailable: Integer read FQuantityAvailable write FQuantityAvailable;
property UnitCost: AmountType read FUnitCost write FUnitCost;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeedbackInfoType = class(TRemotable)
private
FCommentText: WideString;
FCommentType: CommentTypeCodeType;
FTargetUser: UserIDType;
published
property CommentText: WideString read FCommentText write FCommentText;
property CommentType: CommentTypeCodeType read FCommentType write FCommentType;
property TargetUser: UserIDType read FTargetUser write FTargetUser;
end;
RefundArrayType = array of RefundType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
TransactionType = class(TRemotable)
private
FAmountPaid: AmountType;
FAdjustmentAmount: AmountType;
FConvertedAdjustmentAmount: AmountType;
FBuyer: UserType;
FShippingDetails: ShippingDetailsType;
FConvertedAmountPaid: AmountType;
FConvertedTransactionPrice: AmountType;
FCreatedDate: TXSDateTime;
FDepositType: DepositTypeCodeType;
FItem: ItemType;
FQuantityPurchased: Integer;
FStatus: TransactionStatusType;
FTransactionID: WideString;
FTransactionPrice: AmountType;
FBestOfferSale: Boolean;
FVATPercent: TXSDecimal;
FExternalTransaction: ExternalTransactionType;
FSellingManagerProductDetails: SellingManagerProductDetailsType;
FShippingServiceSelected: ShippingServiceOptionsType;
FBuyerMessage: WideString;
FDutchAuctionBid: AmountType;
FBuyerPaidStatus: PaidStatusCodeType;
FSellerPaidStatus: PaidStatusCodeType;
FPaidTime: TXSDateTime;
FShippedTime: TXSDateTime;
FTotalPrice: AmountType;
FFeedbackLeft: FeedbackInfoType;
FFeedbackReceived: FeedbackInfoType;
FContainingOrder: OrderType;
FFinalValueFee: AmountType;
FTransactionPlatform: TransactionPlatformType;
FListingCheckoutRedirectPreference: ListingCheckoutRedirectPreferenceType;
FRefundArray: RefundArrayType;
FTransactionSiteID: SiteCodeType;
FPlatform_: TransactionPlatformCodeType;
FCartID: WideString;
FSellerContactBuyerByEmail: Boolean;
FPayPalEmailAddress: WideString;
FPaisaPayID: WideString;
public
destructor Destroy; override;
published
property AmountPaid: AmountType read FAmountPaid write FAmountPaid;
property AdjustmentAmount: AmountType read FAdjustmentAmount write FAdjustmentAmount;
property ConvertedAdjustmentAmount: AmountType read FConvertedAdjustmentAmount write FConvertedAdjustmentAmount;
property Buyer: UserType read FBuyer write FBuyer;
property ShippingDetails: ShippingDetailsType read FShippingDetails write FShippingDetails;
property ConvertedAmountPaid: AmountType read FConvertedAmountPaid write FConvertedAmountPaid;
property ConvertedTransactionPrice: AmountType read FConvertedTransactionPrice write FConvertedTransactionPrice;
property CreatedDate: TXSDateTime read FCreatedDate write FCreatedDate;
property DepositType: DepositTypeCodeType read FDepositType write FDepositType;
property Item: ItemType read FItem write FItem;
property QuantityPurchased: Integer read FQuantityPurchased write FQuantityPurchased;
property Status: TransactionStatusType read FStatus write FStatus;
property TransactionID: WideString read FTransactionID write FTransactionID;
property TransactionPrice: AmountType read FTransactionPrice write FTransactionPrice;
property BestOfferSale: Boolean read FBestOfferSale write FBestOfferSale;
property VATPercent: TXSDecimal read FVATPercent write FVATPercent;
property ExternalTransaction: ExternalTransactionType read FExternalTransaction write FExternalTransaction;
property SellingManagerProductDetails: SellingManagerProductDetailsType read FSellingManagerProductDetails write FSellingManagerProductDetails;
property ShippingServiceSelected: ShippingServiceOptionsType read FShippingServiceSelected write FShippingServiceSelected;
property BuyerMessage: WideString read FBuyerMessage write FBuyerMessage;
property DutchAuctionBid: AmountType read FDutchAuctionBid write FDutchAuctionBid;
property BuyerPaidStatus: PaidStatusCodeType read FBuyerPaidStatus write FBuyerPaidStatus;
property SellerPaidStatus: PaidStatusCodeType read FSellerPaidStatus write FSellerPaidStatus;
property PaidTime: TXSDateTime read FPaidTime write FPaidTime;
property ShippedTime: TXSDateTime read FShippedTime write FShippedTime;
property TotalPrice: AmountType read FTotalPrice write FTotalPrice;
property FeedbackLeft: FeedbackInfoType read FFeedbackLeft write FFeedbackLeft;
property FeedbackReceived: FeedbackInfoType read FFeedbackReceived write FFeedbackReceived;
property ContainingOrder: OrderType read FContainingOrder write FContainingOrder;
property FinalValueFee: AmountType read FFinalValueFee write FFinalValueFee;
property TransactionPlatform: TransactionPlatformType read FTransactionPlatform write FTransactionPlatform;
property ListingCheckoutRedirectPreference: ListingCheckoutRedirectPreferenceType read FListingCheckoutRedirectPreference write FListingCheckoutRedirectPreference;
property RefundArray: RefundArrayType read FRefundArray write FRefundArray;
property TransactionSiteID: SiteCodeType read FTransactionSiteID write FTransactionSiteID;
property Platform_: TransactionPlatformCodeType read FPlatform_ write FPlatform_;
property CartID: WideString read FCartID write FCartID;
property SellerContactBuyerByEmail: Boolean read FSellerContactBuyerByEmail write FSellerContactBuyerByEmail;
property PayPalEmailAddress: WideString read FPayPalEmailAddress write FPayPalEmailAddress;
property PaisaPayID: WideString read FPaisaPayID write FPaisaPayID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
RefundType = class(TRemotable)
private
FRefundFromSeller: AmountType;
FTotalRefundToBuyer: AmountType;
FRefundTime: TXSDateTime;
public
destructor Destroy; override;
published
property RefundFromSeller: AmountType read FRefundFromSeller write FRefundFromSeller;
property TotalRefundToBuyer: AmountType read FTotalRefundToBuyer write FTotalRefundToBuyer;
property RefundTime: TXSDateTime read FRefundTime write FRefundTime;
end;
BidApprovalArrayType = array of BidApprovalType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidApprovalType = class(TRemotable)
private
FUserID: UserIDType;
FApprovedBiddingLimit: AmountType;
FDeclinedComment: WideString;
FStatus: BidderStatusCodeType;
public
destructor Destroy; override;
published
property UserID: UserIDType read FUserID write FUserID;
property ApprovedBiddingLimit: AmountType read FApprovedBiddingLimit write FApprovedBiddingLimit;
property DeclinedComment: WideString read FDeclinedComment write FDeclinedComment;
property Status: BidderStatusCodeType read FStatus write FStatus;
end;
LiveAuctionApprovalStatusArrayType = array of LiveAuctionApprovalStatusType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LiveAuctionApprovalStatusType = class(TRemotable)
private
FUserID: UserIDType;
FStatus: WideString;
published
property UserID: UserIDType read FUserID write FUserID;
property Status: WideString read FStatus write FStatus;
end;
MyMessagesAlertIDArrayType = array of MyMessagesAlertIDType; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesMessageIDArrayType = array of MyMessagesMessageIDType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaginationType = class(TRemotable)
private
FEntriesPerPage: Integer;
FPageNumber: Integer;
published
property EntriesPerPage: Integer read FEntriesPerPage write FEntriesPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
end;
AccountEntriesType = array of AccountEntryType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaginationResultType = class(TRemotable)
private
FTotalNumberOfPages: Integer;
FTotalNumberOfEntries: Integer;
published
property TotalNumberOfPages: Integer read FTotalNumberOfPages write FTotalNumberOfPages;
property TotalNumberOfEntries: Integer read FTotalNumberOfEntries write FTotalNumberOfEntries;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AdditionalAccountType = class(TRemotable)
private
FBalance: AmountType;
FCurrency: CurrencyCodeType;
FAccountCode: WideString;
public
destructor Destroy; override;
published
property Balance: AmountType read FBalance write FBalance;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
property AccountCode: WideString read FAccountCode write FAccountCode;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AccountSummaryType = class(TRemotable)
private
FAccountState: AccountStateCodeType;
FInvoicePayment: AmountType;
FInvoiceCredit: AmountType;
FInvoiceNewFee: AmountType;
FAdditionalAccount: AdditionalAccountType;
FAmountPastDue: AmountType;
FBankAccountInfo: WideString;
FBankModifyDate: TXSDateTime;
FBillingCycleDate: Integer;
FCreditCardExpiration: TXSDateTime;
FCreditCardInfo: WideString;
FCreditCardModifyDate: TXSDateTime;
FCurrentBalance: AmountType;
FEmail: WideString;
FInvoiceBalance: AmountType;
FInvoiceDate: TXSDateTime;
FLastAmountPaid: AmountType;
FLastPaymentDate: TXSDateTime;
FPastDue: Boolean;
FPaymentMethod: SellerPaymentMethodCodeType;
public
destructor Destroy; override;
published
property AccountState: AccountStateCodeType read FAccountState write FAccountState;
property InvoicePayment: AmountType read FInvoicePayment write FInvoicePayment;
property InvoiceCredit: AmountType read FInvoiceCredit write FInvoiceCredit;
property InvoiceNewFee: AmountType read FInvoiceNewFee write FInvoiceNewFee;
property AdditionalAccount: AdditionalAccountType read FAdditionalAccount write FAdditionalAccount;
property AmountPastDue: AmountType read FAmountPastDue write FAmountPastDue;
property BankAccountInfo: WideString read FBankAccountInfo write FBankAccountInfo;
property BankModifyDate: TXSDateTime read FBankModifyDate write FBankModifyDate;
property BillingCycleDate: Integer read FBillingCycleDate write FBillingCycleDate;
property CreditCardExpiration: TXSDateTime read FCreditCardExpiration write FCreditCardExpiration;
property CreditCardInfo: WideString read FCreditCardInfo write FCreditCardInfo;
property CreditCardModifyDate: TXSDateTime read FCreditCardModifyDate write FCreditCardModifyDate;
property CurrentBalance: AmountType read FCurrentBalance write FCurrentBalance;
property Email: WideString read FEmail write FEmail;
property InvoiceBalance: AmountType read FInvoiceBalance write FInvoiceBalance;
property InvoiceDate: TXSDateTime read FInvoiceDate write FInvoiceDate;
property LastAmountPaid: AmountType read FLastAmountPaid write FLastAmountPaid;
property LastPaymentDate: TXSDateTime read FLastPaymentDate write FLastPaymentDate;
property PastDue: Boolean read FPastDue write FPastDue;
property PaymentMethod: SellerPaymentMethodCodeType read FPaymentMethod write FPaymentMethod;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AccountEntryType = class(TRemotable)
private
FAccountDetailsEntryType: AccountDetailEntryCodeType;
FDescription: WideString;
FBalance: AmountType;
FDate: TXSDateTime;
FGrossDetailAmount: AmountType;
FItemID: ItemIDType;
FMemo: WideString;
FNetDetailAmount: AmountType;
FRefNumber: WideString;
FVATPercent: TXSDecimal;
FTitle: WideString;
public
destructor Destroy; override;
published
property AccountDetailsEntryType: AccountDetailEntryCodeType read FAccountDetailsEntryType write FAccountDetailsEntryType;
property Description: WideString read FDescription write FDescription;
property Balance: AmountType read FBalance write FBalance;
property Date: TXSDateTime read FDate write FDate;
property GrossDetailAmount: AmountType read FGrossDetailAmount write FGrossDetailAmount;
property ItemID: ItemIDType read FItemID write FItemID;
property Memo: WideString read FMemo write FMemo;
property NetDetailAmount: AmountType read FNetDetailAmount write FNetDetailAmount;
property RefNumber: WideString read FRefNumber write FRefNumber;
property VATPercent: TXSDecimal read FVATPercent write FVATPercent;
property Title: WideString read FTitle write FTitle;
end;
MemberMessageExchangeArrayType = array of MemberMessageExchangeType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AdFormatLeadType = class(TRemotable)
private
FAdditionalInformation: WideString;
FAddress: AddressType;
FBestTimeToCall: WideString;
FEmail: WideString;
FFirstName: WideString;
FLastName: WideString;
FPhone: WideString;
FSubmittedTime: TXSDateTime;
FItemID: ItemIDType;
FItemTitle: WideString;
FUserID: UserIDType;
FMemberMessage: MemberMessageExchangeArrayType;
FStatus: AdFormatLeadStatusCodeType;
FPhone2: WideString;
FLeadFee: AmountType;
public
destructor Destroy; override;
published
property AdditionalInformation: WideString read FAdditionalInformation write FAdditionalInformation;
property Address: AddressType read FAddress write FAddress;
property BestTimeToCall: WideString read FBestTimeToCall write FBestTimeToCall;
property Email: WideString read FEmail write FEmail;
property FirstName: WideString read FFirstName write FFirstName;
property LastName: WideString read FLastName write FLastName;
property Phone: WideString read FPhone write FPhone;
property SubmittedTime: TXSDateTime read FSubmittedTime write FSubmittedTime;
property ItemID: ItemIDType read FItemID write FItemID;
property ItemTitle: WideString read FItemTitle write FItemTitle;
property UserID: UserIDType read FUserID write FUserID;
property MemberMessage: MemberMessageExchangeArrayType read FMemberMessage write FMemberMessage;
property Status: AdFormatLeadStatusCodeType read FStatus write FStatus;
property Phone2: WideString read FPhone2 write FPhone2;
property LeadFee: AmountType read FLeadFee write FLeadFee;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MemberMessageExchangeType = class(TRemotable)
private
FItem: ItemType;
FQuestion: MemberMessageType;
FResponse: WideString;
FMessageStatus: MessageStatusTypeCodeType;
FCreationDate: TXSDateTime;
FLastModifiedDate: TXSDateTime;
public
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property Question: MemberMessageType read FQuestion write FQuestion;
property Response: WideString read FResponse write FResponse;
property MessageStatus: MessageStatusTypeCodeType read FMessageStatus write FMessageStatus;
property CreationDate: TXSDateTime read FCreationDate write FCreationDate;
property LastModifiedDate: TXSDateTime read FLastModifiedDate write FLastModifiedDate;
end;
OfferArrayType = array of OfferType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
OfferType = class(TRemotable)
private
FAction: BidActionCodeType;
FCurrency: CurrencyCodeType;
FItemID: ItemIDType;
FMaxBid: AmountType;
FQuantity: Integer;
FSecondChanceEnabled: Boolean;
FSiteCurrency: CurrencyCodeType;
FTimeBid: TXSDateTime;
FHighestBid: AmountType;
FConvertedPrice: AmountType;
FTransactionID: WideString;
FUser: UserType;
FUserConsent: Boolean;
FBidCount: Integer;
FMessage_: WideString;
FBestOfferID: BestOfferIDType;
public
destructor Destroy; override;
published
property Action: BidActionCodeType read FAction write FAction;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
property ItemID: ItemIDType read FItemID write FItemID;
property MaxBid: AmountType read FMaxBid write FMaxBid;
property Quantity: Integer read FQuantity write FQuantity;
property SecondChanceEnabled: Boolean read FSecondChanceEnabled write FSecondChanceEnabled;
property SiteCurrency: CurrencyCodeType read FSiteCurrency write FSiteCurrency;
property TimeBid: TXSDateTime read FTimeBid write FTimeBid;
property HighestBid: AmountType read FHighestBid write FHighestBid;
property ConvertedPrice: AmountType read FConvertedPrice write FConvertedPrice;
property TransactionID: WideString read FTransactionID write FTransactionID;
property User: UserType read FUser write FUser;
property UserConsent: Boolean read FUserConsent write FUserConsent;
property BidCount: Integer read FBidCount write FBidCount;
property Message_: WideString read FMessage_ write FMessage_;
property BestOfferID: BestOfferIDType read FBestOfferID write FBestOfferID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ApiAccessRuleType = class(TRemotable)
private
FCallName: WideString;
FCountsTowardAggregate: Boolean;
FDailyHardLimit: Int64;
FDailySoftLimit: Int64;
FDailyUsage: Int64;
FHourlyHardLimit: Int64;
FHourlySoftLimit: Int64;
FHourlyUsage: Int64;
FPeriod: Integer;
FPeriodicHardLimit: Int64;
FPeriodicSoftLimit: Int64;
FPeriodicUsage: Int64;
FPeriodicStartDate: TXSDateTime;
FModTime: TXSDateTime;
FRuleCurrentStatus: AccessRuleCurrentStatusCodeType;
FRuleStatus: AccessRuleStatusCodeType;
public
destructor Destroy; override;
published
property CallName: WideString read FCallName write FCallName;
property CountsTowardAggregate: Boolean read FCountsTowardAggregate write FCountsTowardAggregate;
property DailyHardLimit: Int64 read FDailyHardLimit write FDailyHardLimit;
property DailySoftLimit: Int64 read FDailySoftLimit write FDailySoftLimit;
property DailyUsage: Int64 read FDailyUsage write FDailyUsage;
property HourlyHardLimit: Int64 read FHourlyHardLimit write FHourlyHardLimit;
property HourlySoftLimit: Int64 read FHourlySoftLimit write FHourlySoftLimit;
property HourlyUsage: Int64 read FHourlyUsage write FHourlyUsage;
property Period: Integer read FPeriod write FPeriod;
property PeriodicHardLimit: Int64 read FPeriodicHardLimit write FPeriodicHardLimit;
property PeriodicSoftLimit: Int64 read FPeriodicSoftLimit write FPeriodicSoftLimit;
property PeriodicUsage: Int64 read FPeriodicUsage write FPeriodicUsage;
property PeriodicStartDate: TXSDateTime read FPeriodicStartDate write FPeriodicStartDate;
property ModTime: TXSDateTime read FModTime write FModTime;
property RuleCurrentStatus: AccessRuleCurrentStatusCodeType read FRuleCurrentStatus write FRuleCurrentStatus;
property RuleStatus: AccessRuleStatusCodeType read FRuleStatus write FRuleStatus;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
XSLFileType = class(TRemotable)
private
FFileName: WideString;
FFileVersion: WideString;
FFileContent: WideString;
published
property FileName: WideString read FFileName write FFileName;
property FileVersion: WideString read FFileVersion write FFileVersion;
property FileContent: WideString read FFileContent write FFileContent;
end;
BestOfferArrayType = array of BestOfferType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BestOfferType = class(TRemotable)
private
FBestOfferID: BestOfferIDType;
FExpirationTime: TXSDateTime;
FBuyer: UserType;
FPrice: AmountType;
FStatus: BestOfferStatusCodeType;
FQuantity: Integer;
FBuyerMessage: WideString;
FSellerMessage: WideString;
FBestOfferCodeType: BestOfferTypeCodeType;
FCallStatus: WideString;
public
destructor Destroy; override;
published
property BestOfferID: BestOfferIDType read FBestOfferID write FBestOfferID;
property ExpirationTime: TXSDateTime read FExpirationTime write FExpirationTime;
property Buyer: UserType read FBuyer write FBuyer;
property Price: AmountType read FPrice write FPrice;
property Status: BestOfferStatusCodeType read FStatus write FStatus;
property Quantity: Integer read FQuantity write FQuantity;
property BuyerMessage: WideString read FBuyerMessage write FBuyerMessage;
property SellerMessage: WideString read FSellerMessage write FSellerMessage;
property BestOfferCodeType: BestOfferTypeCodeType read FBestOfferCodeType write FBestOfferCodeType;
property CallStatus: WideString read FCallStatus write FCallStatus;
end;
ItemArrayType = array of ItemType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AffiliateTrackingDetailsType = class(TRemotable)
private
FTrackingID: WideString;
FTrackingPartnerCode: WideString;
FApplicationDeviceType: ApplicationDeviceTypeCodeType;
FAffiliateUserID: WideString;
published
property TrackingID: WideString read FTrackingID write FTrackingID;
property TrackingPartnerCode: WideString read FTrackingPartnerCode write FTrackingPartnerCode;
property ApplicationDeviceType: ApplicationDeviceTypeCodeType read FApplicationDeviceType write FApplicationDeviceType;
property AffiliateUserID: WideString read FAffiliateUserID write FAffiliateUserID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CheckoutCompleteRedirectType = class(TRemotable)
private
FURL: WideString;
FName_: WideString;
published
property URL: WideString read FURL write FURL;
property Name_: WideString read FName_ write FName_;
end;
CartItemArrayType = array of CartItemType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CheckoutOrderDetailType = class(TRemotable)
private
FTotalCartMerchandiseCost: AmountType;
FTotalCartShippingCost: AmountType;
FTotalTaxAmount: AmountType;
FTotalAmount: AmountType;
public
destructor Destroy; override;
published
property TotalCartMerchandiseCost: AmountType read FTotalCartMerchandiseCost write FTotalCartMerchandiseCost;
property TotalCartShippingCost: AmountType read FTotalCartShippingCost write FTotalCartShippingCost;
property TotalTaxAmount: AmountType read FTotalTaxAmount write FTotalTaxAmount;
property TotalAmount: AmountType read FTotalAmount write FTotalAmount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CartType = class(TRemotable)
private
FCartID: Int64;
FShippingAddress: AddressType;
FCartStatus: OrderStatusCodeType;
FCreationTime: TXSDateTime;
FExpirationTime: TXSDateTime;
FCheckoutURL: WideString;
FCheckoutCompleteRedirect: CheckoutCompleteRedirectType;
FCartItemArray: CartItemArrayType;
FOrderDetail: CheckoutOrderDetailType;
public
destructor Destroy; override;
published
property CartID: Int64 read FCartID write FCartID;
property ShippingAddress: AddressType read FShippingAddress write FShippingAddress;
property CartStatus: OrderStatusCodeType read FCartStatus write FCartStatus;
property CreationTime: TXSDateTime read FCreationTime write FCreationTime;
property ExpirationTime: TXSDateTime read FExpirationTime write FExpirationTime;
property CheckoutURL: WideString read FCheckoutURL write FCheckoutURL;
property CheckoutCompleteRedirect: CheckoutCompleteRedirectType read FCheckoutCompleteRedirect write FCheckoutCompleteRedirect;
property CartItemArray: CartItemArrayType read FCartItemArray write FCartItemArray;
property OrderDetail: CheckoutOrderDetailType read FOrderDetail write FOrderDetail;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CartItemType = class(TRemotable)
private
FItem: ItemType;
FReferenceID: Int64;
FAction: ModifyActionCodeType;
public
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property ReferenceID: Int64 read FReferenceID write FReferenceID;
property Action: ModifyActionCodeType read FAction write FAction;
end;
CategoryArrayType = array of CategoryType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SiteWideCharacteristicsType = class(TRemotable)
private
FCharacteristicsSet: CharacteristicsSetType;
FExcludeCategoryID: WideString;
public
destructor Destroy; override;
published
property CharacteristicsSet: CharacteristicsSetType read FCharacteristicsSet write FCharacteristicsSet;
property ExcludeCategoryID: WideString read FExcludeCategoryID write FExcludeCategoryID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingDurationReferenceType = class(TRemotable)
private
Ftype_: ListingTypeCodeType;
published
property type_: ListingTypeCodeType read Ftype_ write Ftype_ stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CategoryFeatureType = class(TRemotable)
private
FCategoryID: WideString;
FListingDuration: ListingDurationReferenceType;
FShippingTermsRequired: Boolean;
FBestOfferEnabled: Boolean;
FDutchBINEnabled: Boolean;
FUserConsentRequired: Boolean;
FHomePageFeaturedEnabled: Boolean;
FProPackEnabled: Boolean;
FBasicUpgradePackEnabled: Boolean;
FValuePackEnabled: Boolean;
FProPackPlusEnabled: Boolean;
FAdFormatEnabled: AdFormatEnabledCodeType;
FDigitalDeliveryEnabled: DigitalDeliveryEnabledCodeType;
FBestOfferCounterEnabled: Boolean;
FBestOfferAutoDeclineEnabled: Boolean;
FLocalMarketSpecialitySubscription: Boolean;
FLocalMarketRegularSubscription: Boolean;
FLocalMarketPremiumSubscription: Boolean;
FLocalMarketNonSubscription: Boolean;
FExpressEnabled: Boolean;
FExpressPicturesRequired: Boolean;
FExpressConditionRequired: Boolean;
FMinimumReservePrice: Double;
FSellerContactDetailsEnabled: Boolean;
FTransactionConfirmationRequestEnabled: Boolean;
FStoreInventoryEnabled: Boolean;
FSkypeMeTransactionalEnabled: Boolean;
FSkypeMeNonTransactionalEnabled: Boolean;
FClassifiedAdPaymentMethodEnabled: ClassifiedAdPaymentMethodEnabledCodeType;
FClassifiedAdShippingMethodEnabled: Boolean;
FClassifiedAdBestOfferEnabled: ClassifiedAdBestOfferEnabledCodeType;
FClassifiedAdCounterOfferEnabled: Boolean;
FClassifiedAdAutoDeclineEnabled: Boolean;
FClassifiedAdContactByPhoneEnabled: Boolean;
FClassifiedAdContactByEmailEnabled: Boolean;
FSafePaymentRequired: Boolean;
FClassifiedAdPayPerLeadEnabled: Boolean;
FItemSpecificsEnabled: ItemSpecificsEnabledCodeType;
FPaisaPayFullEscrowEnabled: Boolean;
FClassifiedAdAutoAcceptEnabled: Boolean;
FBestOfferAutoAcceptEnabled: Boolean;
public
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property ListingDuration: ListingDurationReferenceType read FListingDuration write FListingDuration;
property ShippingTermsRequired: Boolean read FShippingTermsRequired write FShippingTermsRequired;
property BestOfferEnabled: Boolean read FBestOfferEnabled write FBestOfferEnabled;
property DutchBINEnabled: Boolean read FDutchBINEnabled write FDutchBINEnabled;
property UserConsentRequired: Boolean read FUserConsentRequired write FUserConsentRequired;
property HomePageFeaturedEnabled: Boolean read FHomePageFeaturedEnabled write FHomePageFeaturedEnabled;
property ProPackEnabled: Boolean read FProPackEnabled write FProPackEnabled;
property BasicUpgradePackEnabled: Boolean read FBasicUpgradePackEnabled write FBasicUpgradePackEnabled;
property ValuePackEnabled: Boolean read FValuePackEnabled write FValuePackEnabled;
property ProPackPlusEnabled: Boolean read FProPackPlusEnabled write FProPackPlusEnabled;
property AdFormatEnabled: AdFormatEnabledCodeType read FAdFormatEnabled write FAdFormatEnabled;
property DigitalDeliveryEnabled: DigitalDeliveryEnabledCodeType read FDigitalDeliveryEnabled write FDigitalDeliveryEnabled;
property BestOfferCounterEnabled: Boolean read FBestOfferCounterEnabled write FBestOfferCounterEnabled;
property BestOfferAutoDeclineEnabled: Boolean read FBestOfferAutoDeclineEnabled write FBestOfferAutoDeclineEnabled;
property LocalMarketSpecialitySubscription: Boolean read FLocalMarketSpecialitySubscription write FLocalMarketSpecialitySubscription;
property LocalMarketRegularSubscription: Boolean read FLocalMarketRegularSubscription write FLocalMarketRegularSubscription;
property LocalMarketPremiumSubscription: Boolean read FLocalMarketPremiumSubscription write FLocalMarketPremiumSubscription;
property LocalMarketNonSubscription: Boolean read FLocalMarketNonSubscription write FLocalMarketNonSubscription;
property ExpressEnabled: Boolean read FExpressEnabled write FExpressEnabled;
property ExpressPicturesRequired: Boolean read FExpressPicturesRequired write FExpressPicturesRequired;
property ExpressConditionRequired: Boolean read FExpressConditionRequired write FExpressConditionRequired;
property MinimumReservePrice: Double read FMinimumReservePrice write FMinimumReservePrice;
property SellerContactDetailsEnabled: Boolean read FSellerContactDetailsEnabled write FSellerContactDetailsEnabled;
property TransactionConfirmationRequestEnabled: Boolean read FTransactionConfirmationRequestEnabled write FTransactionConfirmationRequestEnabled;
property StoreInventoryEnabled: Boolean read FStoreInventoryEnabled write FStoreInventoryEnabled;
property SkypeMeTransactionalEnabled: Boolean read FSkypeMeTransactionalEnabled write FSkypeMeTransactionalEnabled;
property SkypeMeNonTransactionalEnabled: Boolean read FSkypeMeNonTransactionalEnabled write FSkypeMeNonTransactionalEnabled;
property ClassifiedAdPaymentMethodEnabled: ClassifiedAdPaymentMethodEnabledCodeType read FClassifiedAdPaymentMethodEnabled write FClassifiedAdPaymentMethodEnabled;
property ClassifiedAdShippingMethodEnabled: Boolean read FClassifiedAdShippingMethodEnabled write FClassifiedAdShippingMethodEnabled;
property ClassifiedAdBestOfferEnabled: ClassifiedAdBestOfferEnabledCodeType read FClassifiedAdBestOfferEnabled write FClassifiedAdBestOfferEnabled;
property ClassifiedAdCounterOfferEnabled: Boolean read FClassifiedAdCounterOfferEnabled write FClassifiedAdCounterOfferEnabled;
property ClassifiedAdAutoDeclineEnabled: Boolean read FClassifiedAdAutoDeclineEnabled write FClassifiedAdAutoDeclineEnabled;
property ClassifiedAdContactByPhoneEnabled: Boolean read FClassifiedAdContactByPhoneEnabled write FClassifiedAdContactByPhoneEnabled;
property ClassifiedAdContactByEmailEnabled: Boolean read FClassifiedAdContactByEmailEnabled write FClassifiedAdContactByEmailEnabled;
property SafePaymentRequired: Boolean read FSafePaymentRequired write FSafePaymentRequired;
property ClassifiedAdPayPerLeadEnabled: Boolean read FClassifiedAdPayPerLeadEnabled write FClassifiedAdPayPerLeadEnabled;
property ItemSpecificsEnabled: ItemSpecificsEnabledCodeType read FItemSpecificsEnabled write FItemSpecificsEnabled;
property PaisaPayFullEscrowEnabled: Boolean read FPaisaPayFullEscrowEnabled write FPaisaPayFullEscrowEnabled;
property ClassifiedAdAutoAcceptEnabled: Boolean read FClassifiedAdAutoAcceptEnabled write FClassifiedAdAutoAcceptEnabled;
property BestOfferAutoAcceptEnabled: Boolean read FBestOfferAutoAcceptEnabled write FBestOfferAutoAcceptEnabled;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SiteDefaultsType = class(TRemotable)
private
FListingDuration: ListingDurationReferenceType;
FShippingTermsRequired: Boolean;
FBestOfferEnabled: Boolean;
FDutchBINEnabled: Boolean;
FUserConsentRequired: Boolean;
FHomePageFeaturedEnabled: Boolean;
FProPackEnabled: Boolean;
FBasicUpgradePackEnabled: Boolean;
FValuePackEnabled: Boolean;
FProPackPlusEnabled: Boolean;
FAdFormatEnabled: AdFormatEnabledCodeType;
FDigitalDeliveryEnabled: DigitalDeliveryEnabledCodeType;
FBestOfferCounterEnabled: Boolean;
FBestOfferAutoDeclineEnabled: Boolean;
FLocalMarketSpecialitySubscription: Boolean;
FLocalMarketRegularSubscription: Boolean;
FLocalMarketPremiumSubscription: Boolean;
FLocalMarketNonSubscription: Boolean;
FExpressEnabled: Boolean;
FExpressPicturesRequired: Boolean;
FExpressConditionRequired: Boolean;
FMinimumReservePrice: Double;
FSellerContactDetailsEnabled: Boolean;
FTransactionConfirmationRequestEnabled: Boolean;
FStoreInventoryEnabled: Boolean;
FSkypeMeTransactionalEnabled: Boolean;
FSkypeMeNonTransactionalEnabled: Boolean;
FLocalListingDistancesRegular: WideString;
FLocalListingDistancesSpecialty: WideString;
FLocalListingDistancesNonSubscription: WideString;
FClassifiedAdPaymentMethodEnabled: ClassifiedAdPaymentMethodEnabledCodeType;
FClassifiedAdShippingMethodEnabled: Boolean;
FClassifiedAdBestOfferEnabled: ClassifiedAdBestOfferEnabledCodeType;
FClassifiedAdCounterOfferEnabled: Boolean;
FClassifiedAdAutoDeclineEnabled: Boolean;
FClassifiedAdContactByPhoneEnabled: Boolean;
FClassifiedAdContactByEmailEnabled: Boolean;
FSafePaymentRequired: Boolean;
FClassifiedAdPayPerLeadEnabled: Boolean;
FItemSpecificsEnabled: ItemSpecificsEnabledCodeType;
FPaisaPayFullEscrowEnabled: Boolean;
FClassifiedAdAutoAcceptEnabled: Boolean;
FBestOfferAutoAcceptEnabled: Boolean;
public
destructor Destroy; override;
published
property ListingDuration: ListingDurationReferenceType read FListingDuration write FListingDuration;
property ShippingTermsRequired: Boolean read FShippingTermsRequired write FShippingTermsRequired;
property BestOfferEnabled: Boolean read FBestOfferEnabled write FBestOfferEnabled;
property DutchBINEnabled: Boolean read FDutchBINEnabled write FDutchBINEnabled;
property UserConsentRequired: Boolean read FUserConsentRequired write FUserConsentRequired;
property HomePageFeaturedEnabled: Boolean read FHomePageFeaturedEnabled write FHomePageFeaturedEnabled;
property ProPackEnabled: Boolean read FProPackEnabled write FProPackEnabled;
property BasicUpgradePackEnabled: Boolean read FBasicUpgradePackEnabled write FBasicUpgradePackEnabled;
property ValuePackEnabled: Boolean read FValuePackEnabled write FValuePackEnabled;
property ProPackPlusEnabled: Boolean read FProPackPlusEnabled write FProPackPlusEnabled;
property AdFormatEnabled: AdFormatEnabledCodeType read FAdFormatEnabled write FAdFormatEnabled;
property DigitalDeliveryEnabled: DigitalDeliveryEnabledCodeType read FDigitalDeliveryEnabled write FDigitalDeliveryEnabled;
property BestOfferCounterEnabled: Boolean read FBestOfferCounterEnabled write FBestOfferCounterEnabled;
property BestOfferAutoDeclineEnabled: Boolean read FBestOfferAutoDeclineEnabled write FBestOfferAutoDeclineEnabled;
property LocalMarketSpecialitySubscription: Boolean read FLocalMarketSpecialitySubscription write FLocalMarketSpecialitySubscription;
property LocalMarketRegularSubscription: Boolean read FLocalMarketRegularSubscription write FLocalMarketRegularSubscription;
property LocalMarketPremiumSubscription: Boolean read FLocalMarketPremiumSubscription write FLocalMarketPremiumSubscription;
property LocalMarketNonSubscription: Boolean read FLocalMarketNonSubscription write FLocalMarketNonSubscription;
property ExpressEnabled: Boolean read FExpressEnabled write FExpressEnabled;
property ExpressPicturesRequired: Boolean read FExpressPicturesRequired write FExpressPicturesRequired;
property ExpressConditionRequired: Boolean read FExpressConditionRequired write FExpressConditionRequired;
property MinimumReservePrice: Double read FMinimumReservePrice write FMinimumReservePrice;
property SellerContactDetailsEnabled: Boolean read FSellerContactDetailsEnabled write FSellerContactDetailsEnabled;
property TransactionConfirmationRequestEnabled: Boolean read FTransactionConfirmationRequestEnabled write FTransactionConfirmationRequestEnabled;
property StoreInventoryEnabled: Boolean read FStoreInventoryEnabled write FStoreInventoryEnabled;
property SkypeMeTransactionalEnabled: Boolean read FSkypeMeTransactionalEnabled write FSkypeMeTransactionalEnabled;
property SkypeMeNonTransactionalEnabled: Boolean read FSkypeMeNonTransactionalEnabled write FSkypeMeNonTransactionalEnabled;
property LocalListingDistancesRegular: WideString read FLocalListingDistancesRegular write FLocalListingDistancesRegular;
property LocalListingDistancesSpecialty: WideString read FLocalListingDistancesSpecialty write FLocalListingDistancesSpecialty;
property LocalListingDistancesNonSubscription: WideString read FLocalListingDistancesNonSubscription write FLocalListingDistancesNonSubscription;
property ClassifiedAdPaymentMethodEnabled: ClassifiedAdPaymentMethodEnabledCodeType read FClassifiedAdPaymentMethodEnabled write FClassifiedAdPaymentMethodEnabled;
property ClassifiedAdShippingMethodEnabled: Boolean read FClassifiedAdShippingMethodEnabled write FClassifiedAdShippingMethodEnabled;
property ClassifiedAdBestOfferEnabled: ClassifiedAdBestOfferEnabledCodeType read FClassifiedAdBestOfferEnabled write FClassifiedAdBestOfferEnabled;
property ClassifiedAdCounterOfferEnabled: Boolean read FClassifiedAdCounterOfferEnabled write FClassifiedAdCounterOfferEnabled;
property ClassifiedAdAutoDeclineEnabled: Boolean read FClassifiedAdAutoDeclineEnabled write FClassifiedAdAutoDeclineEnabled;
property ClassifiedAdContactByPhoneEnabled: Boolean read FClassifiedAdContactByPhoneEnabled write FClassifiedAdContactByPhoneEnabled;
property ClassifiedAdContactByEmailEnabled: Boolean read FClassifiedAdContactByEmailEnabled write FClassifiedAdContactByEmailEnabled;
property SafePaymentRequired: Boolean read FSafePaymentRequired write FSafePaymentRequired;
property ClassifiedAdPayPerLeadEnabled: Boolean read FClassifiedAdPayPerLeadEnabled write FClassifiedAdPayPerLeadEnabled;
property ItemSpecificsEnabled: ItemSpecificsEnabledCodeType read FItemSpecificsEnabled write FItemSpecificsEnabled;
property PaisaPayFullEscrowEnabled: Boolean read FPaisaPayFullEscrowEnabled write FPaisaPayFullEscrowEnabled;
property ClassifiedAdAutoAcceptEnabled: Boolean read FClassifiedAdAutoAcceptEnabled write FClassifiedAdAutoAcceptEnabled;
property BestOfferAutoAcceptEnabled: Boolean read FBestOfferAutoAcceptEnabled write FBestOfferAutoAcceptEnabled;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingTermRequiredDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BestOfferEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DutchBINEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
UserConsentRequiredDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
HomePageFeaturedEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProPackEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BasicUpgradePackEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ValuePackEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProPackPlusEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AdFormatEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DigitalDeliveryEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BestOfferCounterEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BestOfferAutoDeclineEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalMarketSpecialitySubscriptionDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalMarketRegularSubscriptionDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalMarketPremiumSubscriptionDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalMarketNonSubscriptionDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressPicturesRequiredDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressConditionRequiredDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MinimumReservePriceDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
TCREnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellerContactDetailsEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreInventoryEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SkypeMeTransactionalEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SkypeMeNonTransactionalEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalListingDistancesRegularDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalListingDistancesSpecialtyDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LocalListingDistancesNonSubscriptionDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdPaymentMethodEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdShippingMethodEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdBestOfferEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdCounterOfferEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdAutoDeclineEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdContactByPhoneEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdContactByEmailEnabledDefintionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SafePaymentRequiredDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdPayPerLeadEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemSpecificsEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaisaPayFullEscrowEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BestOfferAutoAcceptEnabledDefinitionType = class(TRemotable)
private
published
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ClassifiedAdAutoAcceptEnabledDefinitionType = class(TRemotable)
private
published
end;
{ ============ WARNING ============ }
{ WARNING - Attribute - Name:durationSetID, Type:Integer }
ListingDurationDefinitionType = array of WideString; { "urn:ebay:apis:eBLBaseComponents" }
{ ============ WARNING ============ }
{ WARNING - Attribute - Name:Version, Type:Integer }
ListingDurationDefinitionsType = array of ListingDurationDefinitionType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeatureDefinitionsType = class(TRemotable)
private
FListingDurations: ListingDurationDefinitionsType;
FShippingTermsRequired: ShippingTermRequiredDefinitionType;
FBestOfferEnabled: BestOfferEnabledDefinitionType;
FDutchBINEnabled: DutchBINEnabledDefinitionType;
FUserConsentRequired: UserConsentRequiredDefinitionType;
FHomePageFeaturedEnabled: HomePageFeaturedEnabledDefinitionType;
FProPackEnabled: ProPackEnabledDefinitionType;
FBasicUpgradePackEnabled: BasicUpgradePackEnabledDefinitionType;
FValuePackEnabled: ValuePackEnabledDefinitionType;
FProPackPlusEnabled: ProPackPlusEnabledDefinitionType;
FAdFormatEnabled: AdFormatEnabledDefinitionType;
FDigitalDeliveryEnabled: DigitalDeliveryEnabledDefinitionType;
FBestOfferCounterEnabled: BestOfferCounterEnabledDefinitionType;
FBestOfferAutoDeclineEnabled: BestOfferAutoDeclineEnabledDefinitionType;
FLocalMarketSpecialitySubscription: LocalMarketSpecialitySubscriptionDefinitionType;
FLocalMarketRegularSubscription: LocalMarketRegularSubscriptionDefinitionType;
FLocalMarketPremiumSubscription: LocalMarketPremiumSubscriptionDefinitionType;
FLocalMarketNonSubscription: LocalMarketNonSubscriptionDefinitionType;
FExpressEnabled: ExpressEnabledDefinitionType;
FExpressPicturesRequired: ExpressPicturesRequiredDefinitionType;
FExpressConditionRequired: ExpressConditionRequiredDefinitionType;
FMinimumReservePrice: MinimumReservePriceDefinitionType;
FTransactionConfirmationRequestEnabled: TCREnabledDefinitionType;
FSellerContactDetailsEnabled: SellerContactDetailsEnabledDefinitionType;
FStoreInventoryEnabled: StoreInventoryEnabledDefinitionType;
FSkypeMeTransactionalEnabled: SkypeMeTransactionalEnabledDefinitionType;
FSkypeMeNonTransactionalEnabled: SkypeMeNonTransactionalEnabledDefinitionType;
FLocalListingDistancesRegular: LocalListingDistancesRegularDefinitionType;
FLocalListingDistancesSpecialty: LocalListingDistancesSpecialtyDefinitionType;
FLocalListingDistancesNonSubscription: LocalListingDistancesNonSubscriptionDefinitionType;
FClassifiedAdPaymentMethodEnabled: ClassifiedAdPaymentMethodEnabledDefinitionType;
FClassifiedAdShippingMethodEnabled: ClassifiedAdShippingMethodEnabledDefinitionType;
FClassifiedAdBestOfferEnabled: ClassifiedAdBestOfferEnabledDefinitionType;
FClassifiedAdCounterOfferEnabled: ClassifiedAdCounterOfferEnabledDefinitionType;
FClassifiedAdAutoDeclineEnabled: ClassifiedAdAutoDeclineEnabledDefinitionType;
FClassifiedAdContactByPhoneEnabled: ClassifiedAdContactByPhoneEnabledDefinitionType;
FClassifiedAdContactByEmailEnabled: ClassifiedAdContactByEmailEnabledDefintionType;
FSafePaymentRequired: SafePaymentRequiredDefinitionType;
FClassifiedAdPayPerLeadEnabled: ClassifiedAdPayPerLeadEnabledDefinitionType;
FItemSpecificsEnabled: ItemSpecificsEnabledDefinitionType;
FPaisaPayFullEscrowEnabled: PaisaPayFullEscrowEnabledDefinitionType;
FBestOfferAutoAcceptEnabled: BestOfferAutoAcceptEnabledDefinitionType;
FClassifiedAdAutoAcceptEnabled: ClassifiedAdAutoAcceptEnabledDefinitionType;
public
destructor Destroy; override;
published
property ListingDurations: ListingDurationDefinitionsType read FListingDurations write FListingDurations;
property ShippingTermsRequired: ShippingTermRequiredDefinitionType read FShippingTermsRequired write FShippingTermsRequired;
property BestOfferEnabled: BestOfferEnabledDefinitionType read FBestOfferEnabled write FBestOfferEnabled;
property DutchBINEnabled: DutchBINEnabledDefinitionType read FDutchBINEnabled write FDutchBINEnabled;
property UserConsentRequired: UserConsentRequiredDefinitionType read FUserConsentRequired write FUserConsentRequired;
property HomePageFeaturedEnabled: HomePageFeaturedEnabledDefinitionType read FHomePageFeaturedEnabled write FHomePageFeaturedEnabled;
property ProPackEnabled: ProPackEnabledDefinitionType read FProPackEnabled write FProPackEnabled;
property BasicUpgradePackEnabled: BasicUpgradePackEnabledDefinitionType read FBasicUpgradePackEnabled write FBasicUpgradePackEnabled;
property ValuePackEnabled: ValuePackEnabledDefinitionType read FValuePackEnabled write FValuePackEnabled;
property ProPackPlusEnabled: ProPackPlusEnabledDefinitionType read FProPackPlusEnabled write FProPackPlusEnabled;
property AdFormatEnabled: AdFormatEnabledDefinitionType read FAdFormatEnabled write FAdFormatEnabled;
property DigitalDeliveryEnabled: DigitalDeliveryEnabledDefinitionType read FDigitalDeliveryEnabled write FDigitalDeliveryEnabled;
property BestOfferCounterEnabled: BestOfferCounterEnabledDefinitionType read FBestOfferCounterEnabled write FBestOfferCounterEnabled;
property BestOfferAutoDeclineEnabled: BestOfferAutoDeclineEnabledDefinitionType read FBestOfferAutoDeclineEnabled write FBestOfferAutoDeclineEnabled;
property LocalMarketSpecialitySubscription: LocalMarketSpecialitySubscriptionDefinitionType read FLocalMarketSpecialitySubscription write FLocalMarketSpecialitySubscription;
property LocalMarketRegularSubscription: LocalMarketRegularSubscriptionDefinitionType read FLocalMarketRegularSubscription write FLocalMarketRegularSubscription;
property LocalMarketPremiumSubscription: LocalMarketPremiumSubscriptionDefinitionType read FLocalMarketPremiumSubscription write FLocalMarketPremiumSubscription;
property LocalMarketNonSubscription: LocalMarketNonSubscriptionDefinitionType read FLocalMarketNonSubscription write FLocalMarketNonSubscription;
property ExpressEnabled: ExpressEnabledDefinitionType read FExpressEnabled write FExpressEnabled;
property ExpressPicturesRequired: ExpressPicturesRequiredDefinitionType read FExpressPicturesRequired write FExpressPicturesRequired;
property ExpressConditionRequired: ExpressConditionRequiredDefinitionType read FExpressConditionRequired write FExpressConditionRequired;
property MinimumReservePrice: MinimumReservePriceDefinitionType read FMinimumReservePrice write FMinimumReservePrice;
property TransactionConfirmationRequestEnabled: TCREnabledDefinitionType read FTransactionConfirmationRequestEnabled write FTransactionConfirmationRequestEnabled;
property SellerContactDetailsEnabled: SellerContactDetailsEnabledDefinitionType read FSellerContactDetailsEnabled write FSellerContactDetailsEnabled;
property StoreInventoryEnabled: StoreInventoryEnabledDefinitionType read FStoreInventoryEnabled write FStoreInventoryEnabled;
property SkypeMeTransactionalEnabled: SkypeMeTransactionalEnabledDefinitionType read FSkypeMeTransactionalEnabled write FSkypeMeTransactionalEnabled;
property SkypeMeNonTransactionalEnabled: SkypeMeNonTransactionalEnabledDefinitionType read FSkypeMeNonTransactionalEnabled write FSkypeMeNonTransactionalEnabled;
property LocalListingDistancesRegular: LocalListingDistancesRegularDefinitionType read FLocalListingDistancesRegular write FLocalListingDistancesRegular;
property LocalListingDistancesSpecialty: LocalListingDistancesSpecialtyDefinitionType read FLocalListingDistancesSpecialty write FLocalListingDistancesSpecialty;
property LocalListingDistancesNonSubscription: LocalListingDistancesNonSubscriptionDefinitionType read FLocalListingDistancesNonSubscription write FLocalListingDistancesNonSubscription;
property ClassifiedAdPaymentMethodEnabled: ClassifiedAdPaymentMethodEnabledDefinitionType read FClassifiedAdPaymentMethodEnabled write FClassifiedAdPaymentMethodEnabled;
property ClassifiedAdShippingMethodEnabled: ClassifiedAdShippingMethodEnabledDefinitionType read FClassifiedAdShippingMethodEnabled write FClassifiedAdShippingMethodEnabled;
property ClassifiedAdBestOfferEnabled: ClassifiedAdBestOfferEnabledDefinitionType read FClassifiedAdBestOfferEnabled write FClassifiedAdBestOfferEnabled;
property ClassifiedAdCounterOfferEnabled: ClassifiedAdCounterOfferEnabledDefinitionType read FClassifiedAdCounterOfferEnabled write FClassifiedAdCounterOfferEnabled;
property ClassifiedAdAutoDeclineEnabled: ClassifiedAdAutoDeclineEnabledDefinitionType read FClassifiedAdAutoDeclineEnabled write FClassifiedAdAutoDeclineEnabled;
property ClassifiedAdContactByPhoneEnabled: ClassifiedAdContactByPhoneEnabledDefinitionType read FClassifiedAdContactByPhoneEnabled write FClassifiedAdContactByPhoneEnabled;
property ClassifiedAdContactByEmailEnabled: ClassifiedAdContactByEmailEnabledDefintionType read FClassifiedAdContactByEmailEnabled write FClassifiedAdContactByEmailEnabled;
property SafePaymentRequired: SafePaymentRequiredDefinitionType read FSafePaymentRequired write FSafePaymentRequired;
property ClassifiedAdPayPerLeadEnabled: ClassifiedAdPayPerLeadEnabledDefinitionType read FClassifiedAdPayPerLeadEnabled write FClassifiedAdPayPerLeadEnabled;
property ItemSpecificsEnabled: ItemSpecificsEnabledDefinitionType read FItemSpecificsEnabled write FItemSpecificsEnabled;
property PaisaPayFullEscrowEnabled: PaisaPayFullEscrowEnabledDefinitionType read FPaisaPayFullEscrowEnabled write FPaisaPayFullEscrowEnabled;
property BestOfferAutoAcceptEnabled: BestOfferAutoAcceptEnabledDefinitionType read FBestOfferAutoAcceptEnabled write FBestOfferAutoAcceptEnabled;
property ClassifiedAdAutoAcceptEnabled: ClassifiedAdAutoAcceptEnabledDefinitionType read FClassifiedAdAutoAcceptEnabled write FClassifiedAdAutoAcceptEnabled;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProximitySearchType = class(TRemotable)
private
FMaxDistance: Integer;
FPostalCode: WideString;
published
property MaxDistance: Integer read FMaxDistance write FMaxDistance;
property PostalCode: WideString read FPostalCode write FPostalCode;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
GroupType = class(TRemotable)
private
FMaxGroups: Integer;
FMaxEntriesPerGroup: Integer;
published
property MaxGroups: Integer read FMaxGroups write FMaxGroups;
property MaxEntriesPerGroup: Integer read FMaxEntriesPerGroup write FMaxEntriesPerGroup;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SiteLocationType = class(TRemotable)
private
FSiteID: SiteIDFilterCodeType;
published
property SiteID: SiteIDFilterCodeType read FSiteID write FSiteID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchLocationType = class(TRemotable)
private
FRegionID: WideString;
FSiteLocation: SiteLocationType;
public
destructor Destroy; override;
published
property RegionID: WideString read FRegionID write FRegionID;
property SiteLocation: SiteLocationType read FSiteLocation write FSiteLocation;
end;
RelatedSearchKeywordArrayType = array of WideString; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BuyingGuideType = class(TRemotable)
private
FName_: WideString;
FURL: WideString;
FCategoryID: WideString;
FProductFinderID: Integer;
FTitle: WideString;
FText: WideString;
FCreationTime: TXSDateTime;
FUserID: UserIDType;
public
destructor Destroy; override;
published
property Name_: WideString read FName_ write FName_;
property URL: WideString read FURL write FURL;
property CategoryID: WideString read FCategoryID write FCategoryID;
property ProductFinderID: Integer read FProductFinderID write FProductFinderID;
property Title: WideString read FTitle write FTitle;
property Text: WideString read FText write FText;
property CreationTime: TXSDateTime read FCreationTime write FCreationTime;
property UserID: UserIDType read FUserID write FUserID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BuyingGuideDetailsType = class(TRemotable)
private
FBuyingGuide: BuyingGuideType;
FBuyingGuideHub: WideString;
public
destructor Destroy; override;
published
property BuyingGuide: BuyingGuideType read FBuyingGuide write FBuyingGuide;
property BuyingGuideHub: WideString read FBuyingGuideHub write FBuyingGuideHub;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CategoryMappingType = class(TRemotable)
private
FoldID: WideString;
Fid: WideString;
published
property oldID: WideString read FoldID write FoldID stored AS_ATTRIBUTE;
property id: WideString read Fid write Fid stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CategoryItemSpecificsType = class(TRemotable)
private
FCategoryID: WideString;
FUpdated: Boolean;
FItemSpecifics: NameValueListArrayType;
public
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property Updated: Boolean read FUpdated write FUpdated;
property ItemSpecifics: NameValueListArrayType read FItemSpecifics write FItemSpecifics;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CharityInfoType = class(TRemotable)
private
FName_: WideString;
FMission: WideString;
FLogoURL: WideString;
FStatus: CharityStatusCodeType;
FSearchableString: WideString;
FCharityRegion: Integer;
FCharityDomain: Integer;
FCharityID: WideString;
FLogoURLSelling: WideString;
FDisplayLogoSelling: Boolean;
Fid: WideString;
published
property Name_: WideString read FName_ write FName_;
property Mission: WideString read FMission write FMission;
property LogoURL: WideString read FLogoURL write FLogoURL;
property Status: CharityStatusCodeType read FStatus write FStatus;
property SearchableString: WideString read FSearchableString write FSearchableString;
property CharityRegion: Integer read FCharityRegion write FCharityRegion;
property CharityDomain: Integer read FCharityDomain write FCharityDomain;
property CharityID: WideString read FCharityID write FCharityID;
property LogoURLSelling: WideString read FLogoURLSelling write FLogoURLSelling;
property DisplayLogoSelling: Boolean read FDisplayLogoSelling write FDisplayLogoSelling;
property id: WideString read Fid write Fid stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ContextSearchAssetType = class(TRemotable)
private
FKeyword: WideString;
FCategory: CategoryType;
FRanking: Integer;
public
destructor Destroy; override;
published
property Keyword: WideString read FKeyword write FKeyword;
property Category: CategoryType read FCategory write FCategory;
property Ranking: Integer read FRanking write FRanking;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DescriptionTemplateType = class(TRemotable)
private
FGroupID: Integer;
FID: Integer;
FImageURL: WideString;
FName_: WideString;
FTemplateXML: WideString;
FType_: DescriptionTemplateCodeType;
published
property GroupID: Integer read FGroupID write FGroupID;
property ID: Integer read FID write FID;
property ImageURL: WideString read FImageURL write FImageURL;
property Name_: WideString read FName_ write FName_;
property TemplateXML: WideString read FTemplateXML write FTemplateXML;
property Type_: DescriptionTemplateCodeType read FType_ write FType_;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ThemeGroupType = class(TRemotable)
private
FGroupID: Integer;
FGroupName: WideString;
FThemeID: Integer;
FThemeTotal: Integer;
published
property GroupID: Integer read FGroupID write FGroupID;
property GroupName: WideString read FGroupName write FGroupName;
property ThemeID: Integer read FThemeID write FThemeID;
property ThemeTotal: Integer read FThemeTotal write FThemeTotal;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DisputeResolutionType = class(TRemotable)
private
FDisputeResolutionRecordType: DisputeResolutionRecordTypeCodeType;
FDisputeResolutionReason: DisputeResolutionReasonCodeType;
FResolutionTime: TXSDateTime;
public
destructor Destroy; override;
published
property DisputeResolutionRecordType: DisputeResolutionRecordTypeCodeType read FDisputeResolutionRecordType write FDisputeResolutionRecordType;
property DisputeResolutionReason: DisputeResolutionReasonCodeType read FDisputeResolutionReason write FDisputeResolutionReason;
property ResolutionTime: TXSDateTime read FResolutionTime write FResolutionTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DisputeMessageType = class(TRemotable)
private
FMessageID: Integer;
FMessageSource: DisputeMessageSourceCodeType;
FMessageCreationTime: TXSDateTime;
FMessageText: WideString;
public
destructor Destroy; override;
published
property MessageID: Integer read FMessageID write FMessageID;
property MessageSource: DisputeMessageSourceCodeType read FMessageSource write FMessageSource;
property MessageCreationTime: TXSDateTime read FMessageCreationTime write FMessageCreationTime;
property MessageText: WideString read FMessageText write FMessageText;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DisputeType = class(TRemotable)
private
FDisputeID: DisputeIDType;
FDisputeRecordType: DisputeRecordTypeCodeType;
FDisputeState: DisputeStateCodeType;
FDisputeStatus: DisputeStatusCodeType;
FOtherPartyRole: TradingRoleCodeType;
FOtherPartyName: WideString;
FUserRole: TradingRoleCodeType;
FBuyerUserID: UserIDType;
FSellerUserID: UserIDType;
FTransactionID: WideString;
FItem: ItemType;
FDisputeReason: DisputeReasonCodeType;
FDisputeExplanation: DisputeExplanationCodeType;
FDisputeCreditEligibility: DisputeCreditEligibilityCodeType;
FDisputeCreatedTime: TXSDateTime;
FDisputeModifiedTime: TXSDateTime;
FDisputeResolution: DisputeResolutionType;
FDisputeMessage: DisputeMessageType;
FEscalation: Boolean;
FPurchaseProtection: Boolean;
public
destructor Destroy; override;
published
property DisputeID: DisputeIDType read FDisputeID write FDisputeID;
property DisputeRecordType: DisputeRecordTypeCodeType read FDisputeRecordType write FDisputeRecordType;
property DisputeState: DisputeStateCodeType read FDisputeState write FDisputeState;
property DisputeStatus: DisputeStatusCodeType read FDisputeStatus write FDisputeStatus;
property OtherPartyRole: TradingRoleCodeType read FOtherPartyRole write FOtherPartyRole;
property OtherPartyName: WideString read FOtherPartyName write FOtherPartyName;
property UserRole: TradingRoleCodeType read FUserRole write FUserRole;
property BuyerUserID: UserIDType read FBuyerUserID write FBuyerUserID;
property SellerUserID: UserIDType read FSellerUserID write FSellerUserID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property Item: ItemType read FItem write FItem;
property DisputeReason: DisputeReasonCodeType read FDisputeReason write FDisputeReason;
property DisputeExplanation: DisputeExplanationCodeType read FDisputeExplanation write FDisputeExplanation;
property DisputeCreditEligibility: DisputeCreditEligibilityCodeType read FDisputeCreditEligibility write FDisputeCreditEligibility;
property DisputeCreatedTime: TXSDateTime read FDisputeCreatedTime write FDisputeCreatedTime;
property DisputeModifiedTime: TXSDateTime read FDisputeModifiedTime write FDisputeModifiedTime;
property DisputeResolution: DisputeResolutionType read FDisputeResolution write FDisputeResolution;
property DisputeMessage: DisputeMessageType read FDisputeMessage write FDisputeMessage;
property Escalation: Boolean read FEscalation write FEscalation;
property PurchaseProtection: Boolean read FPurchaseProtection write FPurchaseProtection;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressProductType = class(TRemotable)
private
FTitle: WideString;
FMinPrice: AmountType;
FMaxPrice: AmountType;
FStockPhotoURL: WideString;
FItemCount: Integer;
FExternalProductID: ExternalProductIDType;
FProductReferenceID: Int64;
FItemSpecifics: NameValueListArrayType;
FDetailsURL: WideString;
public
destructor Destroy; override;
published
property Title: WideString read FTitle write FTitle;
property MinPrice: AmountType read FMinPrice write FMinPrice;
property MaxPrice: AmountType read FMaxPrice write FMaxPrice;
property StockPhotoURL: WideString read FStockPhotoURL write FStockPhotoURL;
property ItemCount: Integer read FItemCount write FItemCount;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
property ProductReferenceID: Int64 read FProductReferenceID write FProductReferenceID;
property ItemSpecifics: NameValueListArrayType read FItemSpecifics write FItemSpecifics;
property DetailsURL: WideString read FDetailsURL write FDetailsURL;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
WishListEntryType = class(TRemotable)
private
FItem: ItemType;
FProduct: ExpressProductType;
FNotes: WideString;
FCreationDate: TXSDateTime;
FQuantityWanted: Integer;
FQuantityReceived: Integer;
public
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property Product: ExpressProductType read FProduct write FProduct;
property Notes: WideString read FNotes write FNotes;
property CreationDate: TXSDateTime read FCreationDate write FCreationDate;
property QuantityWanted: Integer read FQuantityWanted write FQuantityWanted;
property QuantityReceived: Integer read FQuantityReceived write FQuantityReceived;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
WishListType = class(TRemotable)
private
FWishListID: WideString;
FWishListURL: WideString;
FName_: WideString;
FDescription: WideString;
FFirstName: WideString;
FLastName: WideString;
FUserLocation: WideString;
FWishListEntry: WishListEntryType;
public
destructor Destroy; override;
published
property WishListID: WideString read FWishListID write FWishListID;
property WishListURL: WideString read FWishListURL write FWishListURL;
property Name_: WideString read FName_ write FName_;
property Description: WideString read FDescription write FDescription;
property FirstName: WideString read FFirstName write FFirstName;
property LastName: WideString read FLastName write FLastName;
property UserLocation: WideString read FUserLocation write FUserLocation;
property WishListEntry: WishListEntryType read FWishListEntry write FWishListEntry;
end;
FeedbackDetailArrayType = array of FeedbackDetailType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeedbackDetailType = class(TRemotable)
private
FCommentingUser: UserIDType;
FCommentingUserScore: Integer;
FCommentText: WideString;
FCommentTime: TXSDateTime;
FCommentType: CommentTypeCodeType;
FFeedbackResponse: WideString;
FFollowup: WideString;
FItemID: ItemIDType;
FRole: TradingRoleCodeType;
FItemTitle: WideString;
FItemPrice: AmountType;
FFeedbackID: WideString;
FTransactionID: WideString;
FCommentReplaced: Boolean;
FResponseReplaced: Boolean;
FFollowUpReplaced: Boolean;
FCountable: Boolean;
public
destructor Destroy; override;
published
property CommentingUser: UserIDType read FCommentingUser write FCommentingUser;
property CommentingUserScore: Integer read FCommentingUserScore write FCommentingUserScore;
property CommentText: WideString read FCommentText write FCommentText;
property CommentTime: TXSDateTime read FCommentTime write FCommentTime;
property CommentType: CommentTypeCodeType read FCommentType write FCommentType;
property FeedbackResponse: WideString read FFeedbackResponse write FFeedbackResponse;
property Followup: WideString read FFollowup write FFollowup;
property ItemID: ItemIDType read FItemID write FItemID;
property Role: TradingRoleCodeType read FRole write FRole;
property ItemTitle: WideString read FItemTitle write FItemTitle;
property ItemPrice: AmountType read FItemPrice write FItemPrice;
property FeedbackID: WideString read FFeedbackID write FFeedbackID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property CommentReplaced: Boolean read FCommentReplaced write FCommentReplaced;
property ResponseReplaced: Boolean read FResponseReplaced write FResponseReplaced;
property FollowUpReplaced: Boolean read FFollowUpReplaced write FFollowUpReplaced;
property Countable: Boolean read FCountable write FCountable;
end;
FeedbackPeriodArrayType = array of FeedbackPeriodType; { "urn:ebay:apis:eBLBaseComponents" }
AverageRatingDetailArrayType = array of AverageRatingDetailsType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeedbackSummaryType = class(TRemotable)
private
FBidRetractionFeedbackPeriodArray: FeedbackPeriodArrayType;
FNegativeFeedbackPeriodArray: FeedbackPeriodArrayType;
FNeutralFeedbackPeriodArray: FeedbackPeriodArrayType;
FPositiveFeedbackPeriodArray: FeedbackPeriodArrayType;
FTotalFeedbackPeriodArray: FeedbackPeriodArrayType;
FNeutralCommentCountFromSuspendedUsers: Integer;
FUniqueNegativeFeedbackCount: Integer;
FUniquePositiveFeedbackCount: Integer;
FSellerAverageRatingDetailArray: AverageRatingDetailArrayType;
public
destructor Destroy; override;
published
property BidRetractionFeedbackPeriodArray: FeedbackPeriodArrayType read FBidRetractionFeedbackPeriodArray write FBidRetractionFeedbackPeriodArray;
property NegativeFeedbackPeriodArray: FeedbackPeriodArrayType read FNegativeFeedbackPeriodArray write FNegativeFeedbackPeriodArray;
property NeutralFeedbackPeriodArray: FeedbackPeriodArrayType read FNeutralFeedbackPeriodArray write FNeutralFeedbackPeriodArray;
property PositiveFeedbackPeriodArray: FeedbackPeriodArrayType read FPositiveFeedbackPeriodArray write FPositiveFeedbackPeriodArray;
property TotalFeedbackPeriodArray: FeedbackPeriodArrayType read FTotalFeedbackPeriodArray write FTotalFeedbackPeriodArray;
property NeutralCommentCountFromSuspendedUsers: Integer read FNeutralCommentCountFromSuspendedUsers write FNeutralCommentCountFromSuspendedUsers;
property UniqueNegativeFeedbackCount: Integer read FUniqueNegativeFeedbackCount write FUniqueNegativeFeedbackCount;
property UniquePositiveFeedbackCount: Integer read FUniquePositiveFeedbackCount write FUniquePositiveFeedbackCount;
property SellerAverageRatingDetailArray: AverageRatingDetailArrayType read FSellerAverageRatingDetailArray write FSellerAverageRatingDetailArray;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FeedbackPeriodType = class(TRemotable)
private
FPeriodInDays: Integer;
FCount: Integer;
published
property PeriodInDays: Integer read FPeriodInDays write FPeriodInDays;
property Count: Integer read FCount write FCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AverageRatingDetailsType = class(TRemotable)
private
FRatingDetail: FeedbackRatingDetailCodeType;
FRating: Double;
FRatingCount: Integer;
published
property RatingDetail: FeedbackRatingDetailCodeType read FRatingDetail write FRatingDetail;
property Rating: Double read FRating write FRating;
property RatingCount: Integer read FRatingCount write FRatingCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
GetRecommendationsRequestContainerType = class(TRemotable)
private
FListingFlow: ListingFlowCodeType;
FItem: ItemType;
FRecommendationEngine: RecommendationEngineCodeType;
FQuery: WideString;
FCorrelationID: WideString;
FDeletedField: WideString;
public
destructor Destroy; override;
published
property ListingFlow: ListingFlowCodeType read FListingFlow write FListingFlow;
property Item: ItemType read FItem write FItem;
property RecommendationEngine: RecommendationEngineCodeType read FRecommendationEngine write FRecommendationEngine;
property Query: WideString read FQuery write FQuery;
property CorrelationID: WideString read FCorrelationID write FCorrelationID;
property DeletedField: WideString read FDeletedField write FDeletedField;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SIFFTASRecommendationsType = class(TRemotable)
private
FAttributeSetArray: AttributeSetArrayType;
published
property AttributeSetArray: AttributeSetArrayType read FAttributeSetArray write FAttributeSetArray;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AttributeRecommendationsType = class(TRemotable)
private
FAttributeSetArray: AttributeSetArrayType;
published
property AttributeSetArray: AttributeSetArrayType read FAttributeSetArray write FAttributeSetArray;
end;
ProductRecommendationsType = array of ProductInfoType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemSpecificsRecommendationsType = class(TRemotable)
private
FItemSpecifics: NameValueListArrayType;
public
destructor Destroy; override;
published
property ItemSpecifics: NameValueListArrayType read FItemSpecifics write FItemSpecifics;
end;
ListingTipArrayType = array of ListingTipType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingAnalyzerRecommendationsType = class(TRemotable)
private
FListingTipArray: ListingTipArrayType;
public
destructor Destroy; override;
published
property ListingTipArray: ListingTipArrayType read FListingTipArray write FListingTipArray;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingTipMessageType = class(TRemotable)
private
FListingTipMessageID: WideString;
FShortMessage: WideString;
FLongMessage: WideString;
FHelpURLPath: WideString;
published
property ListingTipMessageID: WideString read FListingTipMessageID write FListingTipMessageID;
property ShortMessage: WideString read FShortMessage write FShortMessage;
property LongMessage: WideString read FLongMessage write FLongMessage;
property HelpURLPath: WideString read FHelpURLPath write FHelpURLPath;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingTipFieldType = class(TRemotable)
private
FListingTipFieldID: WideString;
FFieldTip: WideString;
FCurrentFieldText: WideString;
FCurrentFieldValue: WideString;
published
property ListingTipFieldID: WideString read FListingTipFieldID write FListingTipFieldID;
property FieldTip: WideString read FFieldTip write FFieldTip;
property CurrentFieldText: WideString read FCurrentFieldText write FCurrentFieldText;
property CurrentFieldValue: WideString read FCurrentFieldValue write FCurrentFieldValue;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ListingTipType = class(TRemotable)
private
FListingTipID: WideString;
FPriority: Integer;
FMessage_: ListingTipMessageType;
FField: ListingTipFieldType;
public
destructor Destroy; override;
published
property ListingTipID: WideString read FListingTipID write FListingTipID;
property Priority: Integer read FPriority write FPriority;
property Message_: ListingTipMessageType read FMessage_ write FMessage_;
property Field: ListingTipFieldType read FField write FField;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductInfoType = class(TRemotable)
private
FAverageStartPrice: AmountType;
FAverageSoldPrice: AmountType;
FTitle: WideString;
FproductInfoID: WideString;
public
destructor Destroy; override;
published
property AverageStartPrice: AmountType read FAverageStartPrice write FAverageStartPrice;
property AverageSoldPrice: AmountType read FAverageSoldPrice write FAverageSoldPrice;
property Title: WideString read FTitle write FTitle;
property productInfoID: WideString read FproductInfoID write FproductInfoID stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PricingRecommendationsType = class(TRemotable)
private
FProductInfo: ProductInfoType;
public
destructor Destroy; override;
published
property ProductInfo: ProductInfoType read FProductInfo write FProductInfo;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
GetRecommendationsResponseContainerType = class(TRemotable)
private
FListingAnalyzerRecommendations: ListingAnalyzerRecommendationsType;
FSIFFTASRecommendations: SIFFTASRecommendationsType;
FPricingRecommendations: PricingRecommendationsType;
FAttributeRecommendations: AttributeRecommendationsType;
FProductRecommendations: ProductRecommendationsType;
FCorrelationID: WideString;
FItemSpecificsRecommendations: ItemSpecificsRecommendationsType;
public
destructor Destroy; override;
published
property ListingAnalyzerRecommendations: ListingAnalyzerRecommendationsType read FListingAnalyzerRecommendations write FListingAnalyzerRecommendations;
property SIFFTASRecommendations: SIFFTASRecommendationsType read FSIFFTASRecommendations write FSIFFTASRecommendations;
property PricingRecommendations: PricingRecommendationsType read FPricingRecommendations write FPricingRecommendations;
property AttributeRecommendations: AttributeRecommendationsType read FAttributeRecommendations write FAttributeRecommendations;
property ProductRecommendations: ProductRecommendationsType read FProductRecommendations write FProductRecommendations;
property CorrelationID: WideString read FCorrelationID write FCorrelationID;
property ItemSpecificsRecommendations: ItemSpecificsRecommendationsType read FItemSpecificsRecommendations write FItemSpecificsRecommendations;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaginatedTransactionArrayType = class(TRemotable)
private
FTransactionArray: TransactionArrayType;
FPaginationResult: PaginationResultType;
public
destructor Destroy; override;
published
property TransactionArray: TransactionArrayType read FTransactionArray write FTransactionArray;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
end;
BidderDetailArrayType = array of BidderDetailType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LiveAuctionBidType = class(TRemotable)
private
FRequestedBiddingLimit: AmountType;
FBidderStatus: BidderStatusCodeType;
FApprovedBiddingLimit: AmountType;
FDeclinedComment: WideString;
public
destructor Destroy; override;
published
property RequestedBiddingLimit: AmountType read FRequestedBiddingLimit write FRequestedBiddingLimit;
property BidderStatus: BidderStatusCodeType read FBidderStatus write FBidderStatus;
property ApprovedBiddingLimit: AmountType read FApprovedBiddingLimit write FApprovedBiddingLimit;
property DeclinedComment: WideString read FDeclinedComment write FDeclinedComment;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidderDetailType = class(TRemotable)
private
FUserID: UserIDType;
FEmail: WideString;
FFeedbackScore: Integer;
FUniqueNegativeFeedbackCount: Integer;
FUniquePositiveFeedbackCount: Integer;
FLiveAuctionBidResult: LiveAuctionBidType;
public
destructor Destroy; override;
published
property UserID: UserIDType read FUserID write FUserID;
property Email: WideString read FEmail write FEmail;
property FeedbackScore: Integer read FFeedbackScore write FFeedbackScore;
property UniqueNegativeFeedbackCount: Integer read FUniqueNegativeFeedbackCount write FUniqueNegativeFeedbackCount;
property UniquePositiveFeedbackCount: Integer read FUniquePositiveFeedbackCount write FUniquePositiveFeedbackCount;
property LiveAuctionBidResult: LiveAuctionBidType read FLiveAuctionBidResult write FLiveAuctionBidResult;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ScheduleType = class(TRemotable)
private
FScheduleID: Integer;
FScheduleTime: TXSDateTime;
public
destructor Destroy; override;
published
property ScheduleID: Integer read FScheduleID write FScheduleID;
property ScheduleTime: TXSDateTime read FScheduleTime write FScheduleTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
LiveAuctionCatalogType = class(TRemotable)
private
FUserCatalogID: Integer;
FCatalogName: WideString;
FSchedule: ScheduleType;
public
destructor Destroy; override;
published
property UserCatalogID: Integer read FUserCatalogID write FUserCatalogID;
property CatalogName: WideString read FCatalogName write FCatalogName;
property Schedule: ScheduleType read FSchedule write FSchedule;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ASQPreferencesType = class(TRemotable)
private
FResetDefaultSubjects: Boolean;
FSubject: WideString;
published
property ResetDefaultSubjects: Boolean read FResetDefaultSubjects write FResetDefaultSubjects;
property Subject: WideString read FSubject write FSubject;
end;
MyMessagesAlertArrayType = array of MyMessagesAlertType; { "urn:ebay:apis:eBLBaseComponents" }
MyMessagesMessageArrayType = array of MyMessagesMessageType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesFolderSummaryType = class(TRemotable)
private
FFolderID: Int64;
FFolderName: WideString;
FNewAlertCount: Integer;
FNewMessageCount: Integer;
FTotalAlertCount: Integer;
FTotalMessageCount: Integer;
published
property FolderID: Int64 read FFolderID write FFolderID;
property FolderName: WideString read FFolderName write FFolderName;
property NewAlertCount: Integer read FNewAlertCount write FNewAlertCount;
property NewMessageCount: Integer read FNewMessageCount write FNewMessageCount;
property TotalAlertCount: Integer read FTotalAlertCount write FTotalAlertCount;
property TotalMessageCount: Integer read FTotalMessageCount write FTotalMessageCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesSummaryType = class(TRemotable)
private
FFolderSummary: MyMessagesFolderSummaryType;
FNewAlertCount: Integer;
FNewMessageCount: Integer;
FUnresolvedAlertCount: Integer;
FFlaggedMessageCount: Integer;
FTotalAlertCount: Integer;
FTotalMessageCount: Integer;
public
destructor Destroy; override;
published
property FolderSummary: MyMessagesFolderSummaryType read FFolderSummary write FFolderSummary;
property NewAlertCount: Integer read FNewAlertCount write FNewAlertCount;
property NewMessageCount: Integer read FNewMessageCount write FNewMessageCount;
property UnresolvedAlertCount: Integer read FUnresolvedAlertCount write FUnresolvedAlertCount;
property FlaggedMessageCount: Integer read FFlaggedMessageCount write FFlaggedMessageCount;
property TotalAlertCount: Integer read FTotalAlertCount write FTotalAlertCount;
property TotalMessageCount: Integer read FTotalMessageCount write FTotalMessageCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesResponseDetailsType = class(TRemotable)
private
FResponseEnabled: Boolean;
FResponseURL: WideString;
FUserResponseDate: TXSDateTime;
public
destructor Destroy; override;
published
property ResponseEnabled: Boolean read FResponseEnabled write FResponseEnabled;
property ResponseURL: WideString read FResponseURL write FResponseURL;
property UserResponseDate: TXSDateTime read FUserResponseDate write FUserResponseDate;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesForwardDetailsType = class(TRemotable)
private
FUserForwardDate: TXSDateTime;
FForwardMessageEncoding: WideString;
public
destructor Destroy; override;
published
property UserForwardDate: TXSDateTime read FUserForwardDate write FUserForwardDate;
property ForwardMessageEncoding: WideString read FForwardMessageEncoding write FForwardMessageEncoding;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesFolderType = class(TRemotable)
private
FFolderID: Int64;
FFolderName: WideString;
published
property FolderID: Int64 read FFolderID write FFolderID;
property FolderName: WideString read FFolderName write FFolderName;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesAlertType = class(TRemotable)
private
FSender: WideString;
FRecipientUserID: WideString;
FSubject: WideString;
FPriority: WideString;
FAlertID: MyMessagesAlertIDType;
FExternalAlertID: WideString;
FContentType: WideString;
FText: WideString;
FResolutionStatus: MyMessagesAlertResolutionStatusCode;
FRead_: Boolean;
FCreationDate: TXSDateTime;
FReceiveDate: TXSDateTime;
FExpirationDate: TXSDateTime;
FResolutionDate: TXSDateTime;
FLastReadDate: TXSDateTime;
FItemID: ItemIDType;
FIsTimedResolution: Boolean;
FActionURL: WideString;
FResponseDetails: MyMessagesResponseDetailsType;
FForwardDetails: MyMessagesForwardDetailsType;
FFolder: MyMessagesFolderType;
public
destructor Destroy; override;
published
property Sender: WideString read FSender write FSender;
property RecipientUserID: WideString read FRecipientUserID write FRecipientUserID;
property Subject: WideString read FSubject write FSubject;
property Priority: WideString read FPriority write FPriority;
property AlertID: MyMessagesAlertIDType read FAlertID write FAlertID;
property ExternalAlertID: WideString read FExternalAlertID write FExternalAlertID;
property ContentType: WideString read FContentType write FContentType;
property Text: WideString read FText write FText;
property ResolutionStatus: MyMessagesAlertResolutionStatusCode read FResolutionStatus write FResolutionStatus;
property Read_: Boolean read FRead_ write FRead_;
property CreationDate: TXSDateTime read FCreationDate write FCreationDate;
property ReceiveDate: TXSDateTime read FReceiveDate write FReceiveDate;
property ExpirationDate: TXSDateTime read FExpirationDate write FExpirationDate;
property ResolutionDate: TXSDateTime read FResolutionDate write FResolutionDate;
property LastReadDate: TXSDateTime read FLastReadDate write FLastReadDate;
property ItemID: ItemIDType read FItemID write FItemID;
property IsTimedResolution: Boolean read FIsTimedResolution write FIsTimedResolution;
property ActionURL: WideString read FActionURL write FActionURL;
property ResponseDetails: MyMessagesResponseDetailsType read FResponseDetails write FResponseDetails;
property ForwardDetails: MyMessagesForwardDetailsType read FForwardDetails write FForwardDetails;
property Folder: MyMessagesFolderType read FFolder write FFolder;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyMessagesMessageType = class(TRemotable)
private
FSender: WideString;
FRecipientUserID: WideString;
FSendToName: WideString;
FSubject: WideString;
FMessageID: MyMessagesMessageIDType;
FExternalMessageID: WideString;
FContentType: WideString;
FText: WideString;
FFlagged: Boolean;
FRead_: Boolean;
FCreationDate: TXSDateTime;
FReceiveDate: TXSDateTime;
FExpirationDate: TXSDateTime;
FItemID: ItemIDType;
FResponseDetails: MyMessagesResponseDetailsType;
FForwardDetails: MyMessagesForwardDetailsType;
FFolder: MyMessagesFolderType;
public
destructor Destroy; override;
published
property Sender: WideString read FSender write FSender;
property RecipientUserID: WideString read FRecipientUserID write FRecipientUserID;
property SendToName: WideString read FSendToName write FSendToName;
property Subject: WideString read FSubject write FSubject;
property MessageID: MyMessagesMessageIDType read FMessageID write FMessageID;
property ExternalMessageID: WideString read FExternalMessageID write FExternalMessageID;
property ContentType: WideString read FContentType write FContentType;
property Text: WideString read FText write FText;
property Flagged: Boolean read FFlagged write FFlagged;
property Read_: Boolean read FRead_ write FRead_;
property CreationDate: TXSDateTime read FCreationDate write FCreationDate;
property ReceiveDate: TXSDateTime read FReceiveDate write FReceiveDate;
property ExpirationDate: TXSDateTime read FExpirationDate write FExpirationDate;
property ItemID: ItemIDType read FItemID write FItemID;
property ResponseDetails: MyMessagesResponseDetailsType read FResponseDetails write FResponseDetails;
property ForwardDetails: MyMessagesForwardDetailsType read FForwardDetails write FForwardDetails;
property Folder: MyMessagesFolderType read FFolder write FFolder;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemListCustomizationType = class(TRemotable)
private
FInclude: Boolean;
FListingType: ListingTypeCodeType;
FSort: ItemSortTypeCodeType;
FDurationInDays: Integer;
FIncludeNotes: Boolean;
FPagination: PaginationType;
public
destructor Destroy; override;
published
property Include: Boolean read FInclude write FInclude;
property ListingType: ListingTypeCodeType read FListingType write FListingType;
property Sort: ItemSortTypeCodeType read FSort write FSort;
property DurationInDays: Integer read FDurationInDays write FDurationInDays;
property IncludeNotes: Boolean read FIncludeNotes write FIncludeNotes;
property Pagination: PaginationType read FPagination write FPagination;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyeBaySelectionType = class(TRemotable)
private
FInclude: Boolean;
FSort: SortOrderCodeType;
FMaxResults: Integer;
published
property Include: Boolean read FInclude write FInclude;
property Sort: SortOrderCodeType read FSort write FSort;
property MaxResults: Integer read FMaxResults write FMaxResults;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidAssistantListType = class(TRemotable)
private
FBidGroupID: Int64;
FIncludeNotes: Boolean;
published
property BidGroupID: Int64 read FBidGroupID write FBidGroupID;
property IncludeNotes: Boolean read FIncludeNotes write FIncludeNotes;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BuyingSummaryType = class(TRemotable)
private
FBiddingCount: Integer;
FWinningCount: Integer;
FTotalWinningCost: AmountType;
FWonCount: Integer;
FTotalWonCost: AmountType;
FWonDurationInDays: Integer;
FBestOfferCount: Integer;
public
destructor Destroy; override;
published
property BiddingCount: Integer read FBiddingCount write FBiddingCount;
property WinningCount: Integer read FWinningCount write FWinningCount;
property TotalWinningCost: AmountType read FTotalWinningCost write FTotalWinningCost;
property WonCount: Integer read FWonCount write FWonCount;
property TotalWonCost: AmountType read FTotalWonCost write FTotalWonCost;
property WonDurationInDays: Integer read FWonDurationInDays write FWonDurationInDays;
property BestOfferCount: Integer read FBestOfferCount write FBestOfferCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaginatedItemArrayType = class(TRemotable)
private
FItemArray: ItemArrayType;
FPaginationResult: PaginationResultType;
public
destructor Destroy; override;
published
property ItemArray: ItemArrayType read FItemArray write FItemArray;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
end;
BidGroupArrayType = array of BidGroupType; { "urn:ebay:apis:eBLBaseComponents" }
OrderTransactionArrayType = array of OrderTransactionType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaginatedOrderTransactionArrayType = class(TRemotable)
private
FOrderTransactionArray: OrderTransactionArrayType;
FPaginationResult: PaginationResultType;
public
destructor Destroy; override;
published
property OrderTransactionArray: OrderTransactionArrayType read FOrderTransactionArray write FOrderTransactionArray;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
OrderTransactionType = class(TRemotable)
private
FOrder: OrderType;
FTransaction: TransactionType;
public
destructor Destroy; override;
published
property Order: OrderType read FOrder write FOrder;
property Transaction: TransactionType read FTransaction write FTransaction;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyeBayFavoriteSearchType = class(TRemotable)
private
FSearchName: WideString;
FSearchQuery: WideString;
published
property SearchName: WideString read FSearchName write FSearchName;
property SearchQuery: WideString read FSearchQuery write FSearchQuery;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyeBayFavoriteSearchListType = class(TRemotable)
private
FTotalAvailable: Integer;
FFavoriteSearch: MyeBayFavoriteSearchType;
public
destructor Destroy; override;
published
property TotalAvailable: Integer read FTotalAvailable write FTotalAvailable;
property FavoriteSearch: MyeBayFavoriteSearchType read FFavoriteSearch write FFavoriteSearch;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyeBayFavoriteSellerType = class(TRemotable)
private
FUserID: WideString;
FStoreName: WideString;
published
property UserID: WideString read FUserID write FUserID;
property StoreName: WideString read FStoreName write FStoreName;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyeBayFavoriteSellerListType = class(TRemotable)
private
FTotalAvailable: Integer;
FFavoriteSeller: MyeBayFavoriteSellerType;
public
destructor Destroy; override;
published
property TotalAvailable: Integer read FTotalAvailable write FTotalAvailable;
property FavoriteSeller: MyeBayFavoriteSellerType read FFavoriteSeller write FFavoriteSeller;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidGroupItemType = class(TRemotable)
private
FItem: ItemType;
FBidGroupItemStatus: BidGroupItemStatusCodeType;
FMaxBidAmount: AmountType;
public
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property BidGroupItemStatus: BidGroupItemStatusCodeType read FBidGroupItemStatus write FBidGroupItemStatus;
property MaxBidAmount: AmountType read FMaxBidAmount write FMaxBidAmount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidGroupType = class(TRemotable)
private
FBidGroupItem: BidGroupItemType;
FBidGroupID: Int64;
FBidGroupName: WideString;
FBidGroupStatus: BidGroupStatusCodeType;
public
destructor Destroy; override;
published
property BidGroupItem: BidGroupItemType read FBidGroupItem write FBidGroupItem;
property BidGroupID: Int64 read FBidGroupID write FBidGroupID;
property BidGroupName: WideString read FBidGroupName write FBidGroupName;
property BidGroupStatus: BidGroupStatusCodeType read FBidGroupStatus write FBidGroupStatus;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ReminderCustomizationType = class(TRemotable)
private
FDurationInDays: Integer;
FInclude: Boolean;
published
property DurationInDays: Integer read FDurationInDays write FDurationInDays;
property Include: Boolean read FInclude write FInclude;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
RemindersType = class(TRemotable)
private
FPaymentToSendCount: Integer;
FFeedbackToReceiveCount: Integer;
FFeedbackToSendCount: Integer;
FOutbidCount: Integer;
FPaymentToReceiveCount: Integer;
FSecondChanceOfferCount: Integer;
FShippingNeededCount: Integer;
FRelistingNeededCount: Integer;
FTotalNewLeadsCount: Integer;
FDocsForCCProcessingToSendCount: Integer;
FRTEToProcessCount: Integer;
FItemReceiptToConfirmCount: Integer;
FRefundOnHoldCount: Integer;
FRefundCancelledCount: Integer;
FShippingDetailsToBeProvidedCount: Integer;
FItemReceiptConfirmationToReceiveCount: Integer;
FRefundInitiatedCount: Integer;
FPendingRTERequestCount: Integer;
FDeclinedRTERequestCount: Integer;
published
property PaymentToSendCount: Integer read FPaymentToSendCount write FPaymentToSendCount;
property FeedbackToReceiveCount: Integer read FFeedbackToReceiveCount write FFeedbackToReceiveCount;
property FeedbackToSendCount: Integer read FFeedbackToSendCount write FFeedbackToSendCount;
property OutbidCount: Integer read FOutbidCount write FOutbidCount;
property PaymentToReceiveCount: Integer read FPaymentToReceiveCount write FPaymentToReceiveCount;
property SecondChanceOfferCount: Integer read FSecondChanceOfferCount write FSecondChanceOfferCount;
property ShippingNeededCount: Integer read FShippingNeededCount write FShippingNeededCount;
property RelistingNeededCount: Integer read FRelistingNeededCount write FRelistingNeededCount;
property TotalNewLeadsCount: Integer read FTotalNewLeadsCount write FTotalNewLeadsCount;
property DocsForCCProcessingToSendCount: Integer read FDocsForCCProcessingToSendCount write FDocsForCCProcessingToSendCount;
property RTEToProcessCount: Integer read FRTEToProcessCount write FRTEToProcessCount;
property ItemReceiptToConfirmCount: Integer read FItemReceiptToConfirmCount write FItemReceiptToConfirmCount;
property RefundOnHoldCount: Integer read FRefundOnHoldCount write FRefundOnHoldCount;
property RefundCancelledCount: Integer read FRefundCancelledCount write FRefundCancelledCount;
property ShippingDetailsToBeProvidedCount: Integer read FShippingDetailsToBeProvidedCount write FShippingDetailsToBeProvidedCount;
property ItemReceiptConfirmationToReceiveCount: Integer read FItemReceiptConfirmationToReceiveCount write FItemReceiptConfirmationToReceiveCount;
property RefundInitiatedCount: Integer read FRefundInitiatedCount write FRefundInitiatedCount;
property PendingRTERequestCount: Integer read FPendingRTERequestCount write FPendingRTERequestCount;
property DeclinedRTERequestCount: Integer read FDeclinedRTERequestCount write FDeclinedRTERequestCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellingSummaryType = class(TRemotable)
private
FActiveAuctionCount: Integer;
FAuctionSellingCount: Integer;
FAuctionBidCount: Integer;
FTotalAuctionSellingValue: AmountType;
FTotalSoldCount: Integer;
FTotalSoldValue: AmountType;
FSoldDurationInDays: Integer;
public
destructor Destroy; override;
published
property ActiveAuctionCount: Integer read FActiveAuctionCount write FActiveAuctionCount;
property AuctionSellingCount: Integer read FAuctionSellingCount write FAuctionSellingCount;
property AuctionBidCount: Integer read FAuctionBidCount write FAuctionBidCount;
property TotalAuctionSellingValue: AmountType read FTotalAuctionSellingValue write FTotalAuctionSellingValue;
property TotalSoldCount: Integer read FTotalSoldCount write FTotalSoldCount;
property TotalSoldValue: AmountType read FTotalSoldValue write FTotalSoldValue;
property SoldDurationInDays: Integer read FSoldDurationInDays write FSoldDurationInDays;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MyeBaySellingSummaryType = class(TRemotable)
private
FActiveAuctionCount: Integer;
FAuctionSellingCount: Integer;
FAuctionBidCount: Integer;
FTotalAuctionSellingValue: AmountType;
FTotalSoldCount: Integer;
FTotalSoldValue: AmountType;
FSoldDurationInDays: Integer;
FClassifiedAdCount: Integer;
FTotalLeadCount: Integer;
FClassifiedAdOfferCount: Integer;
FTotalListingsWithLeads: Integer;
public
destructor Destroy; override;
published
property ActiveAuctionCount: Integer read FActiveAuctionCount write FActiveAuctionCount;
property AuctionSellingCount: Integer read FAuctionSellingCount write FAuctionSellingCount;
property AuctionBidCount: Integer read FAuctionBidCount write FAuctionBidCount;
property TotalAuctionSellingValue: AmountType read FTotalAuctionSellingValue write FTotalAuctionSellingValue;
property TotalSoldCount: Integer read FTotalSoldCount write FTotalSoldCount;
property TotalSoldValue: AmountType read FTotalSoldValue write FTotalSoldValue;
property SoldDurationInDays: Integer read FSoldDurationInDays write FSoldDurationInDays;
property ClassifiedAdCount: Integer read FClassifiedAdCount write FClassifiedAdCount;
property TotalLeadCount: Integer read FTotalLeadCount write FTotalLeadCount;
property ClassifiedAdOfferCount: Integer read FClassifiedAdOfferCount write FClassifiedAdOfferCount;
property TotalListingsWithLeads: Integer read FTotalListingsWithLeads write FTotalListingsWithLeads;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ApplicationDeliveryPreferencesType = class(TRemotable)
private
FApplicationURL: WideString;
FApplicationEnable: EnableCodeType;
FAlertEmail: WideString;
FAlertEnable: EnableCodeType;
FNotificationPayloadType: NotificationPayloadTypeCodeType;
FDeviceType: DeviceTypeCodeType;
FPayloadVersion: WideString;
published
property ApplicationURL: WideString read FApplicationURL write FApplicationURL;
property ApplicationEnable: EnableCodeType read FApplicationEnable write FApplicationEnable;
property AlertEmail: WideString read FAlertEmail write FAlertEmail;
property AlertEnable: EnableCodeType read FAlertEnable write FAlertEnable;
property NotificationPayloadType: NotificationPayloadTypeCodeType read FNotificationPayloadType write FNotificationPayloadType;
property DeviceType: DeviceTypeCodeType read FDeviceType write FDeviceType;
property PayloadVersion: WideString read FPayloadVersion write FPayloadVersion;
end;
NotificationEnableArrayType = array of NotificationEnableType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
NotificationEventPropertyType = class(TRemotable)
private
FEventType: NotificationEventTypeCodeType;
FName_: NotificationEventPropertyNameCodeType;
FValue: WideString;
published
property EventType: NotificationEventTypeCodeType read FEventType write FEventType;
property Name_: NotificationEventPropertyNameCodeType read FName_ write FName_;
property Value: WideString read FValue write FValue;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
NotificationEnableType = class(TRemotable)
private
FEventType: NotificationEventTypeCodeType;
FEventEnable: EnableCodeType;
published
property EventType: NotificationEventTypeCodeType read FEventType write FEventType;
property EventEnable: EnableCodeType read FEventEnable write FEventEnable;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SMSSubscriptionType = class(TRemotable)
private
FSMSPhone: WideString;
FUserStatus: SMSSubscriptionUserStatusCodeType;
FCarrierID: WirelessCarrierIDCodeType;
FErrorCode: SMSSubscriptionErrorCodeCodeType;
FItemToUnsubscribe: ItemIDType;
published
property SMSPhone: WideString read FSMSPhone write FSMSPhone;
property UserStatus: SMSSubscriptionUserStatusCodeType read FUserStatus write FUserStatus;
property CarrierID: WirelessCarrierIDCodeType read FCarrierID write FCarrierID;
property ErrorCode: SMSSubscriptionErrorCodeCodeType read FErrorCode write FErrorCode;
property ItemToUnsubscribe: ItemIDType read FItemToUnsubscribe write FItemToUnsubscribe;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SummaryEventScheduleType = class(TRemotable)
private
FEventType: NotificationEventTypeCodeType;
FSummaryPeriod: SummaryWindowPeriodCodeType;
FFrequency: SummaryFrequencyCodeType;
published
property EventType: NotificationEventTypeCodeType read FEventType write FEventType;
property SummaryPeriod: SummaryWindowPeriodCodeType read FSummaryPeriod write FSummaryPeriod;
property Frequency: SummaryFrequencyCodeType read FFrequency write FFrequency;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
NotificationUserDataType = class(TRemotable)
private
FSMSSubscription: SMSSubscriptionType;
FSummarySchedule: SummaryEventScheduleType;
public
destructor Destroy; override;
published
property SMSSubscription: SMSSubscriptionType read FSMSSubscription write FSMSSubscription;
property SummarySchedule: SummaryEventScheduleType read FSummarySchedule write FSummarySchedule;
end;
NotificationDetailsArrayType = array of NotificationDetailsType; { "urn:ebay:apis:eBLBaseComponents" }
MarkUpMarkDownHistoryType = array of MarkUpMarkDownEventType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
NotificationStatisticsType = class(TRemotable)
private
FDeliveredCount: Integer;
FQueuedNewCount: Integer;
FQueuedPendingCount: Integer;
FExpiredCount: Integer;
FErrorCount: Integer;
published
property DeliveredCount: Integer read FDeliveredCount write FDeliveredCount;
property QueuedNewCount: Integer read FQueuedNewCount write FQueuedNewCount;
property QueuedPendingCount: Integer read FQueuedPendingCount write FQueuedPendingCount;
property ExpiredCount: Integer read FExpiredCount write FExpiredCount;
property ErrorCount: Integer read FErrorCount write FErrorCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
NotificationDetailsType = class(TRemotable)
private
FDeliveryURL: WideString;
FReferenceID: WideString;
FExpirationTime: TXSDateTime;
FType_: NotificationEventTypeCodeType;
FRetries: Integer;
FDeliveryStatus: NotificationEventStateCodeType;
FNextRetryTime: TXSDateTime;
FDeliveryTime: TXSDateTime;
FErrorMessage: WideString;
public
destructor Destroy; override;
published
property DeliveryURL: WideString read FDeliveryURL write FDeliveryURL;
property ReferenceID: WideString read FReferenceID write FReferenceID;
property ExpirationTime: TXSDateTime read FExpirationTime write FExpirationTime;
property Type_: NotificationEventTypeCodeType read FType_ write FType_;
property Retries: Integer read FRetries write FRetries;
property DeliveryStatus: NotificationEventStateCodeType read FDeliveryStatus write FDeliveryStatus;
property NextRetryTime: TXSDateTime read FNextRetryTime write FNextRetryTime;
property DeliveryTime: TXSDateTime read FDeliveryTime write FDeliveryTime;
property ErrorMessage: WideString read FErrorMessage write FErrorMessage;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
MarkUpMarkDownEventType = class(TRemotable)
private
FType_: MarkUpMarkDownEventTypeCodeType;
FTime: TXSDateTime;
FReason: WideString;
public
destructor Destroy; override;
published
property Type_: MarkUpMarkDownEventTypeCodeType read FType_ write FType_;
property Time: TXSDateTime read FTime write FTime;
property Reason: WideString read FReason write FReason;
end;
ItemTransactionIDArrayType = array of ItemTransactionIDType; { "urn:ebay:apis:eBLBaseComponents" }
OrderIDArrayType = array of OrderIDType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemTransactionIDType = class(TRemotable)
private
FItemID: ItemIDType;
FTransactionID: WideString;
published
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
end;
OrderArrayType = array of OrderType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureManagerPictureDisplayType = class(TRemotable)
private
FDisplayType: PictureManagerPictureDisplayTypeCodeType;
FURL: WideString;
FSize: Integer;
FHeight: Integer;
FWidth: Integer;
published
property DisplayType: PictureManagerPictureDisplayTypeCodeType read FDisplayType write FDisplayType;
property URL: WideString read FURL write FURL;
property Size: Integer read FSize write FSize;
property Height: Integer read FHeight write FHeight;
property Width: Integer read FWidth write FWidth;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureManagerPictureType = class(TRemotable)
private
FPictureURL: WideString;
FName_: WideString;
FDate: TXSDateTime;
FDisplayFormat: PictureManagerPictureDisplayType;
public
destructor Destroy; override;
published
property PictureURL: WideString read FPictureURL write FPictureURL;
property Name_: WideString read FName_ write FName_;
property Date: TXSDateTime read FDate write FDate;
property DisplayFormat: PictureManagerPictureDisplayType read FDisplayFormat write FDisplayFormat;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureManagerFolderType = class(TRemotable)
private
FFolderID: Integer;
FName_: WideString;
FPicture: PictureManagerPictureType;
public
destructor Destroy; override;
published
property FolderID: Integer read FFolderID write FFolderID;
property Name_: WideString read FName_ write FName_;
property Picture: PictureManagerPictureType read FPicture write FPicture;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureManagerDetailsType = class(TRemotable)
private
FSubscriptionLevel: PictureManagerSubscriptionLevelCodeType;
FStorageUsed: Integer;
FTotalStorageAvailable: Integer;
FKeepOriginal: Boolean;
FWatermarkEPS: Boolean;
FWatermarkUserID: Boolean;
FFolder: PictureManagerFolderType;
public
destructor Destroy; override;
published
property SubscriptionLevel: PictureManagerSubscriptionLevelCodeType read FSubscriptionLevel write FSubscriptionLevel;
property StorageUsed: Integer read FStorageUsed write FStorageUsed;
property TotalStorageAvailable: Integer read FTotalStorageAvailable write FTotalStorageAvailable;
property KeepOriginal: Boolean read FKeepOriginal write FKeepOriginal;
property WatermarkEPS: Boolean read FWatermarkEPS write FWatermarkEPS;
property WatermarkUserID: Boolean read FWatermarkUserID write FWatermarkUserID;
property Folder: PictureManagerFolderType read FFolder write FFolder;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureManagerSubscriptionType = class(TRemotable)
private
FSubscriptionLevel: PictureManagerSubscriptionLevelCodeType;
FFee: AmountType;
FStorageSize: Integer;
public
destructor Destroy; override;
published
property SubscriptionLevel: PictureManagerSubscriptionLevelCodeType read FSubscriptionLevel write FSubscriptionLevel;
property Fee: AmountType read FFee write FFee;
property StorageSize: Integer read FStorageSize write FStorageSize;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchAttributesType = class(TRemotable)
private
FAttributeID: Integer;
FDateSpecifier: DateSpecifierCodeType;
FRangeSpecifier: RangeCodeType;
FValueList: ValType;
public
destructor Destroy; override;
published
property AttributeID: Integer read FAttributeID write FAttributeID;
property DateSpecifier: DateSpecifierCodeType read FDateSpecifier write FDateSpecifier;
property RangeSpecifier: RangeCodeType read FRangeSpecifier write FRangeSpecifier;
property ValueList: ValType read FValueList write FValueList;
end;
CharacteristicSetIDsType = array of WideString; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductSearchType = class(TRemotable)
private
FProductSearchID: WideString;
FAttributeSetID: Integer;
FProductFinderID: Integer;
FProductID: WideString;
FSortAttributeID: Integer;
FMaxChildrenPerFamily: Integer;
FSearchAttributes: SearchAttributesType;
FPagination: PaginationType;
FAvailableItemsOnly: Boolean;
FQueryKeywords: WideString;
FCharacteristicSetIDs: CharacteristicSetIDsType;
FProductReferenceID: WideString;
FExternalProductID: ExternalProductIDType;
public
destructor Destroy; override;
published
property ProductSearchID: WideString read FProductSearchID write FProductSearchID;
property AttributeSetID: Integer read FAttributeSetID write FAttributeSetID;
property ProductFinderID: Integer read FProductFinderID write FProductFinderID;
property ProductID: WideString read FProductID write FProductID;
property SortAttributeID: Integer read FSortAttributeID write FSortAttributeID;
property MaxChildrenPerFamily: Integer read FMaxChildrenPerFamily write FMaxChildrenPerFamily;
property SearchAttributes: SearchAttributesType read FSearchAttributes write FSearchAttributes;
property Pagination: PaginationType read FPagination write FPagination;
property AvailableItemsOnly: Boolean read FAvailableItemsOnly write FAvailableItemsOnly;
property QueryKeywords: WideString read FQueryKeywords write FQueryKeywords;
property CharacteristicSetIDs: CharacteristicSetIDsType read FCharacteristicSetIDs write FCharacteristicSetIDs;
property ProductReferenceID: WideString read FProductReferenceID write FProductReferenceID;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DataElementSetType = class(TRemotable)
private
FDataElement: WideString;
FDataElementID: Integer;
FattributeSetID: Integer;
published
property DataElement: WideString read FDataElement write FDataElement;
property DataElementID: Integer read FDataElementID write FDataElementID;
property attributeSetID: Integer read FattributeSetID write FattributeSetID stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductFinderConstraintType = class(TRemotable)
private
FDisplayName: WideString;
FDisplayValue: WideString;
published
property DisplayName: WideString read FDisplayName write FDisplayName;
property DisplayValue: WideString read FDisplayValue write FDisplayValue;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductType = class(TRemotable)
private
FCharacteristicsSet: CharacteristicsSetType;
FDetailsURL: WideString;
FNumItems: Integer;
FMinPrice: AmountType;
FMaxPrice: AmountType;
FproductID: WideString;
FstockPhotoURL: WideString;
Ftitle: WideString;
public
destructor Destroy; override;
published
property CharacteristicsSet: CharacteristicsSetType read FCharacteristicsSet write FCharacteristicsSet;
property DetailsURL: WideString read FDetailsURL write FDetailsURL;
property NumItems: Integer read FNumItems write FNumItems;
property MinPrice: AmountType read FMinPrice write FMinPrice;
property MaxPrice: AmountType read FMaxPrice write FMaxPrice;
property productID: WideString read FproductID write FproductID stored AS_ATTRIBUTE;
property stockPhotoURL: WideString read FstockPhotoURL write FstockPhotoURL stored AS_ATTRIBUTE;
property title: WideString read Ftitle write Ftitle stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductFamilyType = class(TRemotable)
private
FParentProduct: ProductType;
FFamilyMembers: ProductType;
FhasMoreChildren: Boolean;
public
destructor Destroy; override;
published
property ParentProduct: ProductType read FParentProduct write FParentProduct;
property FamilyMembers: ProductType read FFamilyMembers write FFamilyMembers;
property hasMoreChildren: Boolean read FhasMoreChildren write FhasMoreChildren stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ResponseAttributeSetType = class(TRemotable)
private
FApproximatePages: Integer;
FAttributeSetID: Integer;
FHasMore: Boolean;
FProductFamilies: ProductFamilyType;
FProductFinderConstraints: ProductFinderConstraintType;
FTooManyMatchesFound: Boolean;
FTotalProducts: Integer;
public
destructor Destroy; override;
published
property ApproximatePages: Integer read FApproximatePages write FApproximatePages;
property AttributeSetID: Integer read FAttributeSetID write FAttributeSetID;
property HasMore: Boolean read FHasMore write FHasMore;
property ProductFamilies: ProductFamilyType read FProductFamilies write FProductFamilies;
property ProductFinderConstraints: ProductFinderConstraintType read FProductFinderConstraints write FProductFinderConstraints;
property TooManyMatchesFound: Boolean read FTooManyMatchesFound write FTooManyMatchesFound;
property TotalProducts: Integer read FTotalProducts write FTotalProducts;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductSearchResultType = class(TRemotable)
private
FID: WideString;
FNumProducts: WideString;
FAttributeSet: ResponseAttributeSetType;
FDisplayStockPhotos: Boolean;
public
destructor Destroy; override;
published
property ID: WideString read FID write FID;
property NumProducts: WideString read FNumProducts write FNumProducts;
property AttributeSet: ResponseAttributeSetType read FAttributeSet write FAttributeSet;
property DisplayStockPhotos: Boolean read FDisplayStockPhotos write FDisplayStockPhotos;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ProductSearchPageType = class(TRemotable)
private
FSearchCharacteristicsSet: CharacteristicsSetType;
FSearchType: CharacteristicsSearchCodeType;
FSortCharacteristics: CharacteristicType;
FDataElementSet: DataElementSetType;
public
destructor Destroy; override;
published
property SearchCharacteristicsSet: CharacteristicsSetType read FSearchCharacteristicsSet write FSearchCharacteristicsSet;
property SearchType: CharacteristicsSearchCodeType read FSearchType write FSearchType;
property SortCharacteristics: CharacteristicType read FSortCharacteristics write FSortCharacteristics;
property DataElementSet: DataElementSetType read FDataElementSet write FDataElementSet;
end;
CharacteristicsSetProductHistogramType = array of HistogramEntryType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
HistogramEntryType = class(TRemotable)
private
FCount: Integer;
Fid: WideString;
Fname_: WideString;
published
property Count: Integer read FCount write FCount;
property id: WideString read Fid write Fid stored AS_ATTRIBUTE;
property name_: WideString read Fname_ write Fname_ stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ReviewType = class(TRemotable)
private
FURL: WideString;
FTitle: WideString;
FRating: Integer;
FText: WideString;
FUserID: UserIDType;
FCreationTime: TXSDateTime;
public
destructor Destroy; override;
published
property URL: WideString read FURL write FURL;
property Title: WideString read FTitle write FTitle;
property Rating: Integer read FRating write FRating;
property Text: WideString read FText write FText;
property UserID: UserIDType read FUserID write FUserID;
property CreationTime: TXSDateTime read FCreationTime write FCreationTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ReviewDetailsType = class(TRemotable)
private
FAverageRating: Single;
FReview: ReviewType;
public
destructor Destroy; override;
published
property AverageRating: Single read FAverageRating write FAverageRating;
property Review: ReviewType read FReview write FReview;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CatalogProductType = class(TRemotable)
private
FTitle: WideString;
FDetailsURL: WideString;
FStockPhotoURL: WideString;
FDisplayStockPhotos: Boolean;
FItemCount: Integer;
FExternalProductID: ExternalProductIDType;
FProductReferenceID: Int64;
FAttributeSetID: Integer;
FItemSpecifics: NameValueListArrayType;
FReviewCount: Integer;
FReviewDetails: ReviewDetailsType;
public
destructor Destroy; override;
published
property Title: WideString read FTitle write FTitle;
property DetailsURL: WideString read FDetailsURL write FDetailsURL;
property StockPhotoURL: WideString read FStockPhotoURL write FStockPhotoURL;
property DisplayStockPhotos: Boolean read FDisplayStockPhotos write FDisplayStockPhotos;
property ItemCount: Integer read FItemCount write FItemCount;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
property ProductReferenceID: Int64 read FProductReferenceID write FProductReferenceID;
property AttributeSetID: Integer read FAttributeSetID write FAttributeSetID;
property ItemSpecifics: NameValueListArrayType read FItemSpecifics write FItemSpecifics;
property ReviewCount: Integer read FReviewCount write FReviewCount;
property ReviewDetails: ReviewDetailsType read FReviewDetails write FReviewDetails;
end;
PromotionRuleArrayType = array of PromotionRuleType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PromotionRuleType = class(TRemotable)
private
FPromotedStoreCategoryID: Int64;
FPromotedeBayCategoryID: WideString;
FPromotedKeywords: WideString;
FReferringItemID: ItemIDType;
FReferringStoreCategoryID: Int64;
FReferringeBayCategoryID: WideString;
FReferringKeywords: WideString;
FPromotionScheme: PromotionSchemeCodeType;
FPromotionMethod: PromotionMethodCodeType;
published
property PromotedStoreCategoryID: Int64 read FPromotedStoreCategoryID write FPromotedStoreCategoryID;
property PromotedeBayCategoryID: WideString read FPromotedeBayCategoryID write FPromotedeBayCategoryID;
property PromotedKeywords: WideString read FPromotedKeywords write FPromotedKeywords;
property ReferringItemID: ItemIDType read FReferringItemID write FReferringItemID;
property ReferringStoreCategoryID: Int64 read FReferringStoreCategoryID write FReferringStoreCategoryID;
property ReferringeBayCategoryID: WideString read FReferringeBayCategoryID write FReferringeBayCategoryID;
property ReferringKeywords: WideString read FReferringKeywords write FReferringKeywords;
property PromotionScheme: PromotionSchemeCodeType read FPromotionScheme write FPromotionScheme;
property PromotionMethod: PromotionMethodCodeType read FPromotionMethod write FPromotionMethod;
end;
PromotionalSaleArrayType = array of PromotionalSaleType; { "urn:ebay:apis:eBLBaseComponents" }
ItemIDArrayType = array of ItemIDType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PromotionalSaleType = class(TRemotable)
private
FPromotionalSaleID: Int64;
FPromotionalSaleName: WideString;
FPromotionalSaleItemIDArray: ItemIDArrayType;
FStatus: PromotionalSaleStatusCodeType;
FDiscountType: DiscountCodeType;
FDiscountValue: Double;
FPromotionalSaleStartTime: TXSDateTime;
FPromotionalSaleEndTime: TXSDateTime;
public
destructor Destroy; override;
published
property PromotionalSaleID: Int64 read FPromotionalSaleID write FPromotionalSaleID;
property PromotionalSaleName: WideString read FPromotionalSaleName write FPromotionalSaleName;
property PromotionalSaleItemIDArray: ItemIDArrayType read FPromotionalSaleItemIDArray write FPromotionalSaleItemIDArray;
property Status: PromotionalSaleStatusCodeType read FStatus write FStatus;
property DiscountType: DiscountCodeType read FDiscountType write FDiscountType;
property DiscountValue: Double read FDiscountValue write FDiscountValue;
property PromotionalSaleStartTime: TXSDateTime read FPromotionalSaleStartTime write FPromotionalSaleStartTime;
property PromotionalSaleEndTime: TXSDateTime read FPromotionalSaleEndTime write FPromotionalSaleEndTime;
end;
AuthenticationEntryArrayType = array of AuthenticationEntryType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AuthenticationEntryType = class(TRemotable)
private
FAcceptURL: WideString;
FPrivacyPolicyURL: WideString;
FRejectURL: WideString;
FRuName: WideString;
FTokenReturnMethod: TokenReturnMethodCodeType;
published
property AcceptURL: WideString read FAcceptURL write FAcceptURL;
property PrivacyPolicyURL: WideString read FPrivacyPolicyURL write FPrivacyPolicyURL;
property RejectURL: WideString read FRejectURL write FRejectURL;
property RuName: WideString read FRuName write FRuName;
property TokenReturnMethod: TokenReturnMethodCodeType read FTokenReturnMethod write FTokenReturnMethod;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PriceRangeFilterType = class(TRemotable)
private
FMaxPrice: AmountType;
FMinPrice: AmountType;
public
destructor Destroy; override;
published
property MaxPrice: AmountType read FMaxPrice write FMaxPrice;
property MinPrice: AmountType read FMinPrice write FMinPrice;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
UserIdFilterType = class(TRemotable)
private
FExcludeSellers: UserIDType;
FIncludeSellers: UserIDType;
published
property ExcludeSellers: UserIDType read FExcludeSellers write FExcludeSellers;
property IncludeSellers: UserIDType read FIncludeSellers write FIncludeSellers;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchLocationFilterType = class(TRemotable)
private
FCountryCode: CountryCodeType;
FItemLocation: ItemLocationCodeType;
FSearchLocation: SearchLocationType;
FCurrency: CurrencyCodeType;
public
destructor Destroy; override;
published
property CountryCode: CountryCodeType read FCountryCode write FCountryCode;
property ItemLocation: ItemLocationCodeType read FItemLocation write FItemLocation;
property SearchLocation: SearchLocationType read FSearchLocation write FSearchLocation;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchStoreFilterType = class(TRemotable)
private
FStoreName: WideString;
FStoreSearch: StoreSearchCodeType;
published
property StoreName: WideString read FStoreName write FStoreName;
property StoreSearch: StoreSearchCodeType read FStoreSearch write FStoreSearch;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchRequestType = class(TRemotable)
private
FProductFinderID: Integer;
FSearchAttributes: SearchAttributesType;
public
destructor Destroy; override;
published
property ProductFinderID: Integer read FProductFinderID write FProductFinderID;
property SearchAttributes: SearchAttributesType read FSearchAttributes write FSearchAttributes;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
RequestCategoriesType = class(TRemotable)
private
FCategoriesOnly: Boolean;
FMaxCategories: Integer;
FMaxSubcategories: Integer;
FLevels: Integer;
FDemandData: Boolean;
published
property CategoriesOnly: Boolean read FCategoriesOnly write FCategoriesOnly;
property MaxCategories: Integer read FMaxCategories write FMaxCategories;
property MaxSubcategories: Integer read FMaxSubcategories write FMaxSubcategories;
property Levels: Integer read FLevels write FLevels;
property DemandData: Boolean read FDemandData write FDemandData;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidRangeType = class(TRemotable)
private
FMinimumBidCount: Integer;
FMaximumBidCount: Integer;
published
property MinimumBidCount: Integer read FMinimumBidCount write FMinimumBidCount;
property MaximumBidCount: Integer read FMaximumBidCount write FMaximumBidCount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DateType = class(TRemotable)
private
FYear: Integer;
FMonth: Integer;
FDay: Integer;
published
property Year: Integer read FYear write FYear;
property Month: Integer read FMonth write FMonth;
property Day: Integer read FDay write FDay;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
TicketDetailsType = class(TRemotable)
private
FEventType: TicketEventTypeCodeType;
FEventDate: DateType;
FStateOrProvince: WideString;
FCityName: WideString;
FTicketQuantity: Integer;
public
destructor Destroy; override;
published
property EventType: TicketEventTypeCodeType read FEventType write FEventType;
property EventDate: DateType read FEventDate write FEventDate;
property StateOrProvince: WideString read FStateOrProvince write FStateOrProvince;
property CityName: WideString read FCityName write FCityName;
property TicketQuantity: Integer read FTicketQuantity write FTicketQuantity;
end;
SearchResultItemArrayType = array of SearchResultItemType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SpellingSuggestionType = class(TRemotable)
private
FMatchingItemCount: Integer;
FText: WideString;
published
property MatchingItemCount: Integer read FMatchingItemCount write FMatchingItemCount;
property Text: WideString read FText write FText;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SearchResultItemType = class(TRemotable)
private
FItem: ItemType;
FItemSpecific: NameValueListArrayType;
FSearchResultValues: SearchResultValuesCodeType;
public
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property ItemSpecific: NameValueListArrayType read FItemSpecific write FItemSpecific;
property SearchResultValues: SearchResultValuesCodeType read FSearchResultValues write FSearchResultValues;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpansionArrayType = class(TRemotable)
private
FExpansionItem: SearchResultItemType;
FTotalAvailable: Integer;
public
destructor Destroy; override;
published
property ExpansionItem: SearchResultItemType read FExpansionItem write FExpansionItem;
property TotalAvailable: Integer read FTotalAvailable write FTotalAvailable;
end;
DomainHistogramType = array of ExpressHistogramDepartmentType; { "urn:ebay:apis:eBLBaseComponents" }
ProductArrayType = array of ExpressProductType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressHistogramDomainDetailsType = class(TRemotable)
private
FName_: WideString;
FBreadCrumb: WideString;
FItemCount: Integer;
FProductCount: Integer;
FImageURL: WideString;
published
property Name_: WideString read FName_ write FName_;
property BreadCrumb: WideString read FBreadCrumb write FBreadCrumb;
property ItemCount: Integer read FItemCount write FItemCount;
property ProductCount: Integer read FProductCount write FProductCount;
property ImageURL: WideString read FImageURL write FImageURL;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressHistogramProductType = class(TRemotable)
private
FDomainDetails: ExpressHistogramDomainDetailsType;
public
destructor Destroy; override;
published
property DomainDetails: ExpressHistogramDomainDetailsType read FDomainDetails write FDomainDetails;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressHistogramAisleType = class(TRemotable)
private
FDomainDetails: ExpressHistogramDomainDetailsType;
FProductType: ExpressHistogramProductType;
public
destructor Destroy; override;
published
property DomainDetails: ExpressHistogramDomainDetailsType read FDomainDetails write FDomainDetails;
property ProductType: ExpressHistogramProductType read FProductType write FProductType;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressHistogramDepartmentType = class(TRemotable)
private
FDomainDetails: ExpressHistogramDomainDetailsType;
FAisle: ExpressHistogramAisleType;
public
destructor Destroy; override;
published
property DomainDetails: ExpressHistogramDomainDetailsType read FDomainDetails write FDomainDetails;
property Aisle: ExpressHistogramAisleType read FAisle write FAisle;
end;
UserIDArrayType = array of UserIDType; { "urn:ebay:apis:eBLBaseComponents" }
SKUArrayType = array of SKUType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellerPaymentType = class(TRemotable)
private
FItemID: ItemIDType;
FTransactionID: WideString;
FOrderID: OrderIDType;
FSellerInventoryID: WideString;
FPrivateNotes: WideString;
FExternalProductID: ExternalProductIDType;
FTitle: WideString;
FPaymentType: PaymentTypeCodeType;
FTransactionPrice: AmountType;
FShippingReimbursement: AmountType;
FCommission: AmountType;
FAmountPaid: AmountType;
FPaidTime: TXSDateTime;
public
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property OrderID: OrderIDType read FOrderID write FOrderID;
property SellerInventoryID: WideString read FSellerInventoryID write FSellerInventoryID;
property PrivateNotes: WideString read FPrivateNotes write FPrivateNotes;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
property Title: WideString read FTitle write FTitle;
property PaymentType: PaymentTypeCodeType read FPaymentType write FPaymentType;
property TransactionPrice: AmountType read FTransactionPrice write FTransactionPrice;
property ShippingReimbursement: AmountType read FShippingReimbursement write FShippingReimbursement;
property Commission: AmountType read FCommission write FCommission;
property AmountPaid: AmountType read FAmountPaid write FAmountPaid;
property PaidTime: TXSDateTime read FPaidTime write FPaidTime;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CalculatedHandlingDiscountType = class(TRemotable)
private
FDiscountName: HandlingNameCodeType;
FOrderHandlingAmount: AmountType;
FEachAdditionalAmount: AmountType;
FEachAdditionalOffAmount: AmountType;
FEachAdditionalPercentOff: Single;
public
destructor Destroy; override;
published
property DiscountName: HandlingNameCodeType read FDiscountName write FDiscountName;
property OrderHandlingAmount: AmountType read FOrderHandlingAmount write FOrderHandlingAmount;
property EachAdditionalAmount: AmountType read FEachAdditionalAmount write FEachAdditionalAmount;
property EachAdditionalOffAmount: AmountType read FEachAdditionalOffAmount write FEachAdditionalOffAmount;
property EachAdditionalPercentOff: Single read FEachAdditionalPercentOff write FEachAdditionalPercentOff;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FlatRateInsuranceRangeCostType = class(TRemotable)
private
FFlatRateInsuranceRange: FlatRateInsuranceRangeCodeType;
FInsuranceCost: AmountType;
public
destructor Destroy; override;
published
property FlatRateInsuranceRange: FlatRateInsuranceRangeCodeType read FFlatRateInsuranceRange write FFlatRateInsuranceRange;
property InsuranceCost: AmountType read FInsuranceCost write FInsuranceCost;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingInsuranceType = class(TRemotable)
private
FInsuranceOption: InsuranceOptionCodeType;
FFlatRateInsuranceRangeCost: FlatRateInsuranceRangeCostType;
public
destructor Destroy; override;
published
property InsuranceOption: InsuranceOptionCodeType read FInsuranceOption write FInsuranceOption;
property FlatRateInsuranceRangeCost: FlatRateInsuranceRangeCostType read FFlatRateInsuranceRangeCost write FFlatRateInsuranceRangeCost;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreLogoType = class(TRemotable)
private
FLogoID: Integer;
FName_: WideString;
FURL: WideString;
published
property LogoID: Integer read FLogoID write FLogoID;
property Name_: WideString read FName_ write FName_;
property URL: WideString read FURL write FURL;
end;
StoreCustomCategoryArrayType = array of StoreCustomCategoryType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreColorType = class(TRemotable)
private
FPrimary: WideString;
FSecondary: WideString;
FAccent: WideString;
published
property Primary: WideString read FPrimary write FPrimary;
property Secondary: WideString read FSecondary write FSecondary;
property Accent: WideString read FAccent write FAccent;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreFontType = class(TRemotable)
private
FNameFace: StoreFontFaceCodeType;
FNameSize: StoreFontSizeCodeType;
FNameColor: WideString;
FTitleFace: StoreFontFaceCodeType;
FTitleSize: StoreFontSizeCodeType;
FTitleColor: WideString;
FDescFace: StoreFontFaceCodeType;
FDescSize: StoreFontSizeCodeType;
FDescColor: WideString;
published
property NameFace: StoreFontFaceCodeType read FNameFace write FNameFace;
property NameSize: StoreFontSizeCodeType read FNameSize write FNameSize;
property NameColor: WideString read FNameColor write FNameColor;
property TitleFace: StoreFontFaceCodeType read FTitleFace write FTitleFace;
property TitleSize: StoreFontSizeCodeType read FTitleSize write FTitleSize;
property TitleColor: WideString read FTitleColor write FTitleColor;
property DescFace: StoreFontFaceCodeType read FDescFace write FDescFace;
property DescSize: StoreFontSizeCodeType read FDescSize write FDescSize;
property DescColor: WideString read FDescColor write FDescColor;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreColorSchemeType = class(TRemotable)
private
FColorSchemeID: Integer;
FName_: WideString;
FColor: StoreColorType;
FFont: StoreFontType;
public
destructor Destroy; override;
published
property ColorSchemeID: Integer read FColorSchemeID write FColorSchemeID;
property Name_: WideString read FName_ write FName_;
property Color: StoreColorType read FColor write FColor;
property Font: StoreFontType read FFont write FFont;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreThemeType = class(TRemotable)
private
FThemeID: Integer;
FName_: WideString;
FColorScheme: StoreColorSchemeType;
public
destructor Destroy; override;
published
property ThemeID: Integer read FThemeID write FThemeID;
property Name_: WideString read FName_ write FName_;
property ColorScheme: StoreColorSchemeType read FColorScheme write FColorScheme;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreCustomCategoryType = class(TRemotable)
private
FCategoryID: Int64;
FName_: WideString;
FOrder: Integer;
FChildCategory: StoreCustomCategoryType;
public
destructor Destroy; override;
published
property CategoryID: Int64 read FCategoryID write FCategoryID;
property Name_: WideString read FName_ write FName_;
property Order: Integer read FOrder write FOrder;
property ChildCategory: StoreCustomCategoryType read FChildCategory write FChildCategory;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreCustomListingHeaderLinkType = class(TRemotable)
private
FLinkID: Integer;
FOrder: Integer;
FLinkType: StoreCustomListingHeaderLinkCodeType;
published
property LinkID: Integer read FLinkID write FLinkID;
property Order: Integer read FOrder write FOrder;
property LinkType: StoreCustomListingHeaderLinkCodeType read FLinkType write FLinkType;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreCustomListingHeaderType = class(TRemotable)
private
FDisplayType: StoreCustomListingHeaderDisplayCodeType;
FLogo: Boolean;
FSearchBox: Boolean;
FLinkToInclude: StoreCustomListingHeaderLinkType;
FAddToFavoriteStores: Boolean;
FSignUpForStoreNewsletter: Boolean;
public
destructor Destroy; override;
published
property DisplayType: StoreCustomListingHeaderDisplayCodeType read FDisplayType write FDisplayType;
property Logo: Boolean read FLogo write FLogo;
property SearchBox: Boolean read FSearchBox write FSearchBox;
property LinkToInclude: StoreCustomListingHeaderLinkType read FLinkToInclude write FLinkToInclude;
property AddToFavoriteStores: Boolean read FAddToFavoriteStores write FAddToFavoriteStores;
property SignUpForStoreNewsletter: Boolean read FSignUpForStoreNewsletter write FSignUpForStoreNewsletter;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreType = class(TRemotable)
private
FName_: WideString;
FURLPath: WideString;
FURL: WideString;
FSubscriptionLevel: StoreSubscriptionLevelCodeType;
FDescription: WideString;
FLogo: StoreLogoType;
FTheme: StoreThemeType;
FHeaderStyle: StoreHeaderStyleCodeType;
FHomePage: Int64;
FItemListLayout: StoreItemListLayoutCodeType;
FItemListSortOrder: StoreItemListSortOrderCodeType;
FCustomHeaderLayout: StoreCustomHeaderLayoutCodeType;
FCustomHeader: WideString;
FExportListings: Boolean;
FCustomCategories: StoreCustomCategoryArrayType;
FCustomListingHeader: StoreCustomListingHeaderType;
FMerchDisplay: MerchDisplayCodeType;
FLastOpenedTime: TXSDateTime;
public
destructor Destroy; override;
published
property Name_: WideString read FName_ write FName_;
property URLPath: WideString read FURLPath write FURLPath;
property URL: WideString read FURL write FURL;
property SubscriptionLevel: StoreSubscriptionLevelCodeType read FSubscriptionLevel write FSubscriptionLevel;
property Description: WideString read FDescription write FDescription;
property Logo: StoreLogoType read FLogo write FLogo;
property Theme: StoreThemeType read FTheme write FTheme;
property HeaderStyle: StoreHeaderStyleCodeType read FHeaderStyle write FHeaderStyle;
property HomePage: Int64 read FHomePage write FHomePage;
property ItemListLayout: StoreItemListLayoutCodeType read FItemListLayout write FItemListLayout;
property ItemListSortOrder: StoreItemListSortOrderCodeType read FItemListSortOrder write FItemListSortOrder;
property CustomHeaderLayout: StoreCustomHeaderLayoutCodeType read FCustomHeaderLayout write FCustomHeaderLayout;
property CustomHeader: WideString read FCustomHeader write FCustomHeader;
property ExportListings: Boolean read FExportListings write FExportListings;
property CustomCategories: StoreCustomCategoryArrayType read FCustomCategories write FCustomCategories;
property CustomListingHeader: StoreCustomListingHeaderType read FCustomListingHeader write FCustomListingHeader;
property MerchDisplay: MerchDisplayCodeType read FMerchDisplay write FMerchDisplay;
property LastOpenedTime: TXSDateTime read FLastOpenedTime write FLastOpenedTime;
end;
StoreCustomPageArrayType = array of StoreCustomPageType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreCustomPageType = class(TRemotable)
private
FName_: WideString;
FPageID: Int64;
FURLPath: WideString;
FURL: WideString;
FStatus: StoreCustomPageStatusCodeType;
FContent: WideString;
FLeftNav: Boolean;
FPreviewEnabled: Boolean;
FOrder: Integer;
published
property Name_: WideString read FName_ write FName_;
property PageID: Int64 read FPageID write FPageID;
property URLPath: WideString read FURLPath write FURLPath;
property URL: WideString read FURL write FURL;
property Status: StoreCustomPageStatusCodeType read FStatus write FStatus;
property Content: WideString read FContent write FContent;
property LeftNav: Boolean read FLeftNav write FLeftNav;
property PreviewEnabled: Boolean read FPreviewEnabled write FPreviewEnabled;
property Order: Integer read FOrder write FOrder;
end;
StoreLogoArrayType = array of StoreLogoType; { "urn:ebay:apis:eBLBaseComponents" }
StoreSubscriptionArrayType = array of StoreSubscriptionType; { "urn:ebay:apis:eBLBaseComponents" }
StoreColorSchemeArrayType = array of StoreColorSchemeType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreThemeArrayType = class(TRemotable)
private
FTheme: StoreThemeType;
FGenericColorSchemeArray: StoreColorSchemeArrayType;
public
destructor Destroy; override;
published
property Theme: StoreThemeType read FTheme write FTheme;
property GenericColorSchemeArray: StoreColorSchemeArrayType read FGenericColorSchemeArray write FGenericColorSchemeArray;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreSubscriptionType = class(TRemotable)
private
FLevel: StoreSubscriptionLevelCodeType;
FFee: AmountType;
public
destructor Destroy; override;
published
property Level: StoreSubscriptionLevelCodeType read FLevel write FLevel;
property Fee: AmountType read FFee write FFee;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StoreVacationPreferencesType = class(TRemotable)
private
FOnVacation: Boolean;
FReturnDate: TXSDateTime;
FHideFixedPriceStoreItems: Boolean;
FMessageItem: Boolean;
FMessageStore: Boolean;
FDisplayMessageStoreCustomText: Boolean;
FMessageStoreCustomText: WideString;
public
destructor Destroy; override;
published
property OnVacation: Boolean read FOnVacation write FOnVacation;
property ReturnDate: TXSDateTime read FReturnDate write FReturnDate;
property HideFixedPriceStoreItems: Boolean read FHideFixedPriceStoreItems write FHideFixedPriceStoreItems;
property MessageItem: Boolean read FMessageItem write FMessageItem;
property MessageStore: Boolean read FMessageStore write FMessageStore;
property DisplayMessageStoreCustomText: Boolean read FDisplayMessageStoreCustomText write FDisplayMessageStoreCustomText;
property MessageStoreCustomText: WideString read FMessageStoreCustomText write FMessageStoreCustomText;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
StorePreferencesType = class(TRemotable)
private
FVacationPreferences: StoreVacationPreferencesType;
public
destructor Destroy; override;
published
property VacationPreferences: StoreVacationPreferencesType read FVacationPreferences write FVacationPreferences;
end;
SuggestedCategoryArrayType = array of SuggestedCategoryType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SuggestedCategoryType = class(TRemotable)
private
FCategory: CategoryType;
FPercentItemFound: Integer;
public
destructor Destroy; override;
published
property Category: CategoryType read FCategory write FCategory;
property PercentItemFound: Integer read FPercentItemFound write FPercentItemFound;
end;
DisputeArrayType = array of DisputeType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DisputeFilterCountType = class(TRemotable)
private
FDisputeFilterType: DisputeFilterTypeCodeType;
FTotalAvailable: Integer;
published
property DisputeFilterType: DisputeFilterTypeCodeType read FDisputeFilterType write FDisputeFilterType;
property TotalAvailable: Integer read FTotalAvailable write FTotalAvailable;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BidderNoticePreferencesType = class(TRemotable)
private
FUnsuccessfulBidderNoticeIncludeMyItems: Boolean;
published
property UnsuccessfulBidderNoticeIncludeMyItems: Boolean read FUnsuccessfulBidderNoticeIncludeMyItems write FUnsuccessfulBidderNoticeIncludeMyItems;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CrossPromotionPreferencesType = class(TRemotable)
private
FCrossPromotionEnabled: Boolean;
FCrossSellItemFormatSortFilter: ItemFormatSortFilterCodeType;
FCrossSellGallerySortFilter: GallerySortFilterCodeType;
FCrossSellItemSortFilter: ItemSortFilterCodeType;
FUpSellItemFormatSortFilter: ItemFormatSortFilterCodeType;
FUpSellGallerySortFilter: GallerySortFilterCodeType;
FUpSellItemSortFilter: ItemSortFilterCodeType;
published
property CrossPromotionEnabled: Boolean read FCrossPromotionEnabled write FCrossPromotionEnabled;
property CrossSellItemFormatSortFilter: ItemFormatSortFilterCodeType read FCrossSellItemFormatSortFilter write FCrossSellItemFormatSortFilter;
property CrossSellGallerySortFilter: GallerySortFilterCodeType read FCrossSellGallerySortFilter write FCrossSellGallerySortFilter;
property CrossSellItemSortFilter: ItemSortFilterCodeType read FCrossSellItemSortFilter write FCrossSellItemSortFilter;
property UpSellItemFormatSortFilter: ItemFormatSortFilterCodeType read FUpSellItemFormatSortFilter write FUpSellItemFormatSortFilter;
property UpSellGallerySortFilter: GallerySortFilterCodeType read FUpSellGallerySortFilter write FUpSellGallerySortFilter;
property UpSellItemSortFilter: ItemSortFilterCodeType read FUpSellItemSortFilter write FUpSellItemSortFilter;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellerPaymentPreferencesType = class(TRemotable)
private
FAlwaysUseThisPaymentAddress: Boolean;
FDisplayPayNowButton: DisplayPayNowButtonCodeType;
FPayPalPreferred: Boolean;
FDefaultPayPalEmailAddress: WideString;
FPayPalAlwaysOn: Boolean;
FSellerPaymentAddress: AddressType;
FUPSRateOption: UPSRateOptionCodeType;
public
destructor Destroy; override;
published
property AlwaysUseThisPaymentAddress: Boolean read FAlwaysUseThisPaymentAddress write FAlwaysUseThisPaymentAddress;
property DisplayPayNowButton: DisplayPayNowButtonCodeType read FDisplayPayNowButton write FDisplayPayNowButton;
property PayPalPreferred: Boolean read FPayPalPreferred write FPayPalPreferred;
property DefaultPayPalEmailAddress: WideString read FDefaultPayPalEmailAddress write FDefaultPayPalEmailAddress;
property PayPalAlwaysOn: Boolean read FPayPalAlwaysOn write FPayPalAlwaysOn;
property SellerPaymentAddress: AddressType read FSellerPaymentAddress write FSellerPaymentAddress;
property UPSRateOption: UPSRateOptionCodeType read FUPSRateOption write FUPSRateOption;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SellerFavoriteItemPreferencesType = class(TRemotable)
private
FSearchKeywords: WideString;
FStoreCategoryID: Int64;
FListingType: ListingTypeCodeType;
FSearchSortOrder: StoreItemListSortOrderCodeType;
FMinPrice: AmountType;
FMaxPrice: AmountType;
FFavoriteItemID: ItemIDType;
public
destructor Destroy; override;
published
property SearchKeywords: WideString read FSearchKeywords write FSearchKeywords;
property StoreCategoryID: Int64 read FStoreCategoryID write FStoreCategoryID;
property ListingType: ListingTypeCodeType read FListingType write FListingType;
property SearchSortOrder: StoreItemListSortOrderCodeType read FSearchSortOrder write FSearchSortOrder;
property MinPrice: AmountType read FMinPrice write FMinPrice;
property MaxPrice: AmountType read FMaxPrice write FMaxPrice;
property FavoriteItemID: ItemIDType read FFavoriteItemID write FFavoriteItemID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
EndOfAuctionEmailPreferencesType = class(TRemotable)
private
FTemplateText: WideString;
FLogoURL: WideString;
FLogoType: EndOfAuctionLogoTypeCodeType;
FEmailCustomized: Boolean;
FTextCustomized: Boolean;
FLogoCustomized: Boolean;
FCopyEmail: Boolean;
published
property TemplateText: WideString read FTemplateText write FTemplateText;
property LogoURL: WideString read FLogoURL write FLogoURL;
property LogoType: EndOfAuctionLogoTypeCodeType read FLogoType write FLogoType;
property EmailCustomized: Boolean read FEmailCustomized write FEmailCustomized;
property TextCustomized: Boolean read FTextCustomized write FTextCustomized;
property LogoCustomized: Boolean read FLogoCustomized write FLogoCustomized;
property CopyEmail: Boolean read FCopyEmail write FCopyEmail;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ExpressPreferencesType = class(TRemotable)
private
FExpressSellingPreference: ExpressSellingPreferenceCodeType;
FDefaultPayPalAccount: WideString;
published
property ExpressSellingPreference: ExpressSellingPreferenceCodeType read FExpressSellingPreference write FExpressSellingPreference;
property DefaultPayPalAccount: WideString read FDefaultPayPalAccount write FDefaultPayPalAccount;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CalculatedShippingPreferencesType = class(TRemotable)
private
FCalculatedShippingAmountForEntireOrder: AmountType;
FCalculatedShippingChargeOption: CalculatedShippingChargeOptionCodeType;
FCalculatedShippingRateOption: CalculatedShippingRateOptionCodeType;
FInsuranceOption: InsuranceOptionCodeType;
public
destructor Destroy; override;
published
property CalculatedShippingAmountForEntireOrder: AmountType read FCalculatedShippingAmountForEntireOrder write FCalculatedShippingAmountForEntireOrder;
property CalculatedShippingChargeOption: CalculatedShippingChargeOptionCodeType read FCalculatedShippingChargeOption write FCalculatedShippingChargeOption;
property CalculatedShippingRateOption: CalculatedShippingRateOptionCodeType read FCalculatedShippingRateOption write FCalculatedShippingRateOption;
property InsuranceOption: InsuranceOptionCodeType read FInsuranceOption write FInsuranceOption;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
FlatShippingPreferencesType = class(TRemotable)
private
FAmountPerAdditionalItem: AmountType;
FDeductionAmountPerAdditionalItem: AmountType;
FFlatRateInsuranceRangeCost: FlatRateInsuranceRangeCostType;
FFlatShippingRateOption: FlatShippingRateOptionCodeType;
FInsuranceOption: InsuranceOptionCodeType;
public
destructor Destroy; override;
published
property AmountPerAdditionalItem: AmountType read FAmountPerAdditionalItem write FAmountPerAdditionalItem;
property DeductionAmountPerAdditionalItem: AmountType read FDeductionAmountPerAdditionalItem write FDeductionAmountPerAdditionalItem;
property FlatRateInsuranceRangeCost: FlatRateInsuranceRangeCostType read FFlatRateInsuranceRangeCost write FFlatRateInsuranceRangeCost;
property FlatShippingRateOption: FlatShippingRateOptionCodeType read FFlatShippingRateOption write FFlatShippingRateOption;
property InsuranceOption: InsuranceOptionCodeType read FInsuranceOption write FInsuranceOption;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CombinedPaymentPreferencesType = class(TRemotable)
private
FCalculatedShippingPreferences: CalculatedShippingPreferencesType;
FCombinedPaymentOption: CombinedPaymentOptionCodeType;
FCombinedPaymentPeriod: CombinedPaymentPeriodCodeType;
FFlatShippingPreferences: FlatShippingPreferencesType;
public
destructor Destroy; override;
published
property CalculatedShippingPreferences: CalculatedShippingPreferencesType read FCalculatedShippingPreferences write FCalculatedShippingPreferences;
property CombinedPaymentOption: CombinedPaymentOptionCodeType read FCombinedPaymentOption write FCombinedPaymentOption;
property CombinedPaymentPeriod: CombinedPaymentPeriodCodeType read FCombinedPaymentPeriod write FCombinedPaymentPeriod;
property FlatShippingPreferences: FlatShippingPreferencesType read FFlatShippingPreferences write FFlatShippingPreferences;
end;
VeROReasonCodeDetailsType = array of VeROSiteDetailType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ReasonCodeDetailType = class(TRemotable)
private
FBriefText: WideString;
FDetailedText: WideString;
FcodeID: Int64;
published
property BriefText: WideString read FBriefText write FBriefText;
property DetailedText: WideString read FDetailedText write FDetailedText;
property codeID: Int64 read FcodeID write FcodeID stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
VeROSiteDetailType = class(TRemotable)
private
FSite: SiteCodeType;
FReasonCodeDetail: ReasonCodeDetailType;
public
destructor Destroy; override;
published
property Site: SiteCodeType read FSite write FSite;
property ReasonCodeDetail: ReasonCodeDetailType read FReasonCodeDetail write FReasonCodeDetail;
end;
VeROReportedItemDetailsType = array of VeROReportedItemType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
VeROReportedItemType = class(TRemotable)
private
FItemID: ItemIDType;
FItemStatus: VeROItemStatusCodeType;
FItemReasonForFailure: WideString;
published
property ItemID: ItemIDType read FItemID write FItemID;
property ItemStatus: VeROItemStatusCodeType read FItemStatus write FItemStatus;
property ItemReasonForFailure: WideString read FItemReasonForFailure write FItemReasonForFailure;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
WantItNowPostType = class(TRemotable)
private
FCategoryID: WideString;
FDescription: WideString;
FPostID: ItemIDType;
FSite: SiteCodeType;
FStartTime: TXSDateTime;
FResponseCount: Integer;
FTitle: WideString;
public
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property Description: WideString read FDescription write FDescription;
property PostID: ItemIDType read FPostID write FPostID;
property Site: SiteCodeType read FSite write FSite;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property ResponseCount: Integer read FResponseCount write FResponseCount;
property Title: WideString read FTitle write FTitle;
end;
WantItNowPostArrayType = array of WantItNowPostType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CountryDetailsType = class(TRemotable)
private
FCountry: CountryCodeType;
FDescription: WideString;
published
property Country: CountryCodeType read FCountry write FCountry;
property Description: WideString read FDescription write FDescription;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
CurrencyDetailsType = class(TRemotable)
private
FCurrency: CurrencyCodeType;
FDescription: WideString;
published
property Currency: CurrencyCodeType read FCurrency write FCurrency;
property Description: WideString read FDescription write FDescription;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DispatchTimeMaxDetailsType = class(TRemotable)
private
FDispatchTimeMax: Integer;
FDescription: WideString;
published
property DispatchTimeMax: Integer read FDispatchTimeMax write FDispatchTimeMax;
property Description: WideString read FDescription write FDescription;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PaymentOptionDetailsType = class(TRemotable)
private
FPaymentOption: BuyerPaymentMethodCodeType;
FDescription: WideString;
published
property PaymentOption: BuyerPaymentMethodCodeType read FPaymentOption write FPaymentOption;
property Description: WideString read FDescription write FDescription;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
RegionDetailsType = class(TRemotable)
private
FRegionID: WideString;
FDescription: WideString;
published
property RegionID: WideString read FRegionID write FRegionID;
property Description: WideString read FDescription write FDescription;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingLocationDetailsType = class(TRemotable)
private
FShippingLocation: WideString;
FDescription: WideString;
published
property ShippingLocation: WideString read FShippingLocation write FShippingLocation;
property Description: WideString read FDescription write FDescription;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingServiceDetailsType = class(TRemotable)
private
FDescription: WideString;
FExpeditedService: Boolean;
FInternationalService: Boolean;
FShippingService: WideString;
FShippingServiceID: Integer;
FShippingTimeMax: Integer;
FShippingTimeMin: Integer;
FShippingServiceCode: ShippingServiceCodeType;
FServiceType: ShippingTypeCodeType;
FShippingPackage: ShippingPackageCodeType;
FDimensionsRequired: Boolean;
FValidForSellingFlow: Boolean;
FSurchargeApplicable: Boolean;
FShippingCarrier: ShippingCarrierCodeType;
published
property Description: WideString read FDescription write FDescription;
property ExpeditedService: Boolean read FExpeditedService write FExpeditedService;
property InternationalService: Boolean read FInternationalService write FInternationalService;
property ShippingService: WideString read FShippingService write FShippingService;
property ShippingServiceID: Integer read FShippingServiceID write FShippingServiceID;
property ShippingTimeMax: Integer read FShippingTimeMax write FShippingTimeMax;
property ShippingTimeMin: Integer read FShippingTimeMin write FShippingTimeMin;
property ShippingServiceCode: ShippingServiceCodeType read FShippingServiceCode write FShippingServiceCode;
property ServiceType: ShippingTypeCodeType read FServiceType write FServiceType;
property ShippingPackage: ShippingPackageCodeType read FShippingPackage write FShippingPackage;
property DimensionsRequired: Boolean read FDimensionsRequired write FDimensionsRequired;
property ValidForSellingFlow: Boolean read FValidForSellingFlow write FValidForSellingFlow;
property SurchargeApplicable: Boolean read FSurchargeApplicable write FSurchargeApplicable;
property ShippingCarrier: ShippingCarrierCodeType read FShippingCarrier write FShippingCarrier;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SiteDetailsType = class(TRemotable)
private
FSite: SiteCodeType;
FSiteID: Integer;
published
property Site: SiteCodeType read FSite write FSite;
property SiteID: Integer read FSiteID write FSiteID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
URLDetailsType = class(TRemotable)
private
FURLType: URLTypeCodeType;
FURL: WideString;
published
property URLType: URLTypeCodeType read FURLType write FURLType;
property URL: WideString read FURL write FURL;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
TimeZoneDetailsType = class(TRemotable)
private
FTimeZoneID: WideString;
FStandardLabel: WideString;
FStandardOffset: WideString;
FDaylightSavingsLabel: WideString;
FDaylightSavingsOffset: WideString;
FDaylightSavingsInEffect: Boolean;
published
property TimeZoneID: WideString read FTimeZoneID write FTimeZoneID;
property StandardLabel: WideString read FStandardLabel write FStandardLabel;
property StandardOffset: WideString read FStandardOffset write FStandardOffset;
property DaylightSavingsLabel: WideString read FDaylightSavingsLabel write FDaylightSavingsLabel;
property DaylightSavingsOffset: WideString read FDaylightSavingsOffset write FDaylightSavingsOffset;
property DaylightSavingsInEffect: Boolean read FDaylightSavingsInEffect write FDaylightSavingsInEffect;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemSpecificDetailsType = class(TRemotable)
private
FMaxItemSpecificsPerItem: Integer;
FMaxValuesPerName: Integer;
FMaxCharactersPerValue: Integer;
FMaxCharactersPerName: Integer;
published
property MaxItemSpecificsPerItem: Integer read FMaxItemSpecificsPerItem write FMaxItemSpecificsPerItem;
property MaxValuesPerName: Integer read FMaxValuesPerName write FMaxValuesPerName;
property MaxCharactersPerValue: Integer read FMaxCharactersPerValue write FMaxCharactersPerValue;
property MaxCharactersPerName: Integer read FMaxCharactersPerName write FMaxCharactersPerName;
end;
UnitOfMeasurementDetailsType = array of UnitOfMeasurementType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
RegionOfOriginDetailsType = class(TRemotable)
private
FRegionOfOrigin: WideString;
FDescription: WideString;
FStatus: StatusCodeType;
published
property RegionOfOrigin: WideString read FRegionOfOrigin write FRegionOfOrigin;
property Description: WideString read FDescription write FDescription;
property Status: StatusCodeType read FStatus write FStatus;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingPackageDetailsType = class(TRemotable)
private
FPackageID: Integer;
FDescription: WideString;
FShippingPackage: ShippingPackageCodeType;
FDefault_: Boolean;
published
property PackageID: Integer read FPackageID write FPackageID;
property Description: WideString read FDescription write FDescription;
property ShippingPackage: ShippingPackageCodeType read FShippingPackage write FShippingPackage;
property Default_: Boolean read FDefault_ write FDefault_;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ShippingCarrierDetailsType = class(TRemotable)
private
FShippingCarrierID: Integer;
FDescription: WideString;
FShippingCarrier: ShippingCarrierCodeType;
published
property ShippingCarrierID: Integer read FShippingCarrierID write FShippingCarrierID;
property Description: WideString read FDescription write FDescription;
property ShippingCarrier: ShippingCarrierCodeType read FShippingCarrier write FShippingCarrier;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
UnitOfMeasurementType = class(TRemotable)
private
FAlternateText: WideString;
FSuggestedText: WideString;
published
property AlternateText: WideString read FAlternateText write FAlternateText;
property SuggestedText: WideString read FSuggestedText write FSuggestedText;
end;
ItemRatingDetailArrayType = array of ItemRatingDetailsType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ItemRatingDetailsType = class(TRemotable)
private
FRatingDetail: FeedbackRatingDetailCodeType;
FRating: Integer;
published
property RatingDetail: FeedbackRatingDetailCodeType read FRatingDetail write FRatingDetail;
property Rating: Integer read FRating write FRating;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
Base64BinaryType = class(TRemotable)
private
FcontentType: WideString;
published
property contentType: WideString read FcontentType write FcontentType stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
PictureSetMemberType = class(TRemotable)
private
FMemberURL: WideString;
FPictureHeight: Integer;
FPictureWidth: Integer;
published
property MemberURL: WideString read FMemberURL write FMemberURL;
property PictureHeight: Integer read FPictureHeight write FPictureHeight;
property PictureWidth: Integer read FPictureWidth write FPictureWidth;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
SiteHostedPictureDetailsType = class(TRemotable)
private
FPictureName: WideString;
FPictureSet: PictureSetCodeType;
FPictureFormat: PictureFormatCodeType;
FFullURL: WideString;
FBaseURL: WideString;
FPictureSetMember: PictureSetMemberType;
public
destructor Destroy; override;
published
property PictureName: WideString read FPictureName write FPictureName;
property PictureSet: PictureSetCodeType read FPictureSet write FPictureSet;
property PictureFormat: PictureFormatCodeType read FPictureFormat write FPictureFormat;
property FullURL: WideString read FFullURL write FFullURL;
property BaseURL: WideString read FBaseURL write FBaseURL;
property PictureSetMember: PictureSetMemberType read FPictureSetMember write FPictureSetMember;
end;
VeROReportItemsType = array of VeROReportItemType; { "urn:ebay:apis:eBLBaseComponents" }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
VeROReportItemType = class(TRemotable)
private
FItemID: ItemIDType;
FVeROReasonCodeID: Int64;
FMessageToSeller: WideString;
FCopyEmailToRightsOwner: Boolean;
published
property ItemID: ItemIDType read FItemID write FItemID;
property VeROReasonCodeID: Int64 read FVeROReasonCodeID write FVeROReasonCodeID;
property MessageToSeller: WideString read FMessageToSeller write FMessageToSeller;
property CopyEmailToRightsOwner: Boolean read FCopyEmailToRightsOwner write FCopyEmailToRightsOwner;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BotBlockRequestType = class(TRemotable)
private
FBotBlockToken: WideString;
FBotBlockUserInput: WideString;
published
property BotBlockToken: WideString read FBotBlockToken write FBotBlockToken;
property BotBlockUserInput: WideString read FBotBlockUserInput write FBotBlockUserInput;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AbstractRequestType = class(TRemotable)
private
FDetailLevel: DetailLevelCodeType;
FErrorLanguage: WideString;
FMessageID: WideString;
FVersion: WideString;
FEndUserIP: WideString;
FErrorHandling: ErrorHandlingCodeType;
FInvocationID: UUIDType;
FWarningLevel: WarningLevelCodeType;
FBotBlock: BotBlockRequestType;
public
destructor Destroy; override;
published
property DetailLevel: DetailLevelCodeType read FDetailLevel write FDetailLevel;
property ErrorLanguage: WideString read FErrorLanguage write FErrorLanguage;
property MessageID: WideString read FMessageID write FMessageID;
property Version: WideString read FVersion write FVersion;
property EndUserIP: WideString read FEndUserIP write FEndUserIP;
property ErrorHandling: ErrorHandlingCodeType read FErrorHandling write FErrorHandling;
property InvocationID: UUIDType read FInvocationID write FInvocationID;
property WarningLevel: WarningLevelCodeType read FWarningLevel write FWarningLevel;
property BotBlock: BotBlockRequestType read FBotBlock write FBotBlock;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
VeROReportItemsRequestType = class(AbstractRequestType)
private
FRightsOwnerID: UserIDType;
FReportItems: VeROReportItemsType;
public
constructor Create; override;
destructor Destroy; override;
published
property RightsOwnerID: UserIDType read FRightsOwnerID write FRightsOwnerID;
property ReportItems: VeROReportItemsType read FReportItems write FReportItems;
end;
VeROReportItemsRequest = VeROReportItemsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
UploadSiteHostedPicturesRequestType = class(AbstractRequestType)
private
FPictureName: WideString;
FPictureSystemVersion: Integer;
FPictureSet: PictureSetCodeType;
FPictureData: Base64BinaryType;
FPictureUploadPolicy: PictureUploadPolicyCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property PictureName: WideString read FPictureName write FPictureName;
property PictureSystemVersion: Integer read FPictureSystemVersion write FPictureSystemVersion;
property PictureSet: PictureSetCodeType read FPictureSet write FPictureSet;
property PictureData: Base64BinaryType read FPictureData write FPictureData;
property PictureUploadPolicy: PictureUploadPolicyCodeType read FPictureUploadPolicy write FPictureUploadPolicy;
end;
UploadSiteHostedPicturesRequest = UploadSiteHostedPicturesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
LeaveFeedbackRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FCommentText: WideString;
FCommentType: CommentTypeCodeType;
FTransactionID: WideString;
FTargetUser: UserIDType;
FSellerItemRatingDetailArray: ItemRatingDetailArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property CommentText: WideString read FCommentText write FCommentText;
property CommentType: CommentTypeCodeType read FCommentType write FCommentType;
property TransactionID: WideString read FTransactionID write FTransactionID;
property TargetUser: UserIDType read FTargetUser write FTargetUser;
property SellerItemRatingDetailArray: ItemRatingDetailArrayType read FSellerItemRatingDetailArray write FSellerItemRatingDetailArray;
end;
LeaveFeedbackRequest = LeaveFeedbackRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetUserPreferencesRequestType = class(AbstractRequestType)
private
FBidderNoticePreferences: BidderNoticePreferencesType;
FCombinedPaymentPreferences: CombinedPaymentPreferencesType;
FCrossPromotionPreferences: CrossPromotionPreferencesType;
FSellerPaymentPreferences: SellerPaymentPreferencesType;
FSellerFavoriteItemPreferences: SellerFavoriteItemPreferencesType;
FEndOfAuctionEmailPreferences: EndOfAuctionEmailPreferencesType;
FExpressPreferences: ExpressPreferencesType;
public
constructor Create; override;
destructor Destroy; override;
published
property BidderNoticePreferences: BidderNoticePreferencesType read FBidderNoticePreferences write FBidderNoticePreferences;
property CombinedPaymentPreferences: CombinedPaymentPreferencesType read FCombinedPaymentPreferences write FCombinedPaymentPreferences;
property CrossPromotionPreferences: CrossPromotionPreferencesType read FCrossPromotionPreferences write FCrossPromotionPreferences;
property SellerPaymentPreferences: SellerPaymentPreferencesType read FSellerPaymentPreferences write FSellerPaymentPreferences;
property SellerFavoriteItemPreferences: SellerFavoriteItemPreferencesType read FSellerFavoriteItemPreferences write FSellerFavoriteItemPreferences;
property EndOfAuctionEmailPreferences: EndOfAuctionEmailPreferencesType read FEndOfAuctionEmailPreferences write FEndOfAuctionEmailPreferences;
property ExpressPreferences: ExpressPreferencesType read FExpressPreferences write FExpressPreferences;
end;
SetUserPreferencesRequest = SetUserPreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStorePreferencesRequestType = class(AbstractRequestType)
private
FStorePreferences: StorePreferencesType;
public
constructor Create; override;
destructor Destroy; override;
published
property StorePreferences: StorePreferencesType read FStorePreferences write FStorePreferences;
end;
SetStorePreferencesRequest = SetStorePreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStoreCustomPageRequestType = class(AbstractRequestType)
private
FCustomPage: StoreCustomPageType;
public
constructor Create; override;
destructor Destroy; override;
published
property CustomPage: StoreCustomPageType read FCustomPage write FCustomPage;
end;
SetStoreCustomPageRequest = SetStoreCustomPageRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStoreCategoriesRequestType = class(AbstractRequestType)
private
FAction: StoreCategoryUpdateActionCodeType;
FItemDestinationCategoryID: Int64;
FDestinationParentCategoryID: Int64;
FStoreCategories: StoreCustomCategoryArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property Action: StoreCategoryUpdateActionCodeType read FAction write FAction;
property ItemDestinationCategoryID: Int64 read FItemDestinationCategoryID write FItemDestinationCategoryID;
property DestinationParentCategoryID: Int64 read FDestinationParentCategoryID write FDestinationParentCategoryID;
property StoreCategories: StoreCustomCategoryArrayType read FStoreCategories write FStoreCategories;
end;
SetStoreCategoriesRequest = SetStoreCategoriesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStoreRequestType = class(AbstractRequestType)
private
FStore: StoreType;
public
constructor Create; override;
destructor Destroy; override;
published
property Store: StoreType read FStore write FStore;
end;
SetStoreRequest = SetStoreRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetShippingDiscountProfilesRequestType = class(AbstractRequestType)
private
FCurrencyID: CurrencyCodeType;
FCombinedDuration: CombinedPaymentPeriodCodeType;
FModifyActionCode: ModifyActionCodeType;
FFlatShippingDiscount: FlatShippingDiscountType;
FCalculatedShippingDiscount: CalculatedShippingDiscountType;
FCalculatedHandlingDiscount: CalculatedHandlingDiscountType;
FPromotionalShippingDiscountDetails: PromotionalShippingDiscountDetailsType;
FShippingInsurance: ShippingInsuranceType;
FInternationalShippingInsurance: ShippingInsuranceType;
public
constructor Create; override;
destructor Destroy; override;
published
property CurrencyID: CurrencyCodeType read FCurrencyID write FCurrencyID;
property CombinedDuration: CombinedPaymentPeriodCodeType read FCombinedDuration write FCombinedDuration;
property ModifyActionCode: ModifyActionCodeType read FModifyActionCode write FModifyActionCode;
property FlatShippingDiscount: FlatShippingDiscountType read FFlatShippingDiscount write FFlatShippingDiscount;
property CalculatedShippingDiscount: CalculatedShippingDiscountType read FCalculatedShippingDiscount write FCalculatedShippingDiscount;
property CalculatedHandlingDiscount: CalculatedHandlingDiscountType read FCalculatedHandlingDiscount write FCalculatedHandlingDiscount;
property PromotionalShippingDiscountDetails: PromotionalShippingDiscountDetailsType read FPromotionalShippingDiscountDetails write FPromotionalShippingDiscountDetails;
property ShippingInsurance: ShippingInsuranceType read FShippingInsurance write FShippingInsurance;
property InternationalShippingInsurance: ShippingInsuranceType read FInternationalShippingInsurance write FInternationalShippingInsurance;
end;
SetShippingDiscountProfilesRequest = SetShippingDiscountProfilesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerListRequestType = class(AbstractRequestType)
private
FUserID: UserIDType;
FMotorsDealerUsers: UserIDArrayType;
FEndTimeFrom: TXSDateTime;
FEndTimeTo: TXSDateTime;
FSort: Integer;
FStartTimeFrom: TXSDateTime;
FStartTimeTo: TXSDateTime;
FPagination: PaginationType;
FGranularityLevel: GranularityLevelCodeType;
FSKUArray: SKUArrayType;
FIncludeWatchCount: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property UserID: UserIDType read FUserID write FUserID;
property MotorsDealerUsers: UserIDArrayType read FMotorsDealerUsers write FMotorsDealerUsers;
property EndTimeFrom: TXSDateTime read FEndTimeFrom write FEndTimeFrom;
property EndTimeTo: TXSDateTime read FEndTimeTo write FEndTimeTo;
property Sort: Integer read FSort write FSort;
property StartTimeFrom: TXSDateTime read FStartTimeFrom write FStartTimeFrom;
property StartTimeTo: TXSDateTime read FStartTimeTo write FStartTimeTo;
property Pagination: PaginationType read FPagination write FPagination;
property GranularityLevel: GranularityLevelCodeType read FGranularityLevel write FGranularityLevel;
property SKUArray: SKUArrayType read FSKUArray write FSKUArray;
property IncludeWatchCount: Boolean read FIncludeWatchCount write FIncludeWatchCount;
end;
GetSellerListRequest = GetSellerListRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerTransactionsRequestType = class(AbstractRequestType)
private
FModTimeFrom: TXSDateTime;
FModTimeTo: TXSDateTime;
FPagination: PaginationType;
FIncludeFinalValueFee: Boolean;
FIncludeContainingOrder: Boolean;
FSKUArray: SKUArrayType;
FPlatform_: TransactionPlatformCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property ModTimeFrom: TXSDateTime read FModTimeFrom write FModTimeFrom;
property ModTimeTo: TXSDateTime read FModTimeTo write FModTimeTo;
property Pagination: PaginationType read FPagination write FPagination;
property IncludeFinalValueFee: Boolean read FIncludeFinalValueFee write FIncludeFinalValueFee;
property IncludeContainingOrder: Boolean read FIncludeContainingOrder write FIncludeContainingOrder;
property SKUArray: SKUArrayType read FSKUArray write FSKUArray;
property Platform_: TransactionPlatformCodeType read FPlatform_ write FPlatform_;
end;
GetSellerTransactionsRequest = GetSellerTransactionsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSearchResultsRequestType = class(AbstractRequestType)
private
FMotorsGermanySearchable: Boolean;
FQuery: WideString;
FCategoryID: WideString;
FSearchFlags: SearchFlagsCodeType;
FPriceRangeFilter: PriceRangeFilterType;
FProximitySearch: ProximitySearchType;
FItemTypeFilter: ItemTypeFilterCodeType;
FSearchType: SearchTypeCodeType;
FUserIdFilter: UserIdFilterType;
FSearchLocationFilter: SearchLocationFilterType;
FStoreSearchFilter: SearchStoreFilterType;
FOrder: SearchSortOrderCodeType;
FPagination: PaginationType;
FSearchRequest: SearchRequestType;
FProductID: WideString;
FExternalProductID: ExternalProductIDType;
FCategories: RequestCategoriesType;
FTotalOnly: Boolean;
FEndTimeFrom: TXSDateTime;
FEndTimeTo: TXSDateTime;
FModTimeFrom: TXSDateTime;
FIncludeGetItFastItems: Boolean;
FPaymentMethod: PaymentMethodSearchCodeType;
FGranularityLevel: GranularityLevelCodeType;
FExpandSearch: Boolean;
FLot: Boolean;
FAdFormat: Boolean;
FFreeShipping: Boolean;
FQuantity: Integer;
FQuantityOperator: QuantityOperatorCodeType;
FSellerBusinessType: SellerBusinessCodeType;
FDigitalDelivery: Boolean;
FIncludeCondition: Boolean;
FIncludeFeedback: Boolean;
FCharityID: Integer;
FLocalSearchPostalCode: WideString;
FMaxRelatedSearchKeywords: Integer;
FAffiliateTrackingDetails: AffiliateTrackingDetailsType;
FBidRange: BidRangeType;
FItemCondition: ItemConditionCodeType;
FTicketFinder: TicketDetailsType;
FGroup: GroupType;
public
constructor Create; override;
destructor Destroy; override;
published
property MotorsGermanySearchable: Boolean read FMotorsGermanySearchable write FMotorsGermanySearchable;
property Query: WideString read FQuery write FQuery;
property CategoryID: WideString read FCategoryID write FCategoryID;
property SearchFlags: SearchFlagsCodeType read FSearchFlags write FSearchFlags;
property PriceRangeFilter: PriceRangeFilterType read FPriceRangeFilter write FPriceRangeFilter;
property ProximitySearch: ProximitySearchType read FProximitySearch write FProximitySearch;
property ItemTypeFilter: ItemTypeFilterCodeType read FItemTypeFilter write FItemTypeFilter;
property SearchType: SearchTypeCodeType read FSearchType write FSearchType;
property UserIdFilter: UserIdFilterType read FUserIdFilter write FUserIdFilter;
property SearchLocationFilter: SearchLocationFilterType read FSearchLocationFilter write FSearchLocationFilter;
property StoreSearchFilter: SearchStoreFilterType read FStoreSearchFilter write FStoreSearchFilter;
property Order: SearchSortOrderCodeType read FOrder write FOrder;
property Pagination: PaginationType read FPagination write FPagination;
property SearchRequest: SearchRequestType read FSearchRequest write FSearchRequest;
property ProductID: WideString read FProductID write FProductID;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
property Categories: RequestCategoriesType read FCategories write FCategories;
property TotalOnly: Boolean read FTotalOnly write FTotalOnly;
property EndTimeFrom: TXSDateTime read FEndTimeFrom write FEndTimeFrom;
property EndTimeTo: TXSDateTime read FEndTimeTo write FEndTimeTo;
property ModTimeFrom: TXSDateTime read FModTimeFrom write FModTimeFrom;
property IncludeGetItFastItems: Boolean read FIncludeGetItFastItems write FIncludeGetItFastItems;
property PaymentMethod: PaymentMethodSearchCodeType read FPaymentMethod write FPaymentMethod;
property GranularityLevel: GranularityLevelCodeType read FGranularityLevel write FGranularityLevel;
property ExpandSearch: Boolean read FExpandSearch write FExpandSearch;
property Lot: Boolean read FLot write FLot;
property AdFormat: Boolean read FAdFormat write FAdFormat;
property FreeShipping: Boolean read FFreeShipping write FFreeShipping;
property Quantity: Integer read FQuantity write FQuantity;
property QuantityOperator: QuantityOperatorCodeType read FQuantityOperator write FQuantityOperator;
property SellerBusinessType: SellerBusinessCodeType read FSellerBusinessType write FSellerBusinessType;
property DigitalDelivery: Boolean read FDigitalDelivery write FDigitalDelivery;
property IncludeCondition: Boolean read FIncludeCondition write FIncludeCondition;
property IncludeFeedback: Boolean read FIncludeFeedback write FIncludeFeedback;
property CharityID: Integer read FCharityID write FCharityID;
property LocalSearchPostalCode: WideString read FLocalSearchPostalCode write FLocalSearchPostalCode;
property MaxRelatedSearchKeywords: Integer read FMaxRelatedSearchKeywords write FMaxRelatedSearchKeywords;
property AffiliateTrackingDetails: AffiliateTrackingDetailsType read FAffiliateTrackingDetails write FAffiliateTrackingDetails;
property BidRange: BidRangeType read FBidRange write FBidRange;
property ItemCondition: ItemConditionCodeType read FItemCondition write FItemCondition;
property TicketFinder: TicketDetailsType read FTicketFinder write FTicketFinder;
property Group: GroupType read FGroup write FGroup;
end;
GetSearchResultsRequest = GetSearchResultsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetReturnURLRequestType = class(AbstractRequestType)
private
FAuthenticationEntry: AuthenticationEntryType;
FApplicationDisplayName: WideString;
FAction: ModifyActionCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property AuthenticationEntry: AuthenticationEntryType read FAuthenticationEntry write FAuthenticationEntry;
property ApplicationDisplayName: WideString read FApplicationDisplayName write FApplicationDisplayName;
property Action: ModifyActionCodeType read FAction write FAction;
end;
SetReturnURLRequest = SetReturnURLRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetPromotionalSaleListingsRequestType = class(AbstractRequestType)
private
FPromotionalSaleID: Int64;
FAction: ModifyActionCodeType;
FPromotionalSaleItemIDArray: ItemIDArrayType;
FStoreCategoryID: Int64;
FCategoryID: Int64;
FAllFixedPriceItems: Boolean;
FAllStoreInventoryItems: Boolean;
public
constructor Create; override;
published
property PromotionalSaleID: Int64 read FPromotionalSaleID write FPromotionalSaleID;
property Action: ModifyActionCodeType read FAction write FAction;
property PromotionalSaleItemIDArray: ItemIDArrayType read FPromotionalSaleItemIDArray write FPromotionalSaleItemIDArray;
property StoreCategoryID: Int64 read FStoreCategoryID write FStoreCategoryID;
property CategoryID: Int64 read FCategoryID write FCategoryID;
property AllFixedPriceItems: Boolean read FAllFixedPriceItems write FAllFixedPriceItems;
property AllStoreInventoryItems: Boolean read FAllStoreInventoryItems write FAllStoreInventoryItems;
end;
SetPromotionalSaleListingsRequest = SetPromotionalSaleListingsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetPromotionalSaleRequestType = class(AbstractRequestType)
private
FAction: ModifyActionCodeType;
FPromotionalSaleDetails: PromotionalSaleType;
public
constructor Create; override;
destructor Destroy; override;
published
property Action: ModifyActionCodeType read FAction write FAction;
property PromotionalSaleDetails: PromotionalSaleType read FPromotionalSaleDetails write FPromotionalSaleDetails;
end;
SetPromotionalSaleRequest = SetPromotionalSaleRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductSellingPagesRequestType = class(AbstractRequestType)
private
FUseCase: ProductUseCaseCodeType;
FProduct: ProductType;
public
constructor Create; override;
destructor Destroy; override;
published
property UseCase: ProductUseCaseCodeType read FUseCase write FUseCase;
property Product: ProductType read FProduct write FProduct;
end;
GetProductSellingPagesRequest = GetProductSellingPagesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductsRequestType = class(AbstractRequestType)
private
FProductSearch: ProductSearchType;
FProductSort: ProductSortCodeType;
FIncludeItemArray: Boolean;
FIncludeReviewDetails: Boolean;
FIncludeBuyingGuideDetails: Boolean;
FIncludeHistogram: Boolean;
FAffiliateTrackingDetails: AffiliateTrackingDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property ProductSearch: ProductSearchType read FProductSearch write FProductSearch;
property ProductSort: ProductSortCodeType read FProductSort write FProductSort;
property IncludeItemArray: Boolean read FIncludeItemArray write FIncludeItemArray;
property IncludeReviewDetails: Boolean read FIncludeReviewDetails write FIncludeReviewDetails;
property IncludeBuyingGuideDetails: Boolean read FIncludeBuyingGuideDetails write FIncludeBuyingGuideDetails;
property IncludeHistogram: Boolean read FIncludeHistogram write FIncludeHistogram;
property AffiliateTrackingDetails: AffiliateTrackingDetailsType read FAffiliateTrackingDetails write FAffiliateTrackingDetails;
end;
GetProductsRequest = GetProductsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetPictureManagerDetailsRequestType = class(AbstractRequestType)
private
FPictureManagerDetails: PictureManagerDetailsType;
FAction: PictureManagerActionCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property PictureManagerDetails: PictureManagerDetailsType read FPictureManagerDetails write FPictureManagerDetails;
property Action: PictureManagerActionCodeType read FAction write FAction;
end;
SetPictureManagerDetailsRequest = SetPictureManagerDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetOrderTransactionsRequestType = class(AbstractRequestType)
private
FItemTransactionIDArray: ItemTransactionIDArrayType;
FOrderIDArray: OrderIDArrayType;
FPlatform_: TransactionPlatformCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemTransactionIDArray: ItemTransactionIDArrayType read FItemTransactionIDArray write FItemTransactionIDArray;
property OrderIDArray: OrderIDArrayType read FOrderIDArray write FOrderIDArray;
property Platform_: TransactionPlatformCodeType read FPlatform_ write FPlatform_;
end;
GetOrderTransactionsRequest = GetOrderTransactionsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetOrdersRequestType = class(AbstractRequestType)
private
FOrderIDArray: OrderIDArrayType;
FCreateTimeFrom: TXSDateTime;
FCreateTimeTo: TXSDateTime;
FOrderRole: TradingRoleCodeType;
FOrderStatus: OrderStatusCodeType;
FListingType: ListingTypeCodeType;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property OrderIDArray: OrderIDArrayType read FOrderIDArray write FOrderIDArray;
property CreateTimeFrom: TXSDateTime read FCreateTimeFrom write FCreateTimeFrom;
property CreateTimeTo: TXSDateTime read FCreateTimeTo write FCreateTimeTo;
property OrderRole: TradingRoleCodeType read FOrderRole write FOrderRole;
property OrderStatus: OrderStatusCodeType read FOrderStatus write FOrderStatus;
property ListingType: ListingTypeCodeType read FListingType write FListingType;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetOrdersRequest = GetOrdersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetNotificationPreferencesRequestType = class(AbstractRequestType)
private
FApplicationDeliveryPreferences: ApplicationDeliveryPreferencesType;
FUserDeliveryPreferenceArray: NotificationEnableArrayType;
FUserData: NotificationUserDataType;
FEventProperty: NotificationEventPropertyType;
public
constructor Create; override;
destructor Destroy; override;
published
property ApplicationDeliveryPreferences: ApplicationDeliveryPreferencesType read FApplicationDeliveryPreferences write FApplicationDeliveryPreferences;
property UserDeliveryPreferenceArray: NotificationEnableArrayType read FUserDeliveryPreferenceArray write FUserDeliveryPreferenceArray;
property UserData: NotificationUserDataType read FUserData write FUserData;
property EventProperty: NotificationEventPropertyType read FEventProperty write FEventProperty;
end;
SetNotificationPreferencesRequest = SetNotificationPreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyeBayRemindersRequestType = class(AbstractRequestType)
private
FBuyingReminders: ReminderCustomizationType;
FSellingReminders: ReminderCustomizationType;
public
constructor Create; override;
destructor Destroy; override;
published
property BuyingReminders: ReminderCustomizationType read FBuyingReminders write FBuyingReminders;
property SellingReminders: ReminderCustomizationType read FSellingReminders write FSellingReminders;
end;
GetMyeBayRemindersRequest = GetMyeBayRemindersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyeBayBuyingRequestType = class(AbstractRequestType)
private
FWatchList: ItemListCustomizationType;
FBidList: ItemListCustomizationType;
FBestOfferList: ItemListCustomizationType;
FWonList: ItemListCustomizationType;
FLostList: ItemListCustomizationType;
FFavoriteSearches: MyeBaySelectionType;
FFavoriteSellers: MyeBaySelectionType;
FSecondChanceOffer: MyeBaySelectionType;
FBidAssistantList: BidAssistantListType;
public
constructor Create; override;
destructor Destroy; override;
published
property WatchList: ItemListCustomizationType read FWatchList write FWatchList;
property BidList: ItemListCustomizationType read FBidList write FBidList;
property BestOfferList: ItemListCustomizationType read FBestOfferList write FBestOfferList;
property WonList: ItemListCustomizationType read FWonList write FWonList;
property LostList: ItemListCustomizationType read FLostList write FLostList;
property FavoriteSearches: MyeBaySelectionType read FFavoriteSearches write FFavoriteSearches;
property FavoriteSellers: MyeBaySelectionType read FFavoriteSellers write FFavoriteSellers;
property SecondChanceOffer: MyeBaySelectionType read FSecondChanceOffer write FSecondChanceOffer;
property BidAssistantList: BidAssistantListType read FBidAssistantList write FBidAssistantList;
end;
GetMyeBayBuyingRequest = GetMyeBayBuyingRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyeBaySellingRequestType = class(AbstractRequestType)
private
FScheduledList: ItemListCustomizationType;
FActiveList: ItemListCustomizationType;
FSoldList: ItemListCustomizationType;
FUnsoldList: ItemListCustomizationType;
public
constructor Create; override;
destructor Destroy; override;
published
property ScheduledList: ItemListCustomizationType read FScheduledList write FScheduledList;
property ActiveList: ItemListCustomizationType read FActiveList write FActiveList;
property SoldList: ItemListCustomizationType read FSoldList write FSoldList;
property UnsoldList: ItemListCustomizationType read FUnsoldList write FUnsoldList;
end;
GetMyeBaySellingRequest = GetMyeBaySellingRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetMessagePreferencesRequestType = class(AbstractRequestType)
private
FASQPreferences: ASQPreferencesType;
public
constructor Create; override;
destructor Destroy; override;
published
property ASQPreferences: ASQPreferencesType read FASQPreferences write FASQPreferences;
end;
SetMessagePreferencesRequest = SetMessagePreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoryListingsRequestType = class(AbstractRequestType)
private
FMotorsGermanySearchable: Boolean;
FCategoryID: WideString;
FAdFormat: Boolean;
FFreeShipping: Boolean;
FCurrency: CurrencyCodeType;
FItemTypeFilter: ItemTypeFilterCodeType;
FSearchType: CategoryListingsSearchCodeType;
FOrderBy: CategoryListingsOrderCodeType;
FPagination: PaginationType;
FSearchLocation: SearchLocationType;
FProximitySearch: ProximitySearchType;
FIncludeGetItFastItems: Boolean;
FPaymentMethod: PaymentMethodSearchCodeType;
FIncludeCondition: Boolean;
FIncludeFeedback: Boolean;
FLocalSearchPostalCode: WideString;
FMaxRelatedSearchKeywords: Integer;
FGroup: GroupType;
public
constructor Create; override;
destructor Destroy; override;
published
property MotorsGermanySearchable: Boolean read FMotorsGermanySearchable write FMotorsGermanySearchable;
property CategoryID: WideString read FCategoryID write FCategoryID;
property AdFormat: Boolean read FAdFormat write FAdFormat;
property FreeShipping: Boolean read FFreeShipping write FFreeShipping;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
property ItemTypeFilter: ItemTypeFilterCodeType read FItemTypeFilter write FItemTypeFilter;
property SearchType: CategoryListingsSearchCodeType read FSearchType write FSearchType;
property OrderBy: CategoryListingsOrderCodeType read FOrderBy write FOrderBy;
property Pagination: PaginationType read FPagination write FPagination;
property SearchLocation: SearchLocationType read FSearchLocation write FSearchLocation;
property ProximitySearch: ProximitySearchType read FProximitySearch write FProximitySearch;
property IncludeGetItFastItems: Boolean read FIncludeGetItFastItems write FIncludeGetItFastItems;
property PaymentMethod: PaymentMethodSearchCodeType read FPaymentMethod write FPaymentMethod;
property IncludeCondition: Boolean read FIncludeCondition write FIncludeCondition;
property IncludeFeedback: Boolean read FIncludeFeedback write FIncludeFeedback;
property LocalSearchPostalCode: WideString read FLocalSearchPostalCode write FLocalSearchPostalCode;
property MaxRelatedSearchKeywords: Integer read FMaxRelatedSearchKeywords write FMaxRelatedSearchKeywords;
property Group: GroupType read FGroup write FGroup;
end;
GetCategoryListingsRequest = GetCategoryListingsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetCartRequestType = class(AbstractRequestType)
private
FAffiliateTrackingDetails: AffiliateTrackingDetailsType;
FCartID: Int64;
FShippingAddress: AddressType;
FCheckoutCompleteRedirect: CheckoutCompleteRedirectType;
FCartItemArray: CartItemArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property AffiliateTrackingDetails: AffiliateTrackingDetailsType read FAffiliateTrackingDetails write FAffiliateTrackingDetails;
property CartID: Int64 read FCartID write FCartID;
property ShippingAddress: AddressType read FShippingAddress write FShippingAddress;
property CheckoutCompleteRedirect: CheckoutCompleteRedirectType read FCheckoutCompleteRedirect write FCheckoutCompleteRedirect;
property CartItemArray: CartItemArrayType read FCartItemArray write FCartItemArray;
end;
SetCartRequest = SetCartRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCartRequestType = class(AbstractRequestType)
private
FAffiliateTrackingDetails: AffiliateTrackingDetailsType;
FCartID: Int64;
FShippingAddress: AddressType;
public
constructor Create; override;
destructor Destroy; override;
published
property AffiliateTrackingDetails: AffiliateTrackingDetailsType read FAffiliateTrackingDetails write FAffiliateTrackingDetails;
property CartID: Int64 read FCartID write FCartID;
property ShippingAddress: AddressType read FShippingAddress write FShippingAddress;
end;
GetCartRequest = GetCartRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSearchResultsExpressRequestType = class(AbstractRequestType)
private
FQuery: WideString;
FExternalProductIDType: ExternalProductCodeType;
FExternalProductIDValue: WideString;
FProductReferenceID: Int64;
FDepartmentName: WideString;
FAisleName: WideString;
FProductTypeName: WideString;
FHistogramSort: ExpressHistogramSortCodeType;
FItemSort: ExpressItemSortCodeType;
FProductSort: ExpressProductSortCodeType;
FHighestPrice: AmountType;
FLowestPrice: AmountType;
FCondition: ConditionSelectionCodeType;
FSellerID: UserIDType;
FPostalCode: WideString;
FHistogramDetails: ExpressDetailLevelCodeType;
FProductDetails: ExpressDetailLevelCodeType;
FItemDetails: ExpressDetailLevelCodeType;
FEntriesPerPage: Integer;
FPageNumber: Integer;
FAffiliateTrackingDetails: AffiliateTrackingDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property Query: WideString read FQuery write FQuery;
property ExternalProductIDType: ExternalProductCodeType read FExternalProductIDType write FExternalProductIDType;
property ExternalProductIDValue: WideString read FExternalProductIDValue write FExternalProductIDValue;
property ProductReferenceID: Int64 read FProductReferenceID write FProductReferenceID;
property DepartmentName: WideString read FDepartmentName write FDepartmentName;
property AisleName: WideString read FAisleName write FAisleName;
property ProductTypeName: WideString read FProductTypeName write FProductTypeName;
property HistogramSort: ExpressHistogramSortCodeType read FHistogramSort write FHistogramSort;
property ItemSort: ExpressItemSortCodeType read FItemSort write FItemSort;
property ProductSort: ExpressProductSortCodeType read FProductSort write FProductSort;
property HighestPrice: AmountType read FHighestPrice write FHighestPrice;
property LowestPrice: AmountType read FLowestPrice write FLowestPrice;
property Condition: ConditionSelectionCodeType read FCondition write FCondition;
property SellerID: UserIDType read FSellerID write FSellerID;
property PostalCode: WideString read FPostalCode write FPostalCode;
property HistogramDetails: ExpressDetailLevelCodeType read FHistogramDetails write FHistogramDetails;
property ProductDetails: ExpressDetailLevelCodeType read FProductDetails write FProductDetails;
property ItemDetails: ExpressDetailLevelCodeType read FItemDetails write FItemDetails;
property EntriesPerPage: Integer read FEntriesPerPage write FEntriesPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property AffiliateTrackingDetails: AffiliateTrackingDetailsType read FAffiliateTrackingDetails write FAffiliateTrackingDetails;
end;
GetSearchResultsExpressRequest = GetSearchResultsExpressRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
PlaceOfferRequestType = class(AbstractRequestType)
private
FOffer: OfferType;
FItemID: ItemIDType;
FBlockOnWarning: Boolean;
FAffiliateTrackingDetails: AffiliateTrackingDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property Offer: OfferType read FOffer write FOffer;
property ItemID: ItemIDType read FItemID write FItemID;
property BlockOnWarning: Boolean read FBlockOnWarning write FBlockOnWarning;
property AffiliateTrackingDetails: AffiliateTrackingDetailsType read FAffiliateTrackingDetails write FAffiliateTrackingDetails;
end;
PlaceOfferRequest = PlaceOfferRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAccountRequestType = class(AbstractRequestType)
private
FAccountHistorySelection: AccountHistorySelectionCodeType;
FInvoiceDate: TXSDateTime;
FBeginDate: TXSDateTime;
FEndDate: TXSDateTime;
FPagination: PaginationType;
FExcludeBalance: Boolean;
FExcludeSummary: Boolean;
FAccountEntrySortType: AccountEntrySortTypeCodeType;
FCurrency: CurrencyCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property AccountHistorySelection: AccountHistorySelectionCodeType read FAccountHistorySelection write FAccountHistorySelection;
property InvoiceDate: TXSDateTime read FInvoiceDate write FInvoiceDate;
property BeginDate: TXSDateTime read FBeginDate write FBeginDate;
property EndDate: TXSDateTime read FEndDate write FEndDate;
property Pagination: PaginationType read FPagination write FPagination;
property ExcludeBalance: Boolean read FExcludeBalance write FExcludeBalance;
property ExcludeSummary: Boolean read FExcludeSummary write FExcludeSummary;
property AccountEntrySortType: AccountEntrySortTypeCodeType read FAccountEntrySortType write FAccountEntrySortType;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
end;
GetAccountRequest = GetAccountRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetExpressWishListRequestType = class(AbstractRequestType)
private
FUserID: WideString;
FFirstName: WideString;
FLastName: WideString;
FWishListID: WideString;
FSortOrder: WishListSortCodeType;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property UserID: WideString read FUserID write FUserID;
property FirstName: WideString read FFirstName write FFirstName;
property LastName: WideString read FLastName write FLastName;
property WishListID: WideString read FWishListID write FWishListID;
property SortOrder: WishListSortCodeType read FSortOrder write FSortOrder;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetExpressWishListRequest = GetExpressWishListRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetFeedbackRequestType = class(AbstractRequestType)
private
FPagination: PaginationType;
FUserID: UserIDType;
FFeedbackID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property Pagination: PaginationType read FPagination write FPagination;
property UserID: UserIDType read FUserID write FUserID;
property FeedbackID: WideString read FFeedbackID write FFeedbackID;
end;
GetFeedbackRequest = GetFeedbackRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemTransactionsRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FModTimeFrom: TXSDateTime;
FModTimeTo: TXSDateTime;
FTransactionID: WideString;
FPagination: PaginationType;
FIncludeFinalValueFee: Boolean;
FIncludeContainingOrder: Boolean;
FPlatform_: TransactionPlatformCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property ModTimeFrom: TXSDateTime read FModTimeFrom write FModTimeFrom;
property ModTimeTo: TXSDateTime read FModTimeTo write FModTimeTo;
property TransactionID: WideString read FTransactionID write FTransactionID;
property Pagination: PaginationType read FPagination write FPagination;
property IncludeFinalValueFee: Boolean read FIncludeFinalValueFee write FIncludeFinalValueFee;
property IncludeContainingOrder: Boolean read FIncludeContainingOrder write FIncludeContainingOrder;
property Platform_: TransactionPlatformCodeType read FPlatform_ write FPlatform_;
end;
GetItemTransactionsRequest = GetItemTransactionsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemsAwaitingFeedbackRequestType = class(AbstractRequestType)
private
FSort: ItemSortTypeCodeType;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property Sort: ItemSortTypeCodeType read FSort write FSort;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetItemsAwaitingFeedbackRequest = GetItemsAwaitingFeedbackRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetLiveAuctionBiddersRequestType = class(AbstractRequestType)
private
FUserCatalogID: Integer;
FBidderStatus: BidderStatusCodeType;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property UserCatalogID: Integer read FUserCatalogID write FUserCatalogID;
property BidderStatus: BidderStatusCodeType read FBidderStatus write FBidderStatus;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetLiveAuctionBiddersRequest = GetLiveAuctionBiddersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMemberMessagesRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FMailMessageType: MessageTypeCodeType;
FMessageStatus: MessageStatusTypeCodeType;
FDisplayToPublic: Boolean;
FStartCreationTime: TXSDateTime;
FEndCreationTime: TXSDateTime;
FPagination: PaginationType;
FMemberMessageID: WideString;
FSenderID: UserIDType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property MailMessageType: MessageTypeCodeType read FMailMessageType write FMailMessageType;
property MessageStatus: MessageStatusTypeCodeType read FMessageStatus write FMessageStatus;
property DisplayToPublic: Boolean read FDisplayToPublic write FDisplayToPublic;
property StartCreationTime: TXSDateTime read FStartCreationTime write FStartCreationTime;
property EndCreationTime: TXSDateTime read FEndCreationTime write FEndCreationTime;
property Pagination: PaginationType read FPagination write FPagination;
property MemberMessageID: WideString read FMemberMessageID write FMemberMessageID;
property SenderID: UserIDType read FSenderID write FSenderID;
end;
GetMemberMessagesRequest = GetMemberMessagesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPopularKeywordsRequestType = class(AbstractRequestType)
private
FCategoryID: WideString;
FIncludeChildCategories: Boolean;
FMaxKeywordsRetrieved: Integer;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property IncludeChildCategories: Boolean read FIncludeChildCategories write FIncludeChildCategories;
property MaxKeywordsRetrieved: Integer read FMaxKeywordsRetrieved write FMaxKeywordsRetrieved;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetPopularKeywordsRequest = GetPopularKeywordsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerPaymentsRequestType = class(AbstractRequestType)
private
FPaymentStatus: RCSPaymentStatusCodeType;
FPaymentTimeFrom: TXSDateTime;
FPaymentTimeTo: TXSDateTime;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property PaymentStatus: RCSPaymentStatusCodeType read FPaymentStatus write FPaymentStatus;
property PaymentTimeFrom: TXSDateTime read FPaymentTimeFrom write FPaymentTimeFrom;
property PaymentTimeTo: TXSDateTime read FPaymentTimeTo write FPaymentTimeTo;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetSellerPaymentsRequest = GetSellerPaymentsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserDisputesRequestType = class(AbstractRequestType)
private
FDisputeFilterType: DisputeFilterTypeCodeType;
FDisputeSortType: DisputeSortTypeCodeType;
FModTimeFrom: TXSDateTime;
FModTimeTo: TXSDateTime;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property DisputeFilterType: DisputeFilterTypeCodeType read FDisputeFilterType write FDisputeFilterType;
property DisputeSortType: DisputeSortTypeCodeType read FDisputeSortType write FDisputeSortType;
property ModTimeFrom: TXSDateTime read FModTimeFrom write FModTimeFrom;
property ModTimeTo: TXSDateTime read FModTimeTo write FModTimeTo;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetUserDisputesRequest = GetUserDisputesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetVeROReportStatusRequestType = class(AbstractRequestType)
private
FVeROReportPacketID: Int64;
FItemID: ItemIDType;
FIncludeReportedItemDetails: Boolean;
FTimeFrom: TXSDateTime;
FTimeTo: TXSDateTime;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property VeROReportPacketID: Int64 read FVeROReportPacketID write FVeROReportPacketID;
property ItemID: ItemIDType read FItemID write FItemID;
property IncludeReportedItemDetails: Boolean read FIncludeReportedItemDetails write FIncludeReportedItemDetails;
property TimeFrom: TXSDateTime read FTimeFrom write FTimeFrom;
property TimeTo: TXSDateTime read FTimeTo write FTimeTo;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetVeROReportStatusRequest = GetVeROReportStatusRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetWantItNowSearchResultsRequestType = class(AbstractRequestType)
private
FCategoryID: WideString;
FQuery: WideString;
FSearchInDescription: Boolean;
FSearchWorldwide: Boolean;
FPagination: PaginationType;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property Query: WideString read FQuery write FQuery;
property SearchInDescription: Boolean read FSearchInDescription write FSearchInDescription;
property SearchWorldwide: Boolean read FSearchWorldwide write FSearchWorldwide;
property Pagination: PaginationType read FPagination write FPagination;
end;
GetWantItNowSearchResultsRequest = GetWantItNowSearchResultsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
DeleteMyMessagesRequestType = class(AbstractRequestType)
private
FAlertIDs: MyMessagesAlertIDArrayType;
FMessageIDs: MyMessagesMessageIDArrayType;
public
constructor Create; override;
published
property AlertIDs: MyMessagesAlertIDArrayType read FAlertIDs write FAlertIDs;
property MessageIDs: MyMessagesMessageIDArrayType read FMessageIDs write FMessageIDs;
end;
DeleteMyMessagesRequest = DeleteMyMessagesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyMessagesRequestType = class(AbstractRequestType)
private
FAlertIDs: MyMessagesAlertIDArrayType;
FMessageIDs: MyMessagesMessageIDArrayType;
FFolderID: Int64;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property AlertIDs: MyMessagesAlertIDArrayType read FAlertIDs write FAlertIDs;
property MessageIDs: MyMessagesMessageIDArrayType read FMessageIDs write FMessageIDs;
property FolderID: Int64 read FFolderID write FFolderID;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
end;
GetMyMessagesRequest = GetMyMessagesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseMyMessagesRequestType = class(AbstractRequestType)
private
FMessageIDs: MyMessagesMessageIDArrayType;
FAlertIDs: MyMessagesAlertIDArrayType;
FRead_: Boolean;
FFlagged: Boolean;
FFolderID: Int64;
public
constructor Create; override;
published
property MessageIDs: MyMessagesMessageIDArrayType read FMessageIDs write FMessageIDs;
property AlertIDs: MyMessagesAlertIDArrayType read FAlertIDs write FAlertIDs;
property Read_: Boolean read FRead_ write FRead_;
property Flagged: Boolean read FFlagged write FFlagged;
property FolderID: Int64 read FFolderID write FFolderID;
end;
ReviseMyMessagesRequest = ReviseMyMessagesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ApproveLiveAuctionBiddersRequestType = class(AbstractRequestType)
private
FUserCatalogID: Integer;
FBidApproval: BidApprovalArrayType;
FApproveAllPending: Boolean;
FAllApprovedBiddingLimit: AmountType;
public
constructor Create; override;
destructor Destroy; override;
published
property UserCatalogID: Integer read FUserCatalogID write FUserCatalogID;
property BidApproval: BidApprovalArrayType read FBidApproval write FBidApproval;
property ApproveAllPending: Boolean read FApproveAllPending write FApproveAllPending;
property AllApprovedBiddingLimit: AmountType read FAllApprovedBiddingLimit write FAllApprovedBiddingLimit;
end;
ApproveLiveAuctionBiddersRequest = ApproveLiveAuctionBiddersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
CompleteSaleRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FTransactionID: WideString;
FFeedbackInfo: FeedbackInfoType;
FShipped: Boolean;
FPaid: Boolean;
FListingType: ListingTypeCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property FeedbackInfo: FeedbackInfoType read FFeedbackInfo write FFeedbackInfo;
property Shipped: Boolean read FShipped write FShipped;
property Paid: Boolean read FPaid write FPaid;
property ListingType: ListingTypeCodeType read FListingType write FListingType;
end;
CompleteSaleRequest = CompleteSaleRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseCheckoutStatusRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FTransactionID: WideString;
FOrderID: WideString;
FAmountPaid: AmountType;
FPaymentMethodUsed: BuyerPaymentMethodCodeType;
FCheckoutStatus: CompleteStatusCodeType;
FShippingService: WideString;
FShippingIncludedInTax: Boolean;
FCheckoutMethod: CheckoutMethodCodeType;
FInsuranceType: InsuranceSelectedCodeType;
FPaymentStatus: RCSPaymentStatusCodeType;
FAdjustmentAmount: AmountType;
FShippingAddress: AddressType;
FBuyerID: WideString;
FShippingInsuranceCost: AmountType;
FSalesTax: AmountType;
FShippingCost: AmountType;
FEncryptedID: WideString;
FExternalTransaction: ExternalTransactionType;
FMultipleSellerPaymentID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property OrderID: WideString read FOrderID write FOrderID;
property AmountPaid: AmountType read FAmountPaid write FAmountPaid;
property PaymentMethodUsed: BuyerPaymentMethodCodeType read FPaymentMethodUsed write FPaymentMethodUsed;
property CheckoutStatus: CompleteStatusCodeType read FCheckoutStatus write FCheckoutStatus;
property ShippingService: WideString read FShippingService write FShippingService;
property ShippingIncludedInTax: Boolean read FShippingIncludedInTax write FShippingIncludedInTax;
property CheckoutMethod: CheckoutMethodCodeType read FCheckoutMethod write FCheckoutMethod;
property InsuranceType: InsuranceSelectedCodeType read FInsuranceType write FInsuranceType;
property PaymentStatus: RCSPaymentStatusCodeType read FPaymentStatus write FPaymentStatus;
property AdjustmentAmount: AmountType read FAdjustmentAmount write FAdjustmentAmount;
property ShippingAddress: AddressType read FShippingAddress write FShippingAddress;
property BuyerID: WideString read FBuyerID write FBuyerID;
property ShippingInsuranceCost: AmountType read FShippingInsuranceCost write FShippingInsuranceCost;
property SalesTax: AmountType read FSalesTax write FSalesTax;
property ShippingCost: AmountType read FShippingCost write FShippingCost;
property EncryptedID: WideString read FEncryptedID write FEncryptedID;
property ExternalTransaction: ExternalTransactionType read FExternalTransaction write FExternalTransaction;
property MultipleSellerPaymentID: WideString read FMultipleSellerPaymentID write FMultipleSellerPaymentID;
end;
ReviseCheckoutStatusRequest = ReviseCheckoutStatusRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddOrderRequestType = class(AbstractRequestType)
private
FOrder: OrderType;
public
constructor Create; override;
destructor Destroy; override;
published
property Order: OrderType read FOrder write FOrder;
end;
AddOrderRequest = AddOrderRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddMemberMessageAAQToPartnerRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FMemberMessage: MemberMessageType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property MemberMessage: MemberMessageType read FMemberMessage write FMemberMessage;
end;
AddMemberMessageAAQToPartnerRequest = AddMemberMessageAAQToPartnerRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddMemberMessageRTQRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FMemberMessage: MemberMessageType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property MemberMessage: MemberMessageType read FMemberMessage write FMemberMessage;
end;
AddMemberMessageRTQRequest = AddMemberMessageRTQRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetTaxTableRequestType = class(AbstractRequestType)
private
FTaxTable: TaxTableType;
public
constructor Create; override;
destructor Destroy; override;
published
property TaxTable: TaxTableType read FTaxTable write FTaxTable;
end;
SetTaxTableRequest = SetTaxTableRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SendInvoiceRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FTransactionID: WideString;
FOrderID: OrderIDType;
FInternationalShippingServiceOptions: InternationalShippingServiceOptionsType;
FShippingServiceOptions: ShippingServiceOptionsType;
FSalesTax: SalesTaxType;
FInsuranceOption: InsuranceOptionCodeType;
FInsuranceFee: AmountType;
FPaymentMethods: BuyerPaymentMethodCodeType;
FPayPalEmailAddress: WideString;
FCheckoutInstructions: WideString;
FEmailCopyToSeller: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property OrderID: OrderIDType read FOrderID write FOrderID;
property InternationalShippingServiceOptions: InternationalShippingServiceOptionsType read FInternationalShippingServiceOptions write FInternationalShippingServiceOptions;
property ShippingServiceOptions: ShippingServiceOptionsType read FShippingServiceOptions write FShippingServiceOptions;
property SalesTax: SalesTaxType read FSalesTax write FSalesTax;
property InsuranceOption: InsuranceOptionCodeType read FInsuranceOption write FInsuranceOption;
property InsuranceFee: AmountType read FInsuranceFee write FInsuranceFee;
property PaymentMethods: BuyerPaymentMethodCodeType read FPaymentMethods write FPaymentMethods;
property PayPalEmailAddress: WideString read FPayPalEmailAddress write FPayPalEmailAddress;
property CheckoutInstructions: WideString read FCheckoutInstructions write FCheckoutInstructions;
property EmailCopyToSeller: Boolean read FEmailCopyToSeller write FEmailCopyToSeller;
end;
SendInvoiceRequest = SendInvoiceRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetContextualKeywordsRequestType = class(AbstractRequestType)
private
FURL: WideString;
FEncoding: WideString;
FCategoryID: WideString;
public
constructor Create; override;
published
property URL: WideString read FURL write FURL;
property Encoding: WideString read FEncoding write FEncoding;
property CategoryID: WideString read FCategoryID write FCategoryID;
end;
GetContextualKeywordsRequest = GetContextualKeywordsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
VerifyAddItemRequestType = class(AbstractRequestType)
private
FItem: ItemType;
FIncludeExpressRequirements: Boolean;
FExternalProductID: ExternalProductIDType;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property IncludeExpressRequirements: Boolean read FIncludeExpressRequirements write FIncludeExpressRequirements;
property ExternalProductID: ExternalProductIDType read FExternalProductID write FExternalProductID;
end;
VerifyAddItemRequest = VerifyAddItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPromotionRulesRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FStoreCategoryID: Int64;
FPromotionMethod: PromotionMethodCodeType;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property StoreCategoryID: Int64 read FStoreCategoryID write FStoreCategoryID;
property PromotionMethod: PromotionMethodCodeType read FPromotionMethod write FPromotionMethod;
end;
GetPromotionRulesRequest = GetPromotionRulesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPromotionalSaleDetailsRequestType = class(AbstractRequestType)
private
FPromotionalSaleID: Int64;
public
constructor Create; override;
published
property PromotionalSaleID: Int64 read FPromotionalSaleID write FPromotionalSaleID;
end;
GetPromotionalSaleDetailsRequest = GetPromotionalSaleDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreRequestType = class(AbstractRequestType)
private
FCategoryStructureOnly: Boolean;
FRootCategoryID: Int64;
FLevelLimit: Integer;
FUserID: UserIDType;
public
constructor Create; override;
published
property CategoryStructureOnly: Boolean read FCategoryStructureOnly write FCategoryStructureOnly;
property RootCategoryID: Int64 read FRootCategoryID write FRootCategoryID;
property LevelLimit: Integer read FLevelLimit write FLevelLimit;
property UserID: UserIDType read FUserID write FUserID;
end;
GetStoreRequest = GetStoreRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreCategoryUpdateStatusRequestType = class(AbstractRequestType)
private
FTaskID: Int64;
public
constructor Create; override;
published
property TaskID: Int64 read FTaskID write FTaskID;
end;
GetStoreCategoryUpdateStatusRequest = GetStoreCategoryUpdateStatusRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreCustomPageRequestType = class(AbstractRequestType)
private
FPageID: Int64;
public
constructor Create; override;
published
property PageID: Int64 read FPageID write FPageID;
end;
GetStoreCustomPageRequest = GetStoreCustomPageRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetVeROReasonCodeDetailsRequestType = class(AbstractRequestType)
private
FReasonCodeID: Int64;
FReturnAllSites: Boolean;
public
constructor Create; override;
published
property ReasonCodeID: Int64 read FReasonCodeID write FReasonCodeID;
property ReturnAllSites: Boolean read FReturnAllSites write FReturnAllSites;
end;
GetVeROReasonCodeDetailsRequest = GetVeROReasonCodeDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseMyMessagesFoldersRequestType = class(AbstractRequestType)
private
FOperation: MyMessagesFolderOperationCodeType;
FFolderID: Int64;
FFolderName: WideString;
public
constructor Create; override;
published
property Operation: MyMessagesFolderOperationCodeType read FOperation write FOperation;
property FolderID: Int64 read FFolderID write FFolderID;
property FolderName: WideString read FFolderName write FFolderName;
end;
ReviseMyMessagesFoldersRequest = ReviseMyMessagesFoldersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddSecondChanceItemRequestType = class(AbstractRequestType)
private
FRecipientBidderUserID: UserIDType;
FBuyItNowPrice: AmountType;
FDuration: SecondChanceOfferDurationCodeType;
FItemID: ItemIDType;
FSellerMessage: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property RecipientBidderUserID: UserIDType read FRecipientBidderUserID write FRecipientBidderUserID;
property BuyItNowPrice: AmountType read FBuyItNowPrice write FBuyItNowPrice;
property Duration: SecondChanceOfferDurationCodeType read FDuration write FDuration;
property ItemID: ItemIDType read FItemID write FItemID;
property SellerMessage: WideString read FSellerMessage write FSellerMessage;
end;
AddSecondChanceItemRequest = AddSecondChanceItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddTransactionConfirmationItemRequestType = class(AbstractRequestType)
private
FRecipientUserID: UserIDType;
FVerifyEligibilityOnly: WideString;
FRecipientPostalCode: WideString;
FRecipientRelationType: RecipientRelationCodeType;
FNegotiatedPrice: AmountType;
FListingDuration: SecondChanceOfferDurationCodeType;
FItemID: ItemIDType;
FComments: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property RecipientUserID: UserIDType read FRecipientUserID write FRecipientUserID;
property VerifyEligibilityOnly: WideString read FVerifyEligibilityOnly write FVerifyEligibilityOnly;
property RecipientPostalCode: WideString read FRecipientPostalCode write FRecipientPostalCode;
property RecipientRelationType: RecipientRelationCodeType read FRecipientRelationType write FRecipientRelationType;
property NegotiatedPrice: AmountType read FNegotiatedPrice write FNegotiatedPrice;
property ListingDuration: SecondChanceOfferDurationCodeType read FListingDuration write FListingDuration;
property ItemID: ItemIDType read FItemID write FItemID;
property Comments: WideString read FComments write FComments;
end;
AddTransactionConfirmationItemRequest = AddTransactionConfirmationItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
IssueRefundRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FTransactionID: WideString;
FRefundReason: RefundReasonCodeType;
FRefundType: RefundTypeCodeType;
FRefundAmount: AmountType;
FRefundMessage: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property RefundReason: RefundReasonCodeType read FRefundReason write FRefundReason;
property RefundType: RefundTypeCodeType read FRefundType write FRefundType;
property RefundAmount: AmountType read FRefundAmount write FRefundAmount;
property RefundMessage: WideString read FRefundMessage write FRefundMessage;
end;
IssueRefundRequest = IssueRefundRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RespondToBestOfferRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FBestOfferID: BestOfferIDType;
FAction: BestOfferActionCodeType;
FSellerResponse: WideString;
FCounterOfferPrice: AmountType;
FCounterOfferQuantity: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property BestOfferID: BestOfferIDType read FBestOfferID write FBestOfferID;
property Action: BestOfferActionCodeType read FAction write FAction;
property SellerResponse: WideString read FSellerResponse write FSellerResponse;
property CounterOfferPrice: AmountType read FCounterOfferPrice write FCounterOfferPrice;
property CounterOfferQuantity: Integer read FCounterOfferQuantity write FCounterOfferQuantity;
end;
RespondToBestOfferRequest = RespondToBestOfferRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
VerifyAddSecondChanceItemRequestType = class(AbstractRequestType)
private
FRecipientBidderUserID: UserIDType;
FBuyItNowPrice: AmountType;
FDuration: SecondChanceOfferDurationCodeType;
FItemID: ItemIDType;
FSellerMessage: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property RecipientBidderUserID: UserIDType read FRecipientBidderUserID write FRecipientBidderUserID;
property BuyItNowPrice: AmountType read FBuyItNowPrice write FBuyItNowPrice;
property Duration: SecondChanceOfferDurationCodeType read FDuration write FDuration;
property ItemID: ItemIDType read FItemID write FItemID;
property SellerMessage: WideString read FSellerMessage write FSellerMessage;
end;
VerifyAddSecondChanceItemRequest = VerifyAddSecondChanceItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
FetchTokenRequestType = class(AbstractRequestType)
private
FSecretID: WideString;
FIncludeRESTToken: Boolean;
public
constructor Create; override;
published
property SecretID: WideString read FSecretID write FSecretID;
property IncludeRESTToken: Boolean read FIncludeRESTToken write FIncludeRESTToken;
end;
FetchTokenRequest = FetchTokenRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAdFormatLeadsRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FStatus: MessageStatusTypeCodeType;
FIncludeMemberMessages: Boolean;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Status: MessageStatusTypeCodeType read FStatus write FStatus;
property IncludeMemberMessages: Boolean read FIncludeMemberMessages write FIncludeMemberMessages;
end;
GetAdFormatLeadsRequest = GetAdFormatLeadsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAllBiddersRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FCallMode: GetAllBiddersModeCodeType;
FIncludeBiddingSummary: Boolean;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property CallMode: GetAllBiddersModeCodeType read FCallMode write FCallMode;
property IncludeBiddingSummary: Boolean read FIncludeBiddingSummary write FIncludeBiddingSummary;
end;
GetAllBiddersRequest = GetAllBiddersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAttributesCSRequestType = class(AbstractRequestType)
private
FAttributeSystemVersion: WideString;
FAttributeSetID: Integer;
FIncludeCategoryMappingDetails: Boolean;
FDigitalDelivery: Boolean;
public
constructor Create; override;
published
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property AttributeSetID: Integer read FAttributeSetID write FAttributeSetID;
property IncludeCategoryMappingDetails: Boolean read FIncludeCategoryMappingDetails write FIncludeCategoryMappingDetails;
property DigitalDelivery: Boolean read FDigitalDelivery write FDigitalDelivery;
end;
GetAttributesCSRequest = GetAttributesCSRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetBidderListRequestType = class(AbstractRequestType)
private
FActiveItemsOnly: Boolean;
FEndTimeFrom: TXSDateTime;
FEndTimeTo: TXSDateTime;
FUserID: UserIDType;
FGranularityLevel: GranularityLevelCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property ActiveItemsOnly: Boolean read FActiveItemsOnly write FActiveItemsOnly;
property EndTimeFrom: TXSDateTime read FEndTimeFrom write FEndTimeFrom;
property EndTimeTo: TXSDateTime read FEndTimeTo write FEndTimeTo;
property UserID: UserIDType read FUserID write FUserID;
property GranularityLevel: GranularityLevelCodeType read FGranularityLevel write FGranularityLevel;
end;
GetBidderListRequest = GetBidderListRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoriesRequestType = class(AbstractRequestType)
private
FCategorySiteID: WideString;
FCategoryParent: WideString;
FLevelLimit: Integer;
FViewAllNodes: Boolean;
public
constructor Create; override;
published
property CategorySiteID: WideString read FCategorySiteID write FCategorySiteID;
property CategoryParent: WideString read FCategoryParent write FCategoryParent;
property LevelLimit: Integer read FLevelLimit write FLevelLimit;
property ViewAllNodes: Boolean read FViewAllNodes write FViewAllNodes;
end;
GetCategoriesRequest = GetCategoriesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoryFeaturesRequestType = class(AbstractRequestType)
private
FCategoryID: WideString;
FLevelLimit: Integer;
FViewAllNodes: Boolean;
FFeatureID: FeatureIDCodeType;
public
constructor Create; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property LevelLimit: Integer read FLevelLimit write FLevelLimit;
property ViewAllNodes: Boolean read FViewAllNodes write FViewAllNodes;
property FeatureID: FeatureIDCodeType read FFeatureID write FFeatureID;
end;
GetCategoryFeaturesRequest = GetCategoryFeaturesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCharitiesRequestType = class(AbstractRequestType)
private
FCharityID: WideString;
FCharityName: WideString;
FQuery: WideString;
FCharityRegion: Integer;
FCharityDomain: Integer;
FIncludeDescription: Boolean;
FMatchType: StringMatchCodeType;
public
constructor Create; override;
published
property CharityID: WideString read FCharityID write FCharityID;
property CharityName: WideString read FCharityName write FCharityName;
property Query: WideString read FQuery write FQuery;
property CharityRegion: Integer read FCharityRegion write FCharityRegion;
property CharityDomain: Integer read FCharityDomain write FCharityDomain;
property IncludeDescription: Boolean read FIncludeDescription write FIncludeDescription;
property MatchType: StringMatchCodeType read FMatchType write FMatchType;
end;
GetCharitiesRequest = GetCharitiesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetDescriptionTemplatesRequestType = class(AbstractRequestType)
private
FCategoryID: WideString;
FLastModifiedTime: TXSDateTime;
FMotorVehicles: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property LastModifiedTime: TXSDateTime read FLastModifiedTime write FLastModifiedTime;
property MotorVehicles: Boolean read FMotorVehicles write FMotorVehicles;
end;
GetDescriptionTemplatesRequest = GetDescriptionTemplatesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FIncludeExpressRequirements: Boolean;
FIncludeWatchCount: Boolean;
FIncludeCrossPromotion: Boolean;
FIncludeItemSpecifics: Boolean;
FIncludeTaxTable: Boolean;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property IncludeExpressRequirements: Boolean read FIncludeExpressRequirements write FIncludeExpressRequirements;
property IncludeWatchCount: Boolean read FIncludeWatchCount write FIncludeWatchCount;
property IncludeCrossPromotion: Boolean read FIncludeCrossPromotion write FIncludeCrossPromotion;
property IncludeItemSpecifics: Boolean read FIncludeItemSpecifics write FIncludeItemSpecifics;
property IncludeTaxTable: Boolean read FIncludeTaxTable write FIncludeTaxTable;
end;
GetItemRequest = GetItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMessagePreferencesRequestType = class(AbstractRequestType)
private
FSellerID: UserIDType;
FIncludeASQPreferences: Boolean;
public
constructor Create; override;
published
property SellerID: UserIDType read FSellerID write FSellerID;
property IncludeASQPreferences: Boolean read FIncludeASQPreferences write FIncludeASQPreferences;
end;
GetMessagePreferencesRequest = GetMessagePreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerEventsRequestType = class(AbstractRequestType)
private
FUserID: UserIDType;
FStartTimeFrom: TXSDateTime;
FStartTimeTo: TXSDateTime;
FEndTimeFrom: TXSDateTime;
FEndTimeTo: TXSDateTime;
FModTimeFrom: TXSDateTime;
FModTimeTo: TXSDateTime;
FNewItemFilter: Boolean;
FIncludeWatchCount: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property UserID: UserIDType read FUserID write FUserID;
property StartTimeFrom: TXSDateTime read FStartTimeFrom write FStartTimeFrom;
property StartTimeTo: TXSDateTime read FStartTimeTo write FStartTimeTo;
property EndTimeFrom: TXSDateTime read FEndTimeFrom write FEndTimeFrom;
property EndTimeTo: TXSDateTime read FEndTimeTo write FEndTimeTo;
property ModTimeFrom: TXSDateTime read FModTimeFrom write FModTimeFrom;
property ModTimeTo: TXSDateTime read FModTimeTo write FModTimeTo;
property NewItemFilter: Boolean read FNewItemFilter write FNewItemFilter;
property IncludeWatchCount: Boolean read FIncludeWatchCount write FIncludeWatchCount;
end;
GetSellerEventsRequest = GetSellerEventsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FUserID: WideString;
FIncludeExpressRequirements: Boolean;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property UserID: WideString read FUserID write FUserID;
property IncludeExpressRequirements: Boolean read FIncludeExpressRequirements write FIncludeExpressRequirements;
end;
GetUserRequest = GetUserRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserPreferencesRequestType = class(AbstractRequestType)
private
FShowBidderNoticePreferences: Boolean;
FShowCombinedPaymentPreferences: Boolean;
FShowCrossPromotionPreferences: Boolean;
FShowSellerPaymentPreferences: Boolean;
FShowEndOfAuctionEmailPreferences: Boolean;
FShowSellerFavoriteItemPreferences: Boolean;
FShowProStoresPreferences: Boolean;
public
constructor Create; override;
published
property ShowBidderNoticePreferences: Boolean read FShowBidderNoticePreferences write FShowBidderNoticePreferences;
property ShowCombinedPaymentPreferences: Boolean read FShowCombinedPaymentPreferences write FShowCombinedPaymentPreferences;
property ShowCrossPromotionPreferences: Boolean read FShowCrossPromotionPreferences write FShowCrossPromotionPreferences;
property ShowSellerPaymentPreferences: Boolean read FShowSellerPaymentPreferences write FShowSellerPaymentPreferences;
property ShowEndOfAuctionEmailPreferences: Boolean read FShowEndOfAuctionEmailPreferences write FShowEndOfAuctionEmailPreferences;
property ShowSellerFavoriteItemPreferences: Boolean read FShowSellerFavoriteItemPreferences write FShowSellerFavoriteItemPreferences;
property ShowProStoresPreferences: Boolean read FShowProStoresPreferences write FShowProStoresPreferences;
end;
GetUserPreferencesRequest = GetUserPreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RemoveFromWatchListRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FRemoveAllItems: Boolean;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property RemoveAllItems: Boolean read FRemoveAllItems write FRemoveAllItems;
end;
RemoveFromWatchListRequest = RemoveFromWatchListRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ValidateChallengeInputRequestType = class(AbstractRequestType)
private
FChallengeToken: WideString;
FUserInput: WideString;
FKeepTokenValid: Boolean;
public
constructor Create; override;
published
property ChallengeToken: WideString read FChallengeToken write FChallengeToken;
property UserInput: WideString read FUserInput write FUserInput;
property KeepTokenValid: Boolean read FKeepTokenValid write FKeepTokenValid;
end;
ValidateChallengeInputRequest = ValidateChallengeInputRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ValidateTestUserRegistrationRequestType = class(AbstractRequestType)
private
FFeedbackScore: Integer;
FRegistrationDate: TXSDateTime;
FSubscribeSA: Boolean;
FSubscribeSAPro: Boolean;
FSubscribeSM: Boolean;
FSubscribeSMPro: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property FeedbackScore: Integer read FFeedbackScore write FFeedbackScore;
property RegistrationDate: TXSDateTime read FRegistrationDate write FRegistrationDate;
property SubscribeSA: Boolean read FSubscribeSA write FSubscribeSA;
property SubscribeSAPro: Boolean read FSubscribeSAPro write FSubscribeSAPro;
property SubscribeSM: Boolean read FSubscribeSM write FSubscribeSM;
property SubscribeSMPro: Boolean read FSubscribeSMPro write FSubscribeSMPro;
end;
ValidateTestUserRegistrationRequest = ValidateTestUserRegistrationRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddItemRequestType = class(AbstractRequestType)
private
FItem: ItemType;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
end;
AddItemRequest = AddItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddLiveAuctionItemRequestType = class(AbstractRequestType)
private
FItem: ItemType;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
end;
AddLiveAuctionItemRequest = AddLiveAuctionItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RelistItemRequestType = class(AbstractRequestType)
private
FItem: ItemType;
FDeletedField: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property DeletedField: WideString read FDeletedField write FDeletedField;
end;
RelistItemRequest = RelistItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseItemRequestType = class(AbstractRequestType)
private
FItem: ItemType;
FDeletedField: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property DeletedField: WideString read FDeletedField write FDeletedField;
end;
ReviseItemRequest = ReviseItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseLiveAuctionItemRequestType = class(AbstractRequestType)
private
FItem: ItemType;
FDeletedField: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
property DeletedField: WideString read FDeletedField write FDeletedField;
end;
ReviseLiveAuctionItemRequest = ReviseLiveAuctionItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddDisputeResponseRequestType = class(AbstractRequestType)
private
FDisputeID: DisputeIDType;
FMessageText: WideString;
FDisputeActivity: DisputeActivityCodeType;
FShippingCarrierUsed: WideString;
FShipmentTrackNumber: WideString;
FShippingTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property DisputeID: DisputeIDType read FDisputeID write FDisputeID;
property MessageText: WideString read FMessageText write FMessageText;
property DisputeActivity: DisputeActivityCodeType read FDisputeActivity write FDisputeActivity;
property ShippingCarrierUsed: WideString read FShippingCarrierUsed write FShippingCarrierUsed;
property ShipmentTrackNumber: WideString read FShipmentTrackNumber write FShipmentTrackNumber;
property ShippingTime: TXSDateTime read FShippingTime write FShippingTime;
end;
AddDisputeResponseRequest = AddDisputeResponseRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategorySpecificsRequestType = class(AbstractRequestType)
private
FCategoryID: WideString;
FLastUpdateTime: TXSDateTime;
FMaxNames: Integer;
FMaxValuesPerName: Integer;
FName_: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property LastUpdateTime: TXSDateTime read FLastUpdateTime write FLastUpdateTime;
property MaxNames: Integer read FMaxNames write FMaxNames;
property MaxValuesPerName: Integer read FMaxValuesPerName write FMaxValuesPerName;
property Name_: WideString read FName_ write FName_;
end;
GetCategorySpecificsRequest = GetCategorySpecificsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetNotificationsUsageRequestType = class(AbstractRequestType)
private
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
FItemID: ItemIDType;
public
constructor Create; override;
destructor Destroy; override;
published
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
property ItemID: ItemIDType read FItemID write FItemID;
end;
GetNotificationsUsageRequest = GetNotificationsUsageRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddDisputeRequestType = class(AbstractRequestType)
private
FDisputeExplanation: DisputeExplanationCodeType;
FDisputeReason: DisputeReasonCodeType;
FItemID: ItemIDType;
FTransactionID: WideString;
public
constructor Create; override;
published
property DisputeExplanation: DisputeExplanationCodeType read FDisputeExplanation write FDisputeExplanation;
property DisputeReason: DisputeReasonCodeType read FDisputeReason write FDisputeReason;
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
end;
AddDisputeRequest = AddDisputeRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddToItemDescriptionRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FDescription: WideString;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Description: WideString read FDescription write FDescription;
end;
AddToItemDescriptionRequest = AddToItemDescriptionRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
EndItemRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FEndingReason: EndReasonCodeType;
FSellerInventoryID: WideString;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property EndingReason: EndReasonCodeType read FEndingReason write FEndingReason;
property SellerInventoryID: WideString read FSellerInventoryID write FSellerInventoryID;
end;
EndItemRequest = EndItemRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetApiAccessRulesRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetApiAccessRulesRequest = GetApiAccessRulesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAttributesXSLRequestType = class(AbstractRequestType)
private
FFileName: WideString;
FFileVersion: WideString;
public
constructor Create; override;
published
property FileName: WideString read FFileName write FFileName;
property FileVersion: WideString read FFileVersion write FFileVersion;
end;
GetAttributesXSLRequest = GetAttributesXSLRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetBestOffersRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FBestOfferID: BestOfferIDType;
FBestOfferStatus: BestOfferStatusCodeType;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property BestOfferID: BestOfferIDType read FBestOfferID write FBestOfferID;
property BestOfferStatus: BestOfferStatusCodeType read FBestOfferStatus write FBestOfferStatus;
end;
GetBestOffersRequest = GetBestOffersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategory2CSRequestType = class(AbstractRequestType)
private
FCategoryID: WideString;
FAttributeSystemVersion: WideString;
public
constructor Create; override;
published
property CategoryID: WideString read FCategoryID write FCategoryID;
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
end;
GetCategory2CSRequest = GetCategory2CSRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoryMappingsRequestType = class(AbstractRequestType)
private
FCategoryVersion: WideString;
public
constructor Create; override;
published
property CategoryVersion: WideString read FCategoryVersion write FCategoryVersion;
end;
GetCategoryMappingsRequest = GetCategoryMappingsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetChallengeTokenRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetChallengeTokenRequest = GetChallengeTokenRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCrossPromotionsRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FPromotionMethod: PromotionMethodCodeType;
FPromotionViewMode: TradingRoleCodeType;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property PromotionMethod: PromotionMethodCodeType read FPromotionMethod write FPromotionMethod;
property PromotionViewMode: TradingRoleCodeType read FPromotionViewMode write FPromotionViewMode;
end;
GetCrossPromotionsRequest = GetCrossPromotionsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetDisputeRequestType = class(AbstractRequestType)
private
FDisputeID: DisputeIDType;
public
constructor Create; override;
published
property DisputeID: DisputeIDType read FDisputeID write FDisputeID;
end;
GetDisputeRequest = GetDisputeRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetHighBiddersRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
end;
GetHighBiddersRequest = GetHighBiddersRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemShippingRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FQuantitySold: Integer;
FDestinationPostalCode: WideString;
FDestinationCountryCode: CountryCodeType;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property QuantitySold: Integer read FQuantitySold write FQuantitySold;
property DestinationPostalCode: WideString read FDestinationPostalCode write FDestinationPostalCode;
property DestinationCountryCode: CountryCodeType read FDestinationCountryCode write FDestinationCountryCode;
end;
GetItemShippingRequest = GetItemShippingRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetLiveAuctionCatalogDetailsRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetLiveAuctionCatalogDetailsRequest = GetLiveAuctionCatalogDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetNotificationPreferencesRequestType = class(AbstractRequestType)
private
FPreferenceLevel: NotificationRoleCodeType;
public
constructor Create; override;
published
property PreferenceLevel: NotificationRoleCodeType read FPreferenceLevel write FPreferenceLevel;
end;
GetNotificationPreferencesRequest = GetNotificationPreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPictureManagerDetailsRequestType = class(AbstractRequestType)
private
FFolderID: Integer;
FPictureURL: WideString;
FPictureManagerDetailLevel: PictureManagerDetailLevelCodeType;
public
constructor Create; override;
published
property FolderID: Integer read FFolderID write FFolderID;
property PictureURL: WideString read FPictureURL write FPictureURL;
property PictureManagerDetailLevel: PictureManagerDetailLevelCodeType read FPictureManagerDetailLevel write FPictureManagerDetailLevel;
end;
GetPictureManagerDetailsRequest = GetPictureManagerDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPictureManagerOptionsRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetPictureManagerOptionsRequest = GetPictureManagerOptionsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductFinderRequestType = class(AbstractRequestType)
private
FAttributeSystemVersion: WideString;
FProductFinderID: Integer;
public
constructor Create; override;
published
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property ProductFinderID: Integer read FProductFinderID write FProductFinderID;
end;
GetProductFinderRequest = GetProductFinderRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductFinderXSLRequestType = class(AbstractRequestType)
private
FFileName: WideString;
FFileVersion: WideString;
public
constructor Create; override;
published
property FileName: WideString read FFileName write FFileName;
property FileVersion: WideString read FFileVersion write FFileVersion;
end;
GetProductFinderXSLRequest = GetProductFinderXSLRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductSearchPageRequestType = class(AbstractRequestType)
private
FAttributeSystemVersion: WideString;
FAttributeSetID: Integer;
public
constructor Create; override;
published
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property AttributeSetID: Integer read FAttributeSetID write FAttributeSetID;
end;
GetProductSearchPageRequest = GetProductSearchPageRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetReturnURLRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetReturnURLRequest = GetReturnURLRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetRuNameRequestType = class(AbstractRequestType)
private
FClientUseCase: WideString;
public
constructor Create; override;
published
property ClientUseCase: WideString read FClientUseCase write FClientUseCase;
end;
GetRuNameRequest = GetRuNameRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetShippingDiscountProfilesRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetShippingDiscountProfilesRequest = GetShippingDiscountProfilesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreOptionsRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetStoreOptionsRequest = GetStoreOptionsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStorePreferencesRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetStorePreferencesRequest = GetStorePreferencesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSuggestedCategoriesRequestType = class(AbstractRequestType)
private
FQuery: WideString;
public
constructor Create; override;
published
property Query: WideString read FQuery write FQuery;
end;
GetSuggestedCategoriesRequest = GetSuggestedCategoriesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetTaxTableRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GetTaxTableRequest = GetTaxTableRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserContactDetailsRequestType = class(AbstractRequestType)
private
FItemID: WideString;
FContactID: WideString;
FRequesterID: WideString;
public
constructor Create; override;
published
property ItemID: WideString read FItemID write FItemID;
property ContactID: WideString read FContactID write FContactID;
property RequesterID: WideString read FRequesterID write FRequesterID;
end;
GetUserContactDetailsRequest = GetUserContactDetailsRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetWantItNowPostRequestType = class(AbstractRequestType)
private
FPostID: ItemIDType;
public
constructor Create; override;
published
property PostID: ItemIDType read FPostID write FPostID;
end;
GetWantItNowPostRequest = GetWantItNowPostRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GeteBayOfficialTimeRequestType = class(AbstractRequestType)
private
public
constructor Create; override;
published
end;
GeteBayOfficialTimeRequest = GeteBayOfficialTimeRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RespondToFeedbackRequestType = class(AbstractRequestType)
private
FFeedbackID: WideString;
FItemID: ItemIDType;
FTransactionID: WideString;
FTargetUserID: UserIDType;
FResponseType: FeedbackResponseCodeType;
FResponseText: WideString;
public
constructor Create; override;
published
property FeedbackID: WideString read FFeedbackID write FFeedbackID;
property ItemID: ItemIDType read FItemID write FItemID;
property TransactionID: WideString read FTransactionID write FTransactionID;
property TargetUserID: UserIDType read FTargetUserID write FTargetUserID;
property ResponseType: FeedbackResponseCodeType read FResponseType write FResponseType;
property ResponseText: WideString read FResponseText write FResponseText;
end;
RespondToFeedbackRequest = RespondToFeedbackRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RespondToWantItNowPostRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FPostID: ItemIDType;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property PostID: ItemIDType read FPostID write FPostID;
end;
RespondToWantItNowPostRequest = RespondToWantItNowPostRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SellerReverseDisputeRequestType = class(AbstractRequestType)
private
FDisputeID: DisputeIDType;
FDisputeResolutionReason: DisputeResolutionReasonCodeType;
public
constructor Create; override;
published
property DisputeID: DisputeIDType read FDisputeID write FDisputeID;
property DisputeResolutionReason: DisputeResolutionReasonCodeType read FDisputeResolutionReason write FDisputeResolutionReason;
end;
SellerReverseDisputeRequest = SellerReverseDisputeRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetUserNotesRequestType = class(AbstractRequestType)
private
FItemID: ItemIDType;
FAction: SetUserNotesActionCodeType;
FNoteText: WideString;
FTransactionID: WideString;
public
constructor Create; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Action: SetUserNotesActionCodeType read FAction write FAction;
property NoteText: WideString read FNoteText write FNoteText;
property TransactionID: WideString read FTransactionID write FTransactionID;
end;
SetUserNotesRequest = SetUserNotesRequestType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
DuplicateInvocationDetailsType = class(TRemotable)
private
FDuplicateInvocationID: UUIDType;
FStatus: InvocationStatusType;
FInvocationTrackingID: WideString;
published
property DuplicateInvocationID: UUIDType read FDuplicateInvocationID write FDuplicateInvocationID;
property Status: InvocationStatusType read FStatus write FStatus;
property InvocationTrackingID: WideString read FInvocationTrackingID write FInvocationTrackingID;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
BotBlockResponseType = class(TRemotable)
private
FBotBlockToken: WideString;
FBotBlockUrl: WideString;
FBotBlockAudioUrl: WideString;
published
property BotBlockToken: WideString read FBotBlockToken write FBotBlockToken;
property BotBlockUrl: WideString read FBotBlockUrl write FBotBlockUrl;
property BotBlockAudioUrl: WideString read FBotBlockAudioUrl write FBotBlockAudioUrl;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ErrorParameterType = class(TRemotable)
private
FValue: WideString;
FParamID: WideString;
published
property Value: WideString read FValue write FValue;
property ParamID: WideString read FParamID write FParamID stored AS_ATTRIBUTE;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
ErrorType = class(TRemotable)
private
FShortMessage: WideString;
FLongMessage: WideString;
FErrorCode: WideString;
FUserDisplayHint: Boolean;
FSeverityCode: SeverityCodeType;
FErrorParameters: ErrorParameterType;
FErrorClassification: ErrorClassificationCodeType;
public
destructor Destroy; override;
published
property ShortMessage: WideString read FShortMessage write FShortMessage;
property LongMessage: WideString read FLongMessage write FLongMessage;
property ErrorCode: WideString read FErrorCode write FErrorCode;
property UserDisplayHint: Boolean read FUserDisplayHint write FUserDisplayHint;
property SeverityCode: SeverityCodeType read FSeverityCode write FSeverityCode;
property ErrorParameters: ErrorParameterType read FErrorParameters write FErrorParameters;
property ErrorClassification: ErrorClassificationCodeType read FErrorClassification write FErrorClassification;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// ************************************************************************ //
AbstractResponseType = class(TRemotable)
private
FTimestamp: TXSDateTime;
FAck: AckCodeType;
FCorrelationID: WideString;
FErrors: ErrorType;
FMessage_: WideString;
FVersion: WideString;
FBuild: WideString;
FNotificationEventName: WideString;
FDuplicateInvocationDetails: DuplicateInvocationDetailsType;
FRecipientUserID: WideString;
FEIASToken: WideString;
FNotificationSignature: WideString;
FHardExpirationWarning: WideString;
FBotBlock: BotBlockResponseType;
public
destructor Destroy; override;
published
property Timestamp: TXSDateTime read FTimestamp write FTimestamp;
property Ack: AckCodeType read FAck write FAck;
property CorrelationID: WideString read FCorrelationID write FCorrelationID;
property Errors: ErrorType read FErrors write FErrors;
property Message_: WideString read FMessage_ write FMessage_;
property Version: WideString read FVersion write FVersion;
property Build: WideString read FBuild write FBuild;
property NotificationEventName: WideString read FNotificationEventName write FNotificationEventName;
property DuplicateInvocationDetails: DuplicateInvocationDetailsType read FDuplicateInvocationDetails write FDuplicateInvocationDetails;
property RecipientUserID: WideString read FRecipientUserID write FRecipientUserID;
property EIASToken: WideString read FEIASToken write FEIASToken;
property NotificationSignature: WideString read FNotificationSignature write FNotificationSignature;
property HardExpirationWarning: WideString read FHardExpirationWarning write FHardExpirationWarning;
property BotBlock: BotBlockResponseType read FBotBlock write FBotBlock;
end;
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ValidateTestUserRegistrationResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
ValidateTestUserRegistrationResponse = ValidateTestUserRegistrationResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetUserPreferencesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetUserPreferencesResponse = SetUserPreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetUserNotesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetUserNotesResponse = SetUserNotesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetTaxTableResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetTaxTableResponse = SetTaxTableResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStorePreferencesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetStorePreferencesResponse = SetStorePreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStoreResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetStoreResponse = SetStoreResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetShippingDiscountProfilesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetShippingDiscountProfilesResponse = SetShippingDiscountProfilesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetReturnURLResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetReturnURLResponse = SetReturnURLResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetPromotionalSaleListingsResponseType = class(AbstractResponseType)
private
FStatus: PromotionalSaleStatusCodeType;
public
constructor Create; override;
published
property Status: PromotionalSaleStatusCodeType read FStatus write FStatus;
end;
SetPromotionalSaleListingsResponse = SetPromotionalSaleListingsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetPictureManagerDetailsResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetPictureManagerDetailsResponse = SetPictureManagerDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetNotificationPreferencesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetNotificationPreferencesResponse = SetNotificationPreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetMessagePreferencesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SetMessagePreferencesResponse = SetMessagePreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SendInvoiceResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SendInvoiceResponse = SendInvoiceResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SellerReverseDisputeResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
SellerReverseDisputeResponse = SellerReverseDisputeResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseMyMessagesFoldersResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
ReviseMyMessagesFoldersResponse = ReviseMyMessagesFoldersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseMyMessagesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
ReviseMyMessagesResponse = ReviseMyMessagesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseCheckoutStatusResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
ReviseCheckoutStatusResponse = ReviseCheckoutStatusResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RespondToWantItNowPostResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
RespondToWantItNowPostResponse = RespondToWantItNowPostResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RespondToFeedbackResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
RespondToFeedbackResponse = RespondToFeedbackResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RemoveFromWatchListResponseType = class(AbstractResponseType)
private
FWatchListCount: Integer;
FWatchListMaximum: Integer;
public
constructor Create; override;
published
property WatchListCount: Integer read FWatchListCount write FWatchListCount;
property WatchListMaximum: Integer read FWatchListMaximum write FWatchListMaximum;
end;
RemoveFromWatchListResponse = RemoveFromWatchListResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
LeaveFeedbackResponseType = class(AbstractResponseType)
private
FFeedbackID: WideString;
public
constructor Create; override;
published
property FeedbackID: WideString read FFeedbackID write FFeedbackID;
end;
LeaveFeedbackResponse = LeaveFeedbackResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GeteBayOfficialTimeResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
GeteBayOfficialTimeResponse = GeteBayOfficialTimeResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreCategoryUpdateStatusResponseType = class(AbstractResponseType)
private
FStatus: TaskStatusCodeType;
public
constructor Create; override;
published
property Status: TaskStatusCodeType read FStatus write FStatus;
end;
GetStoreCategoryUpdateStatusResponse = GetStoreCategoryUpdateStatusResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetRuNameResponseType = class(AbstractResponseType)
private
FRuName: WideString;
public
constructor Create; override;
published
property RuName: WideString read FRuName write FRuName;
end;
GetRuNameResponse = GetRuNameResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductSellingPagesResponseType = class(AbstractResponseType)
private
FProductSellingPagesData: WideString;
public
constructor Create; override;
published
property ProductSellingPagesData: WideString read FProductSellingPagesData write FProductSellingPagesData;
end;
GetProductSellingPagesResponse = GetProductSellingPagesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductFinderResponseType = class(AbstractResponseType)
private
FAttributeSystemVersion: WideString;
FProductFinderData: WideString;
public
constructor Create; override;
published
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property ProductFinderData: WideString read FProductFinderData write FProductFinderData;
end;
GetProductFinderResponse = GetProductFinderResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetChallengeTokenResponseType = class(AbstractResponseType)
private
FChallengeToken: WideString;
FImageChallengeURL: WideString;
FAudioChallengeURL: WideString;
public
constructor Create; override;
published
property ChallengeToken: WideString read FChallengeToken write FChallengeToken;
property ImageChallengeURL: WideString read FImageChallengeURL write FImageChallengeURL;
property AudioChallengeURL: WideString read FAudioChallengeURL write FAudioChallengeURL;
end;
GetChallengeTokenResponse = GetChallengeTokenResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAttributesCSResponseType = class(AbstractResponseType)
private
FAttributeSystemVersion: WideString;
FAttributeData: WideString;
public
constructor Create; override;
published
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property AttributeData: WideString read FAttributeData write FAttributeData;
end;
GetAttributesCSResponse = GetAttributesCSResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
DeleteMyMessagesResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
DeleteMyMessagesResponse = DeleteMyMessagesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
CompleteSaleResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
CompleteSaleResponse = CompleteSaleResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddToWatchListResponseType = class(AbstractResponseType)
private
FWatchListCount: Integer;
FWatchListMaximum: Integer;
public
constructor Create; override;
published
property WatchListCount: Integer read FWatchListCount write FWatchListCount;
property WatchListMaximum: Integer read FWatchListMaximum write FWatchListMaximum;
end;
AddToWatchListResponse = AddToWatchListResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddToItemDescriptionResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
AddToItemDescriptionResponse = AddToItemDescriptionResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddMemberMessageRTQResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
AddMemberMessageRTQResponse = AddMemberMessageRTQResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddMemberMessageAAQToPartnerResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
AddMemberMessageAAQToPartnerResponse = AddMemberMessageAAQToPartnerResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddDisputeResponseResponseType = class(AbstractResponseType)
private
public
constructor Create; override;
published
end;
AddDisputeResponseResponse = AddDisputeResponseResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddDisputeResponseType = class(AbstractResponseType)
private
FDisputeID: DisputeIDType;
public
constructor Create; override;
published
property DisputeID: DisputeIDType read FDisputeID write FDisputeID;
end;
AddDisputeResponse = AddDisputeResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
VerifyAddSecondChanceItemResponseType = class(AbstractResponseType)
private
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
end;
VerifyAddSecondChanceItemResponse = VerifyAddSecondChanceItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
FetchTokenResponseType = class(AbstractResponseType)
private
FeBayAuthToken: WideString;
FHardExpirationTime: TXSDateTime;
FRESTToken: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property eBayAuthToken: WideString read FeBayAuthToken write FeBayAuthToken;
property HardExpirationTime: TXSDateTime read FHardExpirationTime write FHardExpirationTime;
property RESTToken: WideString read FRESTToken write FRESTToken;
end;
FetchTokenResponse = FetchTokenResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
EndItemResponseType = class(AbstractResponseType)
private
FEndTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property EndTime: TXSDateTime read FEndTime write FEndTime;
end;
EndItemResponse = EndItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddTransactionConfirmationItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
end;
AddTransactionConfirmationItemResponse = AddTransactionConfirmationItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddSecondChanceItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
end;
AddSecondChanceItemResponse = AddSecondChanceItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddOrderResponseType = class(AbstractResponseType)
private
FOrderID: OrderIDType;
FCreatedTime: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property OrderID: OrderIDType read FOrderID write FOrderID;
property CreatedTime: TXSDateTime read FCreatedTime write FCreatedTime;
end;
AddOrderResponse = AddOrderResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemResponseType = class(AbstractResponseType)
private
FItem: ItemType;
public
constructor Create; override;
destructor Destroy; override;
published
property Item: ItemType read FItem write FItem;
end;
GetItemResponse = GetItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ValidateChallengeInputResponseType = class(AbstractResponseType)
private
FValidToken: Boolean;
public
constructor Create; override;
published
property ValidToken: Boolean read FValidToken write FValidToken;
end;
ValidateChallengeInputResponse = ValidateChallengeInputResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
IssueRefundResponseType = class(AbstractResponseType)
private
FRefundFromSeller: AmountType;
FTotalRefundToBuyer: AmountType;
public
constructor Create; override;
destructor Destroy; override;
published
property RefundFromSeller: AmountType read FRefundFromSeller write FRefundFromSeller;
property TotalRefundToBuyer: AmountType read FTotalRefundToBuyer write FTotalRefundToBuyer;
end;
IssueRefundResponse = IssueRefundResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCrossPromotionsResponseType = class(AbstractResponseType)
private
FCrossPromotion: CrossPromotionsType;
public
constructor Create; override;
destructor Destroy; override;
published
property CrossPromotion: CrossPromotionsType read FCrossPromotion write FCrossPromotion;
end;
GetCrossPromotionsResponse = GetCrossPromotionsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserResponseType = class(AbstractResponseType)
private
FUser: UserType;
public
constructor Create; override;
destructor Destroy; override;
published
property User: UserType read FUser write FUser;
end;
GetUserResponse = GetUserResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemShippingResponseType = class(AbstractResponseType)
private
FShippingDetails: ShippingDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property ShippingDetails: ShippingDetailsType read FShippingDetails write FShippingDetails;
end;
GetItemShippingResponse = GetItemShippingResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
VeROReportItemsResponseType = class(AbstractResponseType)
private
FVeROReportPacketID: Int64;
FVeROReportPacketStatus: VeROReportPacketStatusCodeType;
public
constructor Create; override;
published
property VeROReportPacketID: Int64 read FVeROReportPacketID write FVeROReportPacketID;
property VeROReportPacketStatus: VeROReportPacketStatusCodeType read FVeROReportPacketStatus write FVeROReportPacketStatus;
end;
VeROReportItemsResponse = VeROReportItemsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStoreCategoriesResponseType = class(AbstractResponseType)
private
FTaskID: Int64;
FStatus: TaskStatusCodeType;
public
constructor Create; override;
published
property TaskID: Int64 read FTaskID write FTaskID;
property Status: TaskStatusCodeType read FStatus write FStatus;
end;
SetStoreCategoriesResponse = SetStoreCategoriesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetPromotionalSaleResponseType = class(AbstractResponseType)
private
FStatus: PromotionalSaleStatusCodeType;
FPromotionalSaleID: Int64;
public
constructor Create; override;
published
property Status: PromotionalSaleStatusCodeType read FStatus write FStatus;
property PromotionalSaleID: Int64 read FPromotionalSaleID write FPromotionalSaleID;
end;
SetPromotionalSaleResponse = SetPromotionalSaleResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserContactDetailsResponseType = class(AbstractResponseType)
private
FUserID: WideString;
FContactAddress: AddressType;
FRegistrationDate: TXSDateTime;
public
constructor Create; override;
destructor Destroy; override;
published
property UserID: WideString read FUserID write FUserID;
property ContactAddress: AddressType read FContactAddress write FContactAddress;
property RegistrationDate: TXSDateTime read FRegistrationDate write FRegistrationDate;
end;
GetUserContactDetailsResponse = GetUserContactDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetTaxTableResponseType = class(AbstractResponseType)
private
FLastUpdateTime: TXSDateTime;
FTaxTable: TaxTableType;
public
constructor Create; override;
destructor Destroy; override;
published
property LastUpdateTime: TXSDateTime read FLastUpdateTime write FLastUpdateTime;
property TaxTable: TaxTableType read FTaxTable write FTaxTable;
end;
GetTaxTableResponse = GetTaxTableResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
VerifyAddItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FFees: FeesType;
FExpressListing: Boolean;
FExpressItemRequirements: ExpressItemRequirementsType;
FCategoryID: WideString;
FCategory2ID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Fees: FeesType read FFees write FFees;
property ExpressListing: Boolean read FExpressListing write FExpressListing;
property ExpressItemRequirements: ExpressItemRequirementsType read FExpressItemRequirements write FExpressItemRequirements;
property CategoryID: WideString read FCategoryID write FCategoryID;
property Category2ID: WideString read FCategory2ID write FCategory2ID;
end;
VerifyAddItemResponse = VerifyAddItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseLiveAuctionItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FFees: FeesType;
FCategoryID: WideString;
FCategory2ID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Fees: FeesType read FFees write FFees;
property CategoryID: WideString read FCategoryID write FCategoryID;
property Category2ID: WideString read FCategory2ID write FCategory2ID;
end;
ReviseLiveAuctionItemResponse = ReviseLiveAuctionItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ReviseItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
FFees: FeesType;
FCategoryID: WideString;
FCategory2ID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
property Fees: FeesType read FFees write FFees;
property CategoryID: WideString read FCategoryID write FCategoryID;
property Category2ID: WideString read FCategory2ID write FCategory2ID;
end;
ReviseItemResponse = ReviseItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RelistItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FFees: FeesType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
FCategoryID: WideString;
FCategory2ID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Fees: FeesType read FFees write FFees;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
property CategoryID: WideString read FCategoryID write FCategoryID;
property Category2ID: WideString read FCategory2ID write FCategory2ID;
end;
RelistItemResponse = RelistItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddLiveAuctionItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FFees: FeesType;
FCategoryID: WideString;
FCategory2ID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property Fees: FeesType read FFees write FFees;
property CategoryID: WideString read FCategoryID write FCategoryID;
property Category2ID: WideString read FCategory2ID write FCategory2ID;
end;
AddLiveAuctionItemResponse = AddLiveAuctionItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
AddItemResponseType = class(AbstractResponseType)
private
FItemID: ItemIDType;
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
FFees: FeesType;
FCategoryID: WideString;
FCategory2ID: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemID: ItemIDType read FItemID write FItemID;
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
property Fees: FeesType read FFees write FFees;
property CategoryID: WideString read FCategoryID write FCategoryID;
property Category2ID: WideString read FCategory2ID write FCategory2ID;
end;
AddItemResponse = AddItemResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
ApproveLiveAuctionBiddersResponseType = class(AbstractResponseType)
private
FBidderUpdateStatus: LiveAuctionApprovalStatusArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property BidderUpdateStatus: LiveAuctionApprovalStatusArrayType read FBidderUpdateStatus write FBidderUpdateStatus;
end;
ApproveLiveAuctionBiddersResponse = ApproveLiveAuctionBiddersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerTransactionsResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FHasMoreTransactions: Boolean;
FTransactionsPerPage: Integer;
FPageNumber: Integer;
FReturnedTransactionCountActual: Integer;
FSeller: UserType;
FTransactionArray: TransactionArrayType;
FPayPalPreferred: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreTransactions: Boolean read FHasMoreTransactions write FHasMoreTransactions;
property TransactionsPerPage: Integer read FTransactionsPerPage write FTransactionsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property ReturnedTransactionCountActual: Integer read FReturnedTransactionCountActual write FReturnedTransactionCountActual;
property Seller: UserType read FSeller write FSeller;
property TransactionArray: TransactionArrayType read FTransactionArray write FTransactionArray;
property PayPalPreferred: Boolean read FPayPalPreferred write FPayPalPreferred;
end;
GetSellerTransactionsResponse = GetSellerTransactionsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemTransactionsResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FHasMoreTransactions: Boolean;
FTransactionsPerPage: Integer;
FPageNumber: Integer;
FReturnedTransactionCountActual: Integer;
FItem: ItemType;
FTransactionArray: TransactionArrayType;
FPayPalPreferred: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreTransactions: Boolean read FHasMoreTransactions write FHasMoreTransactions;
property TransactionsPerPage: Integer read FTransactionsPerPage write FTransactionsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property ReturnedTransactionCountActual: Integer read FReturnedTransactionCountActual write FReturnedTransactionCountActual;
property Item: ItemType read FItem write FItem;
property TransactionArray: TransactionArrayType read FTransactionArray write FTransactionArray;
property PayPalPreferred: Boolean read FPayPalPreferred write FPayPalPreferred;
end;
GetItemTransactionsResponse = GetItemTransactionsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAccountResponseType = class(AbstractResponseType)
private
FAccountID: WideString;
FAccountSummary: AccountSummaryType;
FCurrency: CurrencyCodeType;
FAccountEntries: AccountEntriesType;
FPaginationResult: PaginationResultType;
FHasMoreEntries: Boolean;
FEntriesPerPage: Integer;
FPageNumber: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property AccountID: WideString read FAccountID write FAccountID;
property AccountSummary: AccountSummaryType read FAccountSummary write FAccountSummary;
property Currency: CurrencyCodeType read FCurrency write FCurrency;
property AccountEntries: AccountEntriesType read FAccountEntries write FAccountEntries;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreEntries: Boolean read FHasMoreEntries write FHasMoreEntries;
property EntriesPerPage: Integer read FEntriesPerPage write FEntriesPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
end;
GetAccountResponse = GetAccountResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAdFormatLeadsResponseType = class(AbstractResponseType)
private
FAdFormatLead: AdFormatLeadType;
FAdFormatLeadCount: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property AdFormatLead: AdFormatLeadType read FAdFormatLead write FAdFormatLead;
property AdFormatLeadCount: Integer read FAdFormatLeadCount write FAdFormatLeadCount;
end;
GetAdFormatLeadsResponse = GetAdFormatLeadsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMemberMessagesResponseType = class(AbstractResponseType)
private
FMemberMessage: MemberMessageExchangeArrayType;
FPaginationResult: PaginationResultType;
FHasMoreItems: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property MemberMessage: MemberMessageExchangeArrayType read FMemberMessage write FMemberMessage;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreItems: Boolean read FHasMoreItems write FHasMoreItems;
end;
GetMemberMessagesResponse = GetMemberMessagesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetHighBiddersResponseType = class(AbstractResponseType)
private
FBidArray: OfferArrayType;
FListingStatus: ListingStatusCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property BidArray: OfferArrayType read FBidArray write FBidArray;
property ListingStatus: ListingStatusCodeType read FListingStatus write FListingStatus;
end;
GetHighBiddersResponse = GetHighBiddersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetAllBiddersResponseType = class(AbstractResponseType)
private
FBidArray: OfferArrayType;
FHighBidder: UserIDType;
FHighestBid: AmountType;
FListingStatus: ListingStatusCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property BidArray: OfferArrayType read FBidArray write FBidArray;
property HighBidder: UserIDType read FHighBidder write FHighBidder;
property HighestBid: AmountType read FHighestBid write FHighestBid;
property ListingStatus: ListingStatusCodeType read FListingStatus write FListingStatus;
end;
GetAllBiddersResponse = GetAllBiddersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
RespondToBestOfferResponseType = class(AbstractResponseType)
private
FRespondToBestOffer: BestOfferArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property RespondToBestOffer: BestOfferArrayType read FRespondToBestOffer write FRespondToBestOffer;
end;
RespondToBestOfferResponse = RespondToBestOfferResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetBestOffersResponseType = class(AbstractResponseType)
private
FBestOfferArray: BestOfferArrayType;
FItem: ItemType;
public
constructor Create; override;
destructor Destroy; override;
published
property BestOfferArray: BestOfferArrayType read FBestOfferArray write FBestOfferArray;
property Item: ItemType read FItem write FItem;
end;
GetBestOffersResponse = GetBestOffersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
PlaceOfferResponseType = class(AbstractResponseType)
private
FSellingStatus: SellingStatusType;
FTransactionID: WideString;
FBestOffer: BestOfferType;
public
constructor Create; override;
destructor Destroy; override;
published
property SellingStatus: SellingStatusType read FSellingStatus write FSellingStatus;
property TransactionID: WideString read FTransactionID write FTransactionID;
property BestOffer: BestOfferType read FBestOffer write FBestOffer;
end;
PlaceOfferResponse = PlaceOfferResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerListResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FHasMoreItems: Boolean;
FItemArray: ItemArrayType;
FItemsPerPage: Integer;
FPageNumber: Integer;
FReturnedItemCountActual: Integer;
FSeller: UserType;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreItems: Boolean read FHasMoreItems write FHasMoreItems;
property ItemArray: ItemArrayType read FItemArray write FItemArray;
property ItemsPerPage: Integer read FItemsPerPage write FItemsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property ReturnedItemCountActual: Integer read FReturnedItemCountActual write FReturnedItemCountActual;
property Seller: UserType read FSeller write FSeller;
end;
GetSellerListResponse = GetSellerListResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerEventsResponseType = class(AbstractResponseType)
private
FTimeTo: TXSDateTime;
FItemArray: ItemArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property TimeTo: TXSDateTime read FTimeTo write FTimeTo;
property ItemArray: ItemArrayType read FItemArray write FItemArray;
end;
GetSellerEventsResponse = GetSellerEventsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetBidderListResponseType = class(AbstractResponseType)
private
FBidder: UserType;
FBidItemArray: ItemArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property Bidder: UserType read FBidder write FBidder;
property BidItemArray: ItemArrayType read FBidItemArray write FBidItemArray;
end;
GetBidderListResponse = GetBidderListResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetCartResponseType = class(AbstractResponseType)
private
FCart: CartType;
public
constructor Create; override;
destructor Destroy; override;
published
property Cart: CartType read FCart write FCart;
end;
SetCartResponse = SetCartResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCartResponseType = class(AbstractResponseType)
private
FCart: CartType;
public
constructor Create; override;
destructor Destroy; override;
published
property Cart: CartType read FCart write FCart;
end;
GetCartResponse = GetCartResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPopularKeywordsResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FCategoryArray: CategoryArrayType;
FHasMore: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property CategoryArray: CategoryArrayType read FCategoryArray write FCategoryArray;
property HasMore: Boolean read FHasMore write FHasMore;
end;
GetPopularKeywordsResponse = GetPopularKeywordsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoriesResponseType = class(AbstractResponseType)
private
FCategoryArray: CategoryArrayType;
FCategoryCount: Integer;
FUpdateTime: TXSDateTime;
FCategoryVersion: WideString;
FReservePriceAllowed: Boolean;
FMinimumReservePrice: Double;
FReduceReserveAllowed: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryArray: CategoryArrayType read FCategoryArray write FCategoryArray;
property CategoryCount: Integer read FCategoryCount write FCategoryCount;
property UpdateTime: TXSDateTime read FUpdateTime write FUpdateTime;
property CategoryVersion: WideString read FCategoryVersion write FCategoryVersion;
property ReservePriceAllowed: Boolean read FReservePriceAllowed write FReservePriceAllowed;
property MinimumReservePrice: Double read FMinimumReservePrice write FMinimumReservePrice;
property ReduceReserveAllowed: Boolean read FReduceReserveAllowed write FReduceReserveAllowed;
end;
GetCategoriesResponse = GetCategoriesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategory2CSResponseType = class(AbstractResponseType)
private
FMappedCategoryArray: CategoryArrayType;
FUnmappedCategoryArray: CategoryArrayType;
FAttributeSystemVersion: WideString;
FSiteWideCharacteristicSets: SiteWideCharacteristicsType;
public
constructor Create; override;
destructor Destroy; override;
published
property MappedCategoryArray: CategoryArrayType read FMappedCategoryArray write FMappedCategoryArray;
property UnmappedCategoryArray: CategoryArrayType read FUnmappedCategoryArray write FUnmappedCategoryArray;
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property SiteWideCharacteristicSets: SiteWideCharacteristicsType read FSiteWideCharacteristicSets write FSiteWideCharacteristicSets;
end;
GetCategory2CSResponse = GetCategory2CSResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoryFeaturesResponseType = class(AbstractResponseType)
private
FCategoryVersion: WideString;
FUpdateTime: TXSDateTime;
FCategory: CategoryFeatureType;
FSiteDefaults: SiteDefaultsType;
FFeatureDefinitions: FeatureDefinitionsType;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryVersion: WideString read FCategoryVersion write FCategoryVersion;
property UpdateTime: TXSDateTime read FUpdateTime write FUpdateTime;
property Category: CategoryFeatureType read FCategory write FCategory;
property SiteDefaults: SiteDefaultsType read FSiteDefaults write FSiteDefaults;
property FeatureDefinitions: FeatureDefinitionsType read FFeatureDefinitions write FFeatureDefinitions;
end;
GetCategoryFeaturesResponse = GetCategoryFeaturesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoryListingsResponseType = class(AbstractResponseType)
private
FItemArray: ItemArrayType;
FCategory: CategoryType;
FSubCategories: CategoryArrayType;
FItemsPerPage: Integer;
FPageNumber: Integer;
FHasMoreItems: Boolean;
FPaginationResult: PaginationResultType;
FBuyingGuideDetails: BuyingGuideDetailsType;
FRelatedSearchKeywordArray: RelatedSearchKeywordArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemArray: ItemArrayType read FItemArray write FItemArray;
property Category: CategoryType read FCategory write FCategory;
property SubCategories: CategoryArrayType read FSubCategories write FSubCategories;
property ItemsPerPage: Integer read FItemsPerPage write FItemsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property HasMoreItems: Boolean read FHasMoreItems write FHasMoreItems;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property BuyingGuideDetails: BuyingGuideDetailsType read FBuyingGuideDetails write FBuyingGuideDetails;
property RelatedSearchKeywordArray: RelatedSearchKeywordArrayType read FRelatedSearchKeywordArray write FRelatedSearchKeywordArray;
end;
GetCategoryListingsResponse = GetCategoryListingsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetCategoryMappingsResponseType = class(AbstractResponseType)
private
FCategoryMapping: CategoryMappingType;
FCategoryVersion: WideString;
public
constructor Create; override;
destructor Destroy; override;
published
property CategoryMapping: CategoryMappingType read FCategoryMapping write FCategoryMapping;
property CategoryVersion: WideString read FCategoryVersion write FCategoryVersion;
end;
GetCategoryMappingsResponse = GetCategoryMappingsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetDescriptionTemplatesResponseType = class(AbstractResponseType)
private
FDescriptionTemplate: DescriptionTemplateType;
FLayoutTotal: Integer;
FObsoleteLayoutID: Integer;
FObsoleteThemeID: Integer;
FThemeGroup: ThemeGroupType;
FThemeTotal: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property DescriptionTemplate: DescriptionTemplateType read FDescriptionTemplate write FDescriptionTemplate;
property LayoutTotal: Integer read FLayoutTotal write FLayoutTotal;
property ObsoleteLayoutID: Integer read FObsoleteLayoutID write FObsoleteLayoutID;
property ObsoleteThemeID: Integer read FObsoleteThemeID write FObsoleteThemeID;
property ThemeGroup: ThemeGroupType read FThemeGroup write FThemeGroup;
property ThemeTotal: Integer read FThemeTotal write FThemeTotal;
end;
GetDescriptionTemplatesResponse = GetDescriptionTemplatesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetDisputeResponseType = class(AbstractResponseType)
private
FDispute: DisputeType;
public
constructor Create; override;
destructor Destroy; override;
published
property Dispute: DisputeType read FDispute write FDispute;
end;
GetDisputeResponse = GetDisputeResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetExpressWishListResponseType = class(AbstractResponseType)
private
FWishList: WishListType;
FPagination: PaginationResultType;
public
constructor Create; override;
destructor Destroy; override;
published
property WishList: WishListType read FWishList write FWishList;
property Pagination: PaginationResultType read FPagination write FPagination;
end;
GetExpressWishListResponse = GetExpressWishListResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetFeedbackResponseType = class(AbstractResponseType)
private
FFeedbackDetailArray: FeedbackDetailArrayType;
FFeedbackDetailItemTotal: Integer;
FFeedbackSummary: FeedbackSummaryType;
FFeedbackScore: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property FeedbackDetailArray: FeedbackDetailArrayType read FFeedbackDetailArray write FFeedbackDetailArray;
property FeedbackDetailItemTotal: Integer read FFeedbackDetailItemTotal write FFeedbackDetailItemTotal;
property FeedbackSummary: FeedbackSummaryType read FFeedbackSummary write FFeedbackSummary;
property FeedbackScore: Integer read FFeedbackScore write FFeedbackScore;
end;
GetFeedbackResponse = GetFeedbackResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetItemsAwaitingFeedbackResponseType = class(AbstractResponseType)
private
FItemsAwaitingFeedback: PaginatedTransactionArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property ItemsAwaitingFeedback: PaginatedTransactionArrayType read FItemsAwaitingFeedback write FItemsAwaitingFeedback;
end;
GetItemsAwaitingFeedbackResponse = GetItemsAwaitingFeedbackResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetLiveAuctionBiddersResponseType = class(AbstractResponseType)
private
FBidderDetails: BidderDetailArrayType;
FTotalPending: Integer;
FTotalApproved: Integer;
FTotalDenied: Integer;
FPageNumber: Integer;
FPaginationResult: PaginationResultType;
public
constructor Create; override;
destructor Destroy; override;
published
property BidderDetails: BidderDetailArrayType read FBidderDetails write FBidderDetails;
property TotalPending: Integer read FTotalPending write FTotalPending;
property TotalApproved: Integer read FTotalApproved write FTotalApproved;
property TotalDenied: Integer read FTotalDenied write FTotalDenied;
property PageNumber: Integer read FPageNumber write FPageNumber;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
end;
GetLiveAuctionBiddersResponse = GetLiveAuctionBiddersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMessagePreferencesResponseType = class(AbstractResponseType)
private
FASQPreferences: ASQPreferencesType;
public
constructor Create; override;
destructor Destroy; override;
published
property ASQPreferences: ASQPreferencesType read FASQPreferences write FASQPreferences;
end;
GetMessagePreferencesResponse = GetMessagePreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyMessagesResponseType = class(AbstractResponseType)
private
FSummary: MyMessagesSummaryType;
FAlerts: MyMessagesAlertArrayType;
FMessages: MyMessagesMessageArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property Summary: MyMessagesSummaryType read FSummary write FSummary;
property Alerts: MyMessagesAlertArrayType read FAlerts write FAlerts;
property Messages: MyMessagesMessageArrayType read FMessages write FMessages;
end;
GetMyMessagesResponse = GetMyMessagesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyeBayBuyingResponseType = class(AbstractResponseType)
private
FBuyingSummary: BuyingSummaryType;
FWatchList: PaginatedItemArrayType;
FBidList: PaginatedItemArrayType;
FBestOfferList: PaginatedItemArrayType;
FWonList: PaginatedOrderTransactionArrayType;
FLostList: PaginatedItemArrayType;
FFavoriteSearches: MyeBayFavoriteSearchListType;
FFavoriteSellers: MyeBayFavoriteSellerListType;
FSecondChanceOffer: ItemType;
FBidAssistantList: BidGroupArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property BuyingSummary: BuyingSummaryType read FBuyingSummary write FBuyingSummary;
property WatchList: PaginatedItemArrayType read FWatchList write FWatchList;
property BidList: PaginatedItemArrayType read FBidList write FBidList;
property BestOfferList: PaginatedItemArrayType read FBestOfferList write FBestOfferList;
property WonList: PaginatedOrderTransactionArrayType read FWonList write FWonList;
property LostList: PaginatedItemArrayType read FLostList write FLostList;
property FavoriteSearches: MyeBayFavoriteSearchListType read FFavoriteSearches write FFavoriteSearches;
property FavoriteSellers: MyeBayFavoriteSellerListType read FFavoriteSellers write FFavoriteSellers;
property SecondChanceOffer: ItemType read FSecondChanceOffer write FSecondChanceOffer;
property BidAssistantList: BidGroupArrayType read FBidAssistantList write FBidAssistantList;
end;
GetMyeBayBuyingResponse = GetMyeBayBuyingResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyeBayRemindersResponseType = class(AbstractResponseType)
private
FBuyingReminders: RemindersType;
FSellingReminders: RemindersType;
public
constructor Create; override;
destructor Destroy; override;
published
property BuyingReminders: RemindersType read FBuyingReminders write FBuyingReminders;
property SellingReminders: RemindersType read FSellingReminders write FSellingReminders;
end;
GetMyeBayRemindersResponse = GetMyeBayRemindersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetMyeBaySellingResponseType = class(AbstractResponseType)
private
FSellingSummary: SellingSummaryType;
FScheduledList: PaginatedItemArrayType;
FActiveList: PaginatedItemArrayType;
FSoldList: PaginatedOrderTransactionArrayType;
FUnsoldList: PaginatedItemArrayType;
FSummary: MyeBaySellingSummaryType;
public
constructor Create; override;
destructor Destroy; override;
published
property SellingSummary: SellingSummaryType read FSellingSummary write FSellingSummary;
property ScheduledList: PaginatedItemArrayType read FScheduledList write FScheduledList;
property ActiveList: PaginatedItemArrayType read FActiveList write FActiveList;
property SoldList: PaginatedOrderTransactionArrayType read FSoldList write FSoldList;
property UnsoldList: PaginatedItemArrayType read FUnsoldList write FUnsoldList;
property Summary: MyeBaySellingSummaryType read FSummary write FSummary;
end;
GetMyeBaySellingResponse = GetMyeBaySellingResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetNotificationPreferencesResponseType = class(AbstractResponseType)
private
FApplicationDeliveryPreferences: ApplicationDeliveryPreferencesType;
FUserDeliveryPreferenceArray: NotificationEnableArrayType;
FUserData: NotificationUserDataType;
FEventProperty: NotificationEventPropertyType;
public
constructor Create; override;
destructor Destroy; override;
published
property ApplicationDeliveryPreferences: ApplicationDeliveryPreferencesType read FApplicationDeliveryPreferences write FApplicationDeliveryPreferences;
property UserDeliveryPreferenceArray: NotificationEnableArrayType read FUserDeliveryPreferenceArray write FUserDeliveryPreferenceArray;
property UserData: NotificationUserDataType read FUserData write FUserData;
property EventProperty: NotificationEventPropertyType read FEventProperty write FEventProperty;
end;
GetNotificationPreferencesResponse = GetNotificationPreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetNotificationsUsageResponseType = class(AbstractResponseType)
private
FStartTime: TXSDateTime;
FEndTime: TXSDateTime;
FNotificationDetailsArray: NotificationDetailsArrayType;
FMarkUpMarkDownHistory: MarkUpMarkDownHistoryType;
FNotificationStatistics: NotificationStatisticsType;
public
constructor Create; override;
destructor Destroy; override;
published
property StartTime: TXSDateTime read FStartTime write FStartTime;
property EndTime: TXSDateTime read FEndTime write FEndTime;
property NotificationDetailsArray: NotificationDetailsArrayType read FNotificationDetailsArray write FNotificationDetailsArray;
property MarkUpMarkDownHistory: MarkUpMarkDownHistoryType read FMarkUpMarkDownHistory write FMarkUpMarkDownHistory;
property NotificationStatistics: NotificationStatisticsType read FNotificationStatistics write FNotificationStatistics;
end;
GetNotificationsUsageResponse = GetNotificationsUsageResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetOrdersResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FHasMoreOrders: Boolean;
FOrderArray: OrderArrayType;
FOrdersPerPage: Integer;
FPageNumber: Integer;
FReturnedOrderCountActual: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreOrders: Boolean read FHasMoreOrders write FHasMoreOrders;
property OrderArray: OrderArrayType read FOrderArray write FOrderArray;
property OrdersPerPage: Integer read FOrdersPerPage write FOrdersPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property ReturnedOrderCountActual: Integer read FReturnedOrderCountActual write FReturnedOrderCountActual;
end;
GetOrdersResponse = GetOrdersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetOrderTransactionsResponseType = class(AbstractResponseType)
private
FOrderArray: OrderArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property OrderArray: OrderArrayType read FOrderArray write FOrderArray;
end;
GetOrderTransactionsResponse = GetOrderTransactionsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPictureManagerDetailsResponseType = class(AbstractResponseType)
private
FPictureManagerDetails: PictureManagerDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property PictureManagerDetails: PictureManagerDetailsType read FPictureManagerDetails write FPictureManagerDetails;
end;
GetPictureManagerDetailsResponse = GetPictureManagerDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPictureManagerOptionsResponseType = class(AbstractResponseType)
private
FSubscription: PictureManagerSubscriptionType;
FPictureType: PictureManagerPictureDisplayType;
public
constructor Create; override;
destructor Destroy; override;
published
property Subscription: PictureManagerSubscriptionType read FSubscription write FSubscription;
property PictureType: PictureManagerPictureDisplayType read FPictureType write FPictureType;
end;
GetPictureManagerOptionsResponse = GetPictureManagerOptionsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductSearchResultsResponseType = class(AbstractResponseType)
private
FDataElementSets: DataElementSetType;
FProductSearchResult: ProductSearchResultType;
public
constructor Create; override;
destructor Destroy; override;
published
property DataElementSets: DataElementSetType read FDataElementSets write FDataElementSets;
property ProductSearchResult: ProductSearchResultType read FProductSearchResult write FProductSearchResult;
end;
GetProductSearchResultsResponse = GetProductSearchResultsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductFamilyMembersResponseType = class(AbstractResponseType)
private
FDataElementSets: DataElementSetType;
FProductSearchResult: ProductSearchResultType;
public
constructor Create; override;
destructor Destroy; override;
published
property DataElementSets: DataElementSetType read FDataElementSets write FDataElementSets;
property ProductSearchResult: ProductSearchResultType read FProductSearchResult write FProductSearchResult;
end;
GetProductFamilyMembersResponse = GetProductFamilyMembersResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductSearchPageResponseType = class(AbstractResponseType)
private
FAttributeSystemVersion: WideString;
FProductSearchPage: ProductSearchPageType;
public
constructor Create; override;
destructor Destroy; override;
published
property AttributeSystemVersion: WideString read FAttributeSystemVersion write FAttributeSystemVersion;
property ProductSearchPage: ProductSearchPageType read FProductSearchPage write FProductSearchPage;
end;
GetProductSearchPageResponse = GetProductSearchPageResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetProductsResponseType = class(AbstractResponseType)
private
FCharacteristicsSetProductHistogram: CharacteristicsSetProductHistogramType;
FPageNumber: Integer;
FApproximatePages: Integer;
FHasMore: Boolean;
FTotalProducts: Integer;
FProduct: CatalogProductType;
FItemArray: ItemArrayType;
FBuyingGuideDetails: BuyingGuideDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property CharacteristicsSetProductHistogram: CharacteristicsSetProductHistogramType read FCharacteristicsSetProductHistogram write FCharacteristicsSetProductHistogram;
property PageNumber: Integer read FPageNumber write FPageNumber;
property ApproximatePages: Integer read FApproximatePages write FApproximatePages;
property HasMore: Boolean read FHasMore write FHasMore;
property TotalProducts: Integer read FTotalProducts write FTotalProducts;
property Product: CatalogProductType read FProduct write FProduct;
property ItemArray: ItemArrayType read FItemArray write FItemArray;
property BuyingGuideDetails: BuyingGuideDetailsType read FBuyingGuideDetails write FBuyingGuideDetails;
end;
GetProductsResponse = GetProductsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPromotionRulesResponseType = class(AbstractResponseType)
private
FPromotionRuleArray: PromotionRuleArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property PromotionRuleArray: PromotionRuleArrayType read FPromotionRuleArray write FPromotionRuleArray;
end;
GetPromotionRulesResponse = GetPromotionRulesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetPromotionalSaleDetailsResponseType = class(AbstractResponseType)
private
FPromotionalSaleDetails: PromotionalSaleArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property PromotionalSaleDetails: PromotionalSaleArrayType read FPromotionalSaleDetails write FPromotionalSaleDetails;
end;
GetPromotionalSaleDetailsResponse = GetPromotionalSaleDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetReturnURLResponseType = class(AbstractResponseType)
private
FApplicationDisplayName: WideString;
FAuthenticationEntryArray: AuthenticationEntryArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property ApplicationDisplayName: WideString read FApplicationDisplayName write FApplicationDisplayName;
property AuthenticationEntryArray: AuthenticationEntryArrayType read FAuthenticationEntryArray write FAuthenticationEntryArray;
end;
GetReturnURLResponse = GetReturnURLResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSearchResultsResponseType = class(AbstractResponseType)
private
FSearchResultItemArray: SearchResultItemArrayType;
FItemsPerPage: Integer;
FPageNumber: Integer;
FHasMoreItems: Boolean;
FPaginationResult: PaginationResultType;
FCategoryArray: CategoryArrayType;
FBuyingGuideDetails: BuyingGuideDetailsType;
FStoreExpansionArray: ExpansionArrayType;
FInternationalExpansionArray: ExpansionArrayType;
FFilterRemovedExpansionArray: ExpansionArrayType;
FAllCategoriesExpansionArray: ExpansionArrayType;
FSpellingSuggestion: SpellingSuggestionType;
FRelatedSearchKeywordArray: RelatedSearchKeywordArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property SearchResultItemArray: SearchResultItemArrayType read FSearchResultItemArray write FSearchResultItemArray;
property ItemsPerPage: Integer read FItemsPerPage write FItemsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property HasMoreItems: Boolean read FHasMoreItems write FHasMoreItems;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property CategoryArray: CategoryArrayType read FCategoryArray write FCategoryArray;
property BuyingGuideDetails: BuyingGuideDetailsType read FBuyingGuideDetails write FBuyingGuideDetails;
property StoreExpansionArray: ExpansionArrayType read FStoreExpansionArray write FStoreExpansionArray;
property InternationalExpansionArray: ExpansionArrayType read FInternationalExpansionArray write FInternationalExpansionArray;
property FilterRemovedExpansionArray: ExpansionArrayType read FFilterRemovedExpansionArray write FFilterRemovedExpansionArray;
property AllCategoriesExpansionArray: ExpansionArrayType read FAllCategoriesExpansionArray write FAllCategoriesExpansionArray;
property SpellingSuggestion: SpellingSuggestionType read FSpellingSuggestion write FSpellingSuggestion;
property RelatedSearchKeywordArray: RelatedSearchKeywordArrayType read FRelatedSearchKeywordArray write FRelatedSearchKeywordArray;
end;
GetSearchResultsResponse = GetSearchResultsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSearchResultsExpressResponseType = class(AbstractResponseType)
private
FHistogram: DomainHistogramType;
FItemArray: ItemArrayType;
FProductArray: ProductArrayType;
FEntriesPerPage: Integer;
FPageNumber: Integer;
FHasMoreEntries: Boolean;
public
constructor Create; override;
destructor Destroy; override;
published
property Histogram: DomainHistogramType read FHistogram write FHistogram;
property ItemArray: ItemArrayType read FItemArray write FItemArray;
property ProductArray: ProductArrayType read FProductArray write FProductArray;
property EntriesPerPage: Integer read FEntriesPerPage write FEntriesPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property HasMoreEntries: Boolean read FHasMoreEntries write FHasMoreEntries;
end;
GetSearchResultsExpressResponse = GetSearchResultsExpressResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSellerPaymentsResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FHasMorePayments: Boolean;
FSellerPayment: SellerPaymentType;
FPaymentsPerPage: Integer;
FPageNumber: Integer;
FReturnedPaymentCountActual: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMorePayments: Boolean read FHasMorePayments write FHasMorePayments;
property SellerPayment: SellerPaymentType read FSellerPayment write FSellerPayment;
property PaymentsPerPage: Integer read FPaymentsPerPage write FPaymentsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property ReturnedPaymentCountActual: Integer read FReturnedPaymentCountActual write FReturnedPaymentCountActual;
end;
GetSellerPaymentsResponse = GetSellerPaymentsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetShippingDiscountProfilesResponseType = class(AbstractResponseType)
private
FCurrencyID: CurrencyCodeType;
FFlatShippingDiscount: FlatShippingDiscountType;
FCalculatedShippingDiscount: CalculatedShippingDiscountType;
FPromotionalShippingDiscount: Boolean;
FCalculatedHandlingDiscount: CalculatedHandlingDiscountType;
FPromotionalShippingDiscountDetails: PromotionalShippingDiscountDetailsType;
FShippingInsurance: ShippingInsuranceType;
FInternationalShippingInsurance: ShippingInsuranceType;
FCombinedDuration: CombinedPaymentPeriodCodeType;
public
constructor Create; override;
destructor Destroy; override;
published
property CurrencyID: CurrencyCodeType read FCurrencyID write FCurrencyID;
property FlatShippingDiscount: FlatShippingDiscountType read FFlatShippingDiscount write FFlatShippingDiscount;
property CalculatedShippingDiscount: CalculatedShippingDiscountType read FCalculatedShippingDiscount write FCalculatedShippingDiscount;
property PromotionalShippingDiscount: Boolean read FPromotionalShippingDiscount write FPromotionalShippingDiscount;
property CalculatedHandlingDiscount: CalculatedHandlingDiscountType read FCalculatedHandlingDiscount write FCalculatedHandlingDiscount;
property PromotionalShippingDiscountDetails: PromotionalShippingDiscountDetailsType read FPromotionalShippingDiscountDetails write FPromotionalShippingDiscountDetails;
property ShippingInsurance: ShippingInsuranceType read FShippingInsurance write FShippingInsurance;
property InternationalShippingInsurance: ShippingInsuranceType read FInternationalShippingInsurance write FInternationalShippingInsurance;
property CombinedDuration: CombinedPaymentPeriodCodeType read FCombinedDuration write FCombinedDuration;
end;
GetShippingDiscountProfilesResponse = GetShippingDiscountProfilesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreResponseType = class(AbstractResponseType)
private
FStore: StoreType;
public
constructor Create; override;
destructor Destroy; override;
published
property Store: StoreType read FStore write FStore;
end;
GetStoreResponse = GetStoreResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreCustomPageResponseType = class(AbstractResponseType)
private
FCustomPageArray: StoreCustomPageArrayType;
public
constructor Create; override;
destructor Destroy; override;
published
property CustomPageArray: StoreCustomPageArrayType read FCustomPageArray write FCustomPageArray;
end;
GetStoreCustomPageResponse = GetStoreCustomPageResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
SetStoreCustomPageResponseType = class(AbstractResponseType)
private
FCustomPage: StoreCustomPageType;
public
constructor Create; override;
destructor Destroy; override;
published
property CustomPage: StoreCustomPageType read FCustomPage write FCustomPage;
end;
SetStoreCustomPageResponse = SetStoreCustomPageResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStoreOptionsResponseType = class(AbstractResponseType)
private
FBasicThemeArray: StoreThemeArrayType;
FAdvancedThemeArray: StoreThemeArrayType;
FLogoArray: StoreLogoArrayType;
FSubscriptionArray: StoreSubscriptionArrayType;
FMaxCategories: Integer;
FMaxCategoryLevels: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property BasicThemeArray: StoreThemeArrayType read FBasicThemeArray write FBasicThemeArray;
property AdvancedThemeArray: StoreThemeArrayType read FAdvancedThemeArray write FAdvancedThemeArray;
property LogoArray: StoreLogoArrayType read FLogoArray write FLogoArray;
property SubscriptionArray: StoreSubscriptionArrayType read FSubscriptionArray write FSubscriptionArray;
property MaxCategories: Integer read FMaxCategories write FMaxCategories;
property MaxCategoryLevels: Integer read FMaxCategoryLevels write FMaxCategoryLevels;
end;
GetStoreOptionsResponse = GetStoreOptionsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetStorePreferencesResponseType = class(AbstractResponseType)
private
FStorePreferences: StorePreferencesType;
public
constructor Create; override;
destructor Destroy; override;
published
property StorePreferences: StorePreferencesType read FStorePreferences write FStorePreferences;
end;
GetStorePreferencesResponse = GetStorePreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetSuggestedCategoriesResponseType = class(AbstractResponseType)
private
FSuggestedCategoryArray: SuggestedCategoryArrayType;
FCategoryCount: Integer;
public
constructor Create; override;
destructor Destroy; override;
published
property SuggestedCategoryArray: SuggestedCategoryArrayType read FSuggestedCategoryArray write FSuggestedCategoryArray;
property CategoryCount: Integer read FCategoryCount write FCategoryCount;
end;
GetSuggestedCategoriesResponse = GetSuggestedCategoriesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserDisputesResponseType = class(AbstractResponseType)
private
FStartingDisputeID: DisputeIDType;
FEndingDisputeID: DisputeIDType;
FDisputeArray: DisputeArrayType;
FItemsPerPage: Integer;
FPageNumber: Integer;
FDisputeFilterCount: DisputeFilterCountType;
FPaginationResult: PaginationResultType;
public
constructor Create; override;
destructor Destroy; override;
published
property StartingDisputeID: DisputeIDType read FStartingDisputeID write FStartingDisputeID;
property EndingDisputeID: DisputeIDType read FEndingDisputeID write FEndingDisputeID;
property DisputeArray: DisputeArrayType read FDisputeArray write FDisputeArray;
property ItemsPerPage: Integer read FItemsPerPage write FItemsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property DisputeFilterCount: DisputeFilterCountType read FDisputeFilterCount write FDisputeFilterCount;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
end;
GetUserDisputesResponse = GetUserDisputesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetUserPreferencesResponseType = class(AbstractResponseType)
private
FBidderNoticePreferences: BidderNoticePreferencesType;
FCombinedPaymentPreferences: CombinedPaymentPreferencesType;
FCrossPromotionPreferences: CrossPromotionPreferencesType;
FSellerPaymentPreferences: SellerPaymentPreferencesType;
FSellerFavoriteItemPreferences: SellerFavoriteItemPreferencesType;
FEndOfAuctionEmailPreferences: EndOfAuctionEmailPreferencesType;
FExpressPreferences: ExpressPreferencesType;
FProStoresPreference: ProStoresCheckoutPreferenceType;
public
constructor Create; override;
destructor Destroy; override;
published
property BidderNoticePreferences: BidderNoticePreferencesType read FBidderNoticePreferences write FBidderNoticePreferences;
property CombinedPaymentPreferences: CombinedPaymentPreferencesType read FCombinedPaymentPreferences write FCombinedPaymentPreferences;
property CrossPromotionPreferences: CrossPromotionPreferencesType read FCrossPromotionPreferences write FCrossPromotionPreferences;
property SellerPaymentPreferences: SellerPaymentPreferencesType read FSellerPaymentPreferences write FSellerPaymentPreferences;
property SellerFavoriteItemPreferences: SellerFavoriteItemPreferencesType read FSellerFavoriteItemPreferences write FSellerFavoriteItemPreferences;
property EndOfAuctionEmailPreferences: EndOfAuctionEmailPreferencesType read FEndOfAuctionEmailPreferences write FEndOfAuctionEmailPreferences;
property ExpressPreferences: ExpressPreferencesType read FExpressPreferences write FExpressPreferences;
property ProStoresPreference: ProStoresCheckoutPreferenceType read FProStoresPreference write FProStoresPreference;
end;
GetUserPreferencesResponse = GetUserPreferencesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetVeROReasonCodeDetailsResponseType = class(AbstractResponseType)
private
FVeROReasonCodeDetails: VeROReasonCodeDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property VeROReasonCodeDetails: VeROReasonCodeDetailsType read FVeROReasonCodeDetails write FVeROReasonCodeDetails;
end;
GetVeROReasonCodeDetailsResponse = GetVeROReasonCodeDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetVeROReportStatusResponseType = class(AbstractResponseType)
private
FPaginationResult: PaginationResultType;
FHasMoreItems: Boolean;
FItemsPerPage: Integer;
FPageNumber: Integer;
FVeROReportPacketID: Int64;
FVeROReportPacketStatus: VeROReportPacketStatusCodeType;
FReportedItemDetails: VeROReportedItemDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
property HasMoreItems: Boolean read FHasMoreItems write FHasMoreItems;
property ItemsPerPage: Integer read FItemsPerPage write FItemsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property VeROReportPacketID: Int64 read FVeROReportPacketID write FVeROReportPacketID;
property VeROReportPacketStatus: VeROReportPacketStatusCodeType read FVeROReportPacketStatus write FVeROReportPacketStatus;
property ReportedItemDetails: VeROReportedItemDetailsType read FReportedItemDetails write FReportedItemDetails;
end;
GetVeROReportStatusResponse = GetVeROReportStatusResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetWantItNowPostResponseType = class(AbstractResponseType)
private
FWantItNowPost: WantItNowPostType;
public
constructor Create; override;
destructor Destroy; override;
published
property WantItNowPost: WantItNowPostType read FWantItNowPost write FWantItNowPost;
end;
GetWantItNowPostResponse = GetWantItNowPostResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GetWantItNowSearchResultsResponseType = class(AbstractResponseType)
private
FWantItNowPostArray: WantItNowPostArrayType;
FHasMoreItems: Boolean;
FItemsPerPage: Integer;
FPageNumber: Integer;
FPaginationResult: PaginationResultType;
public
constructor Create; override;
destructor Destroy; override;
published
property WantItNowPostArray: WantItNowPostArrayType read FWantItNowPostArray write FWantItNowPostArray;
property HasMoreItems: Boolean read FHasMoreItems write FHasMoreItems;
property ItemsPerPage: Integer read FItemsPerPage write FItemsPerPage;
property PageNumber: Integer read FPageNumber write FPageNumber;
property PaginationResult: PaginationResultType read FPaginationResult write FPaginationResult;
end;
GetWantItNowSearchResultsResponse = GetWantItNowSearchResultsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
GeteBayDetailsResponseType = class(AbstractResponseType)
private
FCountryDetails: CountryDetailsType;
FCurrencyDetails: CurrencyDetailsType;
FDispatchTimeMaxDetails: DispatchTimeMaxDetailsType;
FPaymentOptionDetails: PaymentOptionDetailsType;
FRegionDetails: RegionDetailsType;
FShippingLocationDetails: ShippingLocationDetailsType;
FShippingServiceDetails: ShippingServiceDetailsType;
FSiteDetails: SiteDetailsType;
FTaxJurisdiction: TaxJurisdictionType;
FURLDetails: URLDetailsType;
FTimeZoneDetails: TimeZoneDetailsType;
FItemSpecificDetails: ItemSpecificDetailsType;
FUnitOfMeasurementDetails: UnitOfMeasurementDetailsType;
FRegionOfOriginDetails: RegionOfOriginDetailsType;
FShippingPackageDetails: ShippingPackageDetailsType;
FShippingCarrierDetails: ShippingCarrierDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property CountryDetails: CountryDetailsType read FCountryDetails write FCountryDetails;
property CurrencyDetails: CurrencyDetailsType read FCurrencyDetails write FCurrencyDetails;
property DispatchTimeMaxDetails: DispatchTimeMaxDetailsType read FDispatchTimeMaxDetails write FDispatchTimeMaxDetails;
property PaymentOptionDetails: PaymentOptionDetailsType read FPaymentOptionDetails write FPaymentOptionDetails;
property RegionDetails: RegionDetailsType read FRegionDetails write FRegionDetails;
property ShippingLocationDetails: ShippingLocationDetailsType read FShippingLocationDetails write FShippingLocationDetails;
property ShippingServiceDetails: ShippingServiceDetailsType read FShippingServiceDetails write FShippingServiceDetails;
property SiteDetails: SiteDetailsType read FSiteDetails write FSiteDetails;
property TaxJurisdiction: TaxJurisdictionType read FTaxJurisdiction write FTaxJurisdiction;
property URLDetails: URLDetailsType read FURLDetails write FURLDetails;
property TimeZoneDetails: TimeZoneDetailsType read FTimeZoneDetails write FTimeZoneDetails;
property ItemSpecificDetails: ItemSpecificDetailsType read FItemSpecificDetails write FItemSpecificDetails;
property UnitOfMeasurementDetails: UnitOfMeasurementDetailsType read FUnitOfMeasurementDetails write FUnitOfMeasurementDetails;
property RegionOfOriginDetails: RegionOfOriginDetailsType read FRegionOfOriginDetails write FRegionOfOriginDetails;
property ShippingPackageDetails: ShippingPackageDetailsType read FShippingPackageDetails write FShippingPackageDetails;
property ShippingCarrierDetails: ShippingCarrierDetailsType read FShippingCarrierDetails write FShippingCarrierDetails;
end;
GeteBayDetailsResponse = GeteBayDetailsResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// Serializtn: [xoLiteralParam]
// ************************************************************************ //
UploadSiteHostedPicturesResponseType = class(AbstractResponseType)
private
FPictureSystemVersion: Integer;
FSiteHostedPictureDetails: SiteHostedPictureDetailsType;
public
constructor Create; override;
destructor Destroy; override;
published
property PictureSystemVersion: Integer read FPictureSystemVersion write FPictureSystemVersion;
property SiteHostedPictureDetails: SiteHostedPictureDetailsType read FSiteHostedPictureDetails write FSiteHostedPictureDetails;
end;
UploadSiteHostedPicturesResponse = UploadSiteHostedPicturesResponseType; { "urn:ebay:apis:eBLBaseComponents"[L] }
// ************************************************************************ //
// Namespace : urn:ebay:apis:eBLBaseComponents
// transport : http://schemas.xmlsoap.org/soap/http
// style : document
// binding : eBayAPISoapBinding
// service : eBayAPIInterfaceService
// port : eBayAPI
// URL : https://api.ebay.com/wsapi
// ************************************************************************ //
eBayAPIInterface = interface(IInvokable)
['{2BC4B12B-8207-48B3-0A35-5DC99215D445}']
function AddDispute(const AddDisputeRequest: AddDisputeRequest): AddDisputeResponse; stdcall;
function AddDisputeResponse(const AddDisputeResponseRequest: AddDisputeResponseRequest): AddDisputeResponseResponse; stdcall;
function AddItem(const AddItemRequest: AddItemRequest): AddItemResponse; stdcall;
function AddLiveAuctionItem(const AddLiveAuctionItemRequest: AddLiveAuctionItemRequest): AddLiveAuctionItemResponse; stdcall;
function AddMemberMessageAAQToPartner(const AddMemberMessageAAQToPartnerRequest: AddMemberMessageAAQToPartnerRequest): AddMemberMessageAAQToPartnerResponse; stdcall;
function AddMemberMessageRTQ(const AddMemberMessageRTQRequest: AddMemberMessageRTQRequest): AddMemberMessageRTQResponse; stdcall;
function AddMemberMessagesAAQToBidder(const AddMemberMessagesAAQToBidderRequest: AddMemberMessagesAAQToBidderRequest): AddMemberMessagesAAQToBidderResponse; stdcall;
function AddOrder(const AddOrderRequest: AddOrderRequest): AddOrderResponse; stdcall;
function AddSecondChanceItem(const AddSecondChanceItemRequest: AddSecondChanceItemRequest): AddSecondChanceItemResponse; stdcall;
function AddToItemDescription(const AddToItemDescriptionRequest: AddToItemDescriptionRequest): AddToItemDescriptionResponse; stdcall;
function AddToWatchList(const AddToWatchListRequest: AddToWatchListRequest): AddToWatchListResponse; stdcall;
function AddTransactionConfirmationItem(const AddTransactionConfirmationItemRequest: AddTransactionConfirmationItemRequest): AddTransactionConfirmationItemResponse; stdcall;
function ApproveLiveAuctionBidders(const ApproveLiveAuctionBiddersRequest: ApproveLiveAuctionBiddersRequest): ApproveLiveAuctionBiddersResponse; stdcall;
function CompleteSale(const CompleteSaleRequest: CompleteSaleRequest): CompleteSaleResponse; stdcall;
function DeleteMyMessages(const DeleteMyMessagesRequest: DeleteMyMessagesRequest): DeleteMyMessagesResponse; stdcall;
function EndItem(const EndItemRequest: EndItemRequest): EndItemResponse; stdcall;
function FetchToken(const FetchTokenRequest: FetchTokenRequest): FetchTokenResponse; stdcall;
function GetAccount(const GetAccountRequest: GetAccountRequest): GetAccountResponse; stdcall;
function GetAdFormatLeads(const GetAdFormatLeadsRequest: GetAdFormatLeadsRequest): GetAdFormatLeadsResponse; stdcall;
function GetAllBidders(const GetAllBiddersRequest: GetAllBiddersRequest): GetAllBiddersResponse; stdcall;
function GetApiAccessRules(const GetApiAccessRulesRequest: GetApiAccessRulesRequest): GetApiAccessRulesResponse; stdcall;
function GetAttributesCS(const GetAttributesCSRequest: GetAttributesCSRequest): GetAttributesCSResponse; stdcall;
function GetAttributesXSL(const GetAttributesXSLRequest: GetAttributesXSLRequest): GetAttributesXSLResponse; stdcall;
function GetBestOffers(const GetBestOffersRequest: GetBestOffersRequest): GetBestOffersResponse; stdcall;
function GetBidderList(const GetBidderListRequest: GetBidderListRequest): GetBidderListResponse; stdcall;
function GetCart(const GetCartRequest: GetCartRequest): GetCartResponse; stdcall;
function GetCategories(const GetCategoriesRequest: GetCategoriesRequest): GetCategoriesResponse; stdcall;
function GetCategory2CS(const GetCategory2CSRequest: GetCategory2CSRequest): GetCategory2CSResponse; stdcall;
function GetCategoryFeatures(const GetCategoryFeaturesRequest: GetCategoryFeaturesRequest): GetCategoryFeaturesResponse; stdcall;
function GetCategoryListings(const GetCategoryListingsRequest: GetCategoryListingsRequest): GetCategoryListingsResponse; stdcall;
function GetCategoryMappings(const GetCategoryMappingsRequest: GetCategoryMappingsRequest): GetCategoryMappingsResponse; stdcall;
function GetCategorySpecifics(const GetCategorySpecificsRequest: GetCategorySpecificsRequest): GetCategorySpecificsResponse; stdcall;
function GetChallengeToken(const GetChallengeTokenRequest: GetChallengeTokenRequest): GetChallengeTokenResponse; stdcall;
function GetCharities(const GetCharitiesRequest: GetCharitiesRequest): GetCharitiesResponse; stdcall;
function GetContextualKeywords(const GetContextualKeywordsRequest: GetContextualKeywordsRequest): GetContextualKeywordsResponse; stdcall;
function GetCrossPromotions(const GetCrossPromotionsRequest: GetCrossPromotionsRequest): GetCrossPromotionsResponse; stdcall;
function GetDescriptionTemplates(const GetDescriptionTemplatesRequest: GetDescriptionTemplatesRequest): GetDescriptionTemplatesResponse; stdcall;
function GetDispute(const GetDisputeRequest: GetDisputeRequest): GetDisputeResponse; stdcall;
function GetExpressWishList(const GetExpressWishListRequest: GetExpressWishListRequest): GetExpressWishListResponse; stdcall;
function GetFeedback(const GetFeedbackRequest: GetFeedbackRequest): GetFeedbackResponse; stdcall;
function GetHighBidders(const GetHighBiddersRequest: GetHighBiddersRequest): GetHighBiddersResponse; stdcall;
function GetItem(const GetItemRequest: GetItemRequest): GetItemResponse; stdcall;
function GetItemRecommendations(const GetItemRecommendationsRequest: GetItemRecommendationsRequest): GetItemRecommendationsResponse; stdcall;
function GetItemShipping(const GetItemShippingRequest: GetItemShippingRequest): GetItemShippingResponse; stdcall;
function GetItemTransactions(const GetItemTransactionsRequest: GetItemTransactionsRequest): GetItemTransactionsResponse; stdcall;
function GetItemsAwaitingFeedback(const GetItemsAwaitingFeedbackRequest: GetItemsAwaitingFeedbackRequest): GetItemsAwaitingFeedbackResponse; stdcall;
function GetLiveAuctionBidders(const GetLiveAuctionBiddersRequest: GetLiveAuctionBiddersRequest): GetLiveAuctionBiddersResponse; stdcall;
function GetLiveAuctionCatalogDetails(const GetLiveAuctionCatalogDetailsRequest: GetLiveAuctionCatalogDetailsRequest): GetLiveAuctionCatalogDetailsResponse; stdcall;
function GetMemberMessages(const GetMemberMessagesRequest: GetMemberMessagesRequest): GetMemberMessagesResponse; stdcall;
function GetMessagePreferences(const GetMessagePreferencesRequest: GetMessagePreferencesRequest): GetMessagePreferencesResponse; stdcall;
function GetMyMessages(const GetMyMessagesRequest: GetMyMessagesRequest): GetMyMessagesResponse; stdcall;
function GetMyeBayBuying(const GetMyeBayBuyingRequest: GetMyeBayBuyingRequest): GetMyeBayBuyingResponse; stdcall;
function GetMyeBayReminders(const GetMyeBayRemindersRequest: GetMyeBayRemindersRequest): GetMyeBayRemindersResponse; stdcall;
function GetMyeBaySelling(const GetMyeBaySellingRequest: GetMyeBaySellingRequest): GetMyeBaySellingResponse; stdcall;
function GetNotificationPreferences(const GetNotificationPreferencesRequest: GetNotificationPreferencesRequest): GetNotificationPreferencesResponse; stdcall;
function GetNotificationsUsage(const GetNotificationsUsageRequest: GetNotificationsUsageRequest): GetNotificationsUsageResponse; stdcall;
function GetOrderTransactions(const GetOrderTransactionsRequest: GetOrderTransactionsRequest): GetOrderTransactionsResponse; stdcall;
function GetOrders(const GetOrdersRequest: GetOrdersRequest): GetOrdersResponse; stdcall;
function GetPictureManagerDetails(const GetPictureManagerDetailsRequest: GetPictureManagerDetailsRequest): GetPictureManagerDetailsResponse; stdcall;
function GetPictureManagerOptions(const GetPictureManagerOptionsRequest: GetPictureManagerOptionsRequest): GetPictureManagerOptionsResponse; stdcall;
function GetPopularKeywords(const GetPopularKeywordsRequest: GetPopularKeywordsRequest): GetPopularKeywordsResponse; stdcall;
function GetProductFamilyMembers(const GetProductFamilyMembersRequest: GetProductFamilyMembersRequest): GetProductFamilyMembersResponse; stdcall;
function GetProductFinder(const GetProductFinderRequest: GetProductFinderRequest): GetProductFinderResponse; stdcall;
function GetProductFinderXSL(const GetProductFinderXSLRequest: GetProductFinderXSLRequest): GetProductFinderXSLResponse; stdcall;
function GetProductSearchPage(const GetProductSearchPageRequest: GetProductSearchPageRequest): GetProductSearchPageResponse; stdcall;
function GetProductSearchResults(const GetProductSearchResultsRequest: GetProductSearchResultsRequest): GetProductSearchResultsResponse; stdcall;
function GetProductSellingPages(const GetProductSellingPagesRequest: GetProductSellingPagesRequest): GetProductSellingPagesResponse; stdcall;
function GetProducts(const GetProductsRequest: GetProductsRequest): GetProductsResponse; stdcall;
function GetPromotionRules(const GetPromotionRulesRequest: GetPromotionRulesRequest): GetPromotionRulesResponse; stdcall;
function GetPromotionalSaleDetails(const GetPromotionalSaleDetailsRequest: GetPromotionalSaleDetailsRequest): GetPromotionalSaleDetailsResponse; stdcall;
function GetReturnURL(const GetReturnURLRequest: GetReturnURLRequest): GetReturnURLResponse; stdcall;
function GetRuName(const GetRuNameRequest: GetRuNameRequest): GetRuNameResponse; stdcall;
function GetSearchResults(const GetSearchResultsRequest: GetSearchResultsRequest): GetSearchResultsResponse; stdcall;
function GetSearchResultsExpress(const GetSearchResultsExpressRequest: GetSearchResultsExpressRequest): GetSearchResultsExpressResponse; stdcall;
function GetSellerEvents(const GetSellerEventsRequest: GetSellerEventsRequest): GetSellerEventsResponse; stdcall;
function GetSellerList(const GetSellerListRequest: GetSellerListRequest): GetSellerListResponse; stdcall;
function GetSellerPayments(const GetSellerPaymentsRequest: GetSellerPaymentsRequest): GetSellerPaymentsResponse; stdcall;
function GetSellerTransactions(const GetSellerTransactionsRequest: GetSellerTransactionsRequest): GetSellerTransactionsResponse; stdcall;
function GetShippingDiscountProfiles(const GetShippingDiscountProfilesRequest: GetShippingDiscountProfilesRequest): GetShippingDiscountProfilesResponse; stdcall;
function GetStore(const GetStoreRequest: GetStoreRequest): GetStoreResponse; stdcall;
function GetStoreCategoryUpdateStatus(const GetStoreCategoryUpdateStatusRequest: GetStoreCategoryUpdateStatusRequest): GetStoreCategoryUpdateStatusResponse; stdcall;
function GetStoreCustomPage(const GetStoreCustomPageRequest: GetStoreCustomPageRequest): GetStoreCustomPageResponse; stdcall;
function GetStoreOptions(const GetStoreOptionsRequest: GetStoreOptionsRequest): GetStoreOptionsResponse; stdcall;
function GetStorePreferences(const GetStorePreferencesRequest: GetStorePreferencesRequest): GetStorePreferencesResponse; stdcall;
function GetSuggestedCategories(const GetSuggestedCategoriesRequest: GetSuggestedCategoriesRequest): GetSuggestedCategoriesResponse; stdcall;
function GetTaxTable(const GetTaxTableRequest: GetTaxTableRequest): GetTaxTableResponse; stdcall;
function GetUser(const GetUserRequest: GetUserRequest): GetUserResponse; stdcall;
function GetUserContactDetails(const GetUserContactDetailsRequest: GetUserContactDetailsRequest): GetUserContactDetailsResponse; stdcall;
function GetUserDisputes(const GetUserDisputesRequest: GetUserDisputesRequest): GetUserDisputesResponse; stdcall;
function GetUserPreferences(const GetUserPreferencesRequest: GetUserPreferencesRequest): GetUserPreferencesResponse; stdcall;
function GetVeROReasonCodeDetails(const GetVeROReasonCodeDetailsRequest: GetVeROReasonCodeDetailsRequest): GetVeROReasonCodeDetailsResponse; stdcall;
function GetVeROReportStatus(const GetVeROReportStatusRequest: GetVeROReportStatusRequest): GetVeROReportStatusResponse; stdcall;
function GetWantItNowPost(const GetWantItNowPostRequest: GetWantItNowPostRequest): GetWantItNowPostResponse; stdcall;
function GetWantItNowSearchResults(const GetWantItNowSearchResultsRequest: GetWantItNowSearchResultsRequest): GetWantItNowSearchResultsResponse; stdcall;
function GeteBayDetails(const GeteBayDetailsRequest: GeteBayDetailsRequest): GeteBayDetailsResponse; stdcall;
function GeteBayOfficialTime(const GeteBayOfficialTimeRequest: GeteBayOfficialTimeRequest): GeteBayOfficialTimeResponse; stdcall;
function IssueRefund(const IssueRefundRequest: IssueRefundRequest): IssueRefundResponse; stdcall;
function LeaveFeedback(const LeaveFeedbackRequest: LeaveFeedbackRequest): LeaveFeedbackResponse; stdcall;
function PlaceOffer(const PlaceOfferRequest: PlaceOfferRequest): PlaceOfferResponse; stdcall;
function RelistItem(const RelistItemRequest: RelistItemRequest): RelistItemResponse; stdcall;
function RemoveFromWatchList(const RemoveFromWatchListRequest: RemoveFromWatchListRequest): RemoveFromWatchListResponse; stdcall;
function RespondToBestOffer(const RespondToBestOfferRequest: RespondToBestOfferRequest): RespondToBestOfferResponse; stdcall;
function RespondToFeedback(const RespondToFeedbackRequest: RespondToFeedbackRequest): RespondToFeedbackResponse; stdcall;
function RespondToWantItNowPost(const RespondToWantItNowPostRequest: RespondToWantItNowPostRequest): RespondToWantItNowPostResponse; stdcall;
function ReviseCheckoutStatus(const ReviseCheckoutStatusRequest: ReviseCheckoutStatusRequest): ReviseCheckoutStatusResponse; stdcall;
function ReviseItem(const ReviseItemRequest: ReviseItemRequest): ReviseItemResponse; stdcall;
function ReviseLiveAuctionItem(const ReviseLiveAuctionItemRequest: ReviseLiveAuctionItemRequest): ReviseLiveAuctionItemResponse; stdcall;
function ReviseMyMessages(const ReviseMyMessagesRequest: ReviseMyMessagesRequest): ReviseMyMessagesResponse; stdcall;
function ReviseMyMessagesFolders(const ReviseMyMessagesFoldersRequest: ReviseMyMessagesFoldersRequest): ReviseMyMessagesFoldersResponse; stdcall;
function SellerReverseDispute(const SellerReverseDisputeRequest: SellerReverseDisputeRequest): SellerReverseDisputeResponse; stdcall;
function SendInvoice(const SendInvoiceRequest: SendInvoiceRequest): SendInvoiceResponse; stdcall;
function SetCart(const SetCartRequest: SetCartRequest): SetCartResponse; stdcall;
function SetMessagePreferences(const SetMessagePreferencesRequest: SetMessagePreferencesRequest): SetMessagePreferencesResponse; stdcall;
function SetNotificationPreferences(const SetNotificationPreferencesRequest: SetNotificationPreferencesRequest): SetNotificationPreferencesResponse; stdcall;
function SetPictureManagerDetails(const SetPictureManagerDetailsRequest: SetPictureManagerDetailsRequest): SetPictureManagerDetailsResponse; stdcall;
function SetPromotionalSale(const SetPromotionalSaleRequest: SetPromotionalSaleRequest): SetPromotionalSaleResponse; stdcall;
function SetPromotionalSaleListings(const SetPromotionalSaleListingsRequest: SetPromotionalSaleListingsRequest): SetPromotionalSaleListingsResponse; stdcall;
function SetReturnURL(const SetReturnURLRequest: SetReturnURLRequest): SetReturnURLResponse; stdcall;
function SetShippingDiscountProfiles(const SetShippingDiscountProfilesRequest: SetShippingDiscountProfilesRequest): SetShippingDiscountProfilesResponse; stdcall;
function SetStore(const SetStoreRequest: SetStoreRequest): SetStoreResponse; stdcall;
function SetStoreCategories(const SetStoreCategoriesRequest: SetStoreCategoriesRequest): SetStoreCategoriesResponse; stdcall;
function SetStoreCustomPage(const SetStoreCustomPageRequest: SetStoreCustomPageRequest): SetStoreCustomPageResponse; stdcall;
function SetStorePreferences(const SetStorePreferencesRequest: SetStorePreferencesRequest): SetStorePreferencesResponse; stdcall;
function SetTaxTable(const SetTaxTableRequest: SetTaxTableRequest): SetTaxTableResponse; stdcall;
function SetUserNotes(const SetUserNotesRequest: SetUserNotesRequest): SetUserNotesResponse; stdcall;
function SetUserPreferences(const SetUserPreferencesRequest: SetUserPreferencesRequest): SetUserPreferencesResponse; stdcall;
function UploadSiteHostedPictures(const UploadSiteHostedPicturesRequest: UploadSiteHostedPicturesRequest): UploadSiteHostedPicturesResponse; stdcall;
function ValidateChallengeInput(const ValidateChallengeInputRequest: ValidateChallengeInputRequest): ValidateChallengeInputResponse; stdcall;
function ValidateTestUserRegistration(const ValidateTestUserRegistrationRequest: ValidateTestUserRegistrationRequest): ValidateTestUserRegistrationResponse; stdcall;
function VeROReportItems(const VeROReportItemsRequest: VeROReportItemsRequest): VeROReportItemsResponse; stdcall;
function VerifyAddItem(const VerifyAddItemRequest: VerifyAddItemRequest): VerifyAddItemResponse; stdcall;
function VerifyAddSecondChanceItem(const VerifyAddSecondChanceItemRequest: VerifyAddSecondChanceItemRequest): VerifyAddSecondChanceItemResponse; stdcall;
end;
function GeteBayAPIInterface(UseWSDL: Boolean=System.False; Addr: string=''; HTTPRIO: THTTPRIO = nil): eBayAPIInterface;
implementation
function GeteBayAPIInterface(UseWSDL: Boolean; Addr: string; HTTPRIO: THTTPRIO): eBayAPIInterface;
const
defWSDL = 'http://developer.ebay.com/webservices/latest/eBaySvc.wsdl';
defURL = 'https://api.ebay.com/wsapi';
defSvc = 'eBayAPIInterfaceService';
defPrt = 'eBayAPI';
var
RIO: THTTPRIO;
begin
Result := nil;
if (Addr = '') then
begin
if UseWSDL then
Addr := defWSDL
else
Addr := defURL;
end;
if HTTPRIO = nil then
RIO := THTTPRIO.Create(nil)
else
RIO := HTTPRIO;
try
Result := (RIO as eBayAPIInterface);
if UseWSDL then
begin
RIO.WSDLLocation := Addr;
RIO.Service := defSvc;
RIO.Port := defPrt;
end else
RIO.URL := Addr;
finally
if (Result = nil) and (HTTPRIO = nil) then
RIO.Free;
end;
end;
destructor CustomSecurityHeaderType.Destroy;
begin
if Assigned(FCredentials) then
FCredentials.Free;
inherited Destroy;
end;
destructor LiveAuctionDetailsType.Destroy;
begin
if Assigned(FHighEstimate) then
FHighEstimate.Free;
if Assigned(FLowEstimate) then
FLowEstimate.Free;
inherited Destroy;
end;
destructor BestOfferDetailsType.Destroy;
begin
if Assigned(FBestOffer) then
FBestOffer.Free;
inherited Destroy;
end;
destructor BiddingDetailsType.Destroy;
begin
if Assigned(FConvertedMaxBid) then
FConvertedMaxBid.Free;
if Assigned(FMaxBid) then
FMaxBid.Free;
inherited Destroy;
end;
destructor PromotionDetailsType.Destroy;
begin
if Assigned(FPromotionPrice) then
FPromotionPrice.Free;
if Assigned(FConvertedPromotionPrice) then
FConvertedPromotionPrice.Free;
inherited Destroy;
end;
destructor PromotedItemType.Destroy;
begin
if Assigned(FPromotionDetails) then
FPromotionDetails.Free;
if Assigned(FTimeLeft) then
FTimeLeft.Free;
inherited Destroy;
end;
destructor CrossPromotionsType.Destroy;
begin
if Assigned(FPromotedItem) then
FPromotedItem.Free;
inherited Destroy;
end;
destructor ListingDetailsType.Destroy;
begin
if Assigned(FConvertedBuyItNowPrice) then
FConvertedBuyItNowPrice.Free;
if Assigned(FConvertedStartPrice) then
FConvertedStartPrice.Free;
if Assigned(FConvertedReservePrice) then
FConvertedReservePrice.Free;
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
if Assigned(FMinimumBestOfferPrice) then
FMinimumBestOfferPrice.Free;
if Assigned(FExpressItemRequirements) then
FExpressItemRequirements.Free;
if Assigned(FBestOfferAutoAcceptPrice) then
FBestOfferAutoAcceptPrice.Free;
inherited Destroy;
end;
destructor CharacteristicType.Destroy;
begin
if Assigned(FLabel_) then
FLabel_.Free;
if Assigned(FValueList) then
FValueList.Free;
inherited Destroy;
end;
destructor CharacteristicsSetType.Destroy;
begin
if Assigned(FCharacteristics) then
FCharacteristics.Free;
inherited Destroy;
end;
destructor CategoryType.Destroy;
begin
if Assigned(FProductFinderIDs) then
FProductFinderIDs.Free;
if Assigned(FCharacteristicsSets) then
FCharacteristicsSets.Free;
inherited Destroy;
end;
destructor BuyerType.Destroy;
begin
if Assigned(FShippingAddress) then
FShippingAddress.Free;
inherited Destroy;
end;
destructor ProStoresCheckoutPreferenceType.Destroy;
begin
if Assigned(FProStoresDetails) then
FProStoresDetails.Free;
inherited Destroy;
end;
destructor ExpressSellerRequirementsType.Destroy;
begin
if Assigned(FFeedbackScore) then
FFeedbackScore.Free;
if Assigned(FPositiveFeedbackPercent) then
FPositiveFeedbackPercent.Free;
if Assigned(FFeedbackAsSellerScore) then
FFeedbackAsSellerScore.Free;
if Assigned(FPositiveFeedbackAsSellerPercent) then
FPositiveFeedbackAsSellerPercent.Free;
inherited Destroy;
end;
destructor SellerType.Destroy;
begin
if Assigned(FSellerPaymentAddress) then
FSellerPaymentAddress.Free;
if Assigned(FSchedulingInfo) then
FSchedulingInfo.Free;
if Assigned(FProStoresPreference) then
FProStoresPreference.Free;
if Assigned(FExpressSellerRequirements) then
FExpressSellerRequirements.Free;
inherited Destroy;
end;
destructor CharitySellerType.Destroy;
begin
if Assigned(FCharityAffiliation) then
FCharityAffiliation.Free;
inherited Destroy;
end;
destructor ItemBidDetailsType.Destroy;
begin
if Assigned(FLastBidTime) then
FLastBidTime.Free;
inherited Destroy;
end;
destructor BiddingSummaryType.Destroy;
begin
if Assigned(FItemBidDetails) then
FItemBidDetails.Free;
inherited Destroy;
end;
destructor UserType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCharityAffiliations)-1 do
if Assigned(FCharityAffiliations[I]) then
FCharityAffiliations[I].Free;
SetLength(FCharityAffiliations, 0);
if Assigned(FRegistrationAddress) then
FRegistrationAddress.Free;
if Assigned(FRegistrationDate) then
FRegistrationDate.Free;
if Assigned(FUserIDLastChanged) then
FUserIDLastChanged.Free;
if Assigned(FBuyerInfo) then
FBuyerInfo.Free;
if Assigned(FSellerInfo) then
FSellerInfo.Free;
if Assigned(FCharitySeller) then
FCharitySeller.Free;
if Assigned(FBiddingSummary) then
FBiddingSummary.Free;
inherited Destroy;
end;
destructor PromotionalSaleDetailsType.Destroy;
begin
if Assigned(FOriginalPrice) then
FOriginalPrice.Free;
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
destructor SellingStatusType.Destroy;
begin
if Assigned(FBidIncrement) then
FBidIncrement.Free;
if Assigned(FConvertedCurrentPrice) then
FConvertedCurrentPrice.Free;
if Assigned(FCurrentPrice) then
FCurrentPrice.Free;
if Assigned(FHighBidder) then
FHighBidder.Free;
if Assigned(FMinimumToBid) then
FMinimumToBid.Free;
if Assigned(FFinalValueFee) then
FFinalValueFee.Free;
if Assigned(FPromotionalSaleDetails) then
FPromotionalSaleDetails.Free;
inherited Destroy;
end;
destructor SalesTaxType.Destroy;
begin
if Assigned(FSalesTaxAmount) then
FSalesTaxAmount.Free;
inherited Destroy;
end;
destructor ShippingServiceOptionsType.Destroy;
begin
if Assigned(FShippingInsuranceCost) then
FShippingInsuranceCost.Free;
if Assigned(FShippingServiceCost) then
FShippingServiceCost.Free;
if Assigned(FShippingServiceAdditionalCost) then
FShippingServiceAdditionalCost.Free;
if Assigned(FShippingSurcharge) then
FShippingSurcharge.Free;
inherited Destroy;
end;
destructor InternationalShippingServiceOptionsType.Destroy;
begin
if Assigned(FShippingServiceCost) then
FShippingServiceCost.Free;
if Assigned(FShippingServiceAdditionalCost) then
FShippingServiceAdditionalCost.Free;
if Assigned(FShippingInsuranceCost) then
FShippingInsuranceCost.Free;
inherited Destroy;
end;
destructor InsuranceDetailsType.Destroy;
begin
if Assigned(FInsuranceFee) then
FInsuranceFee.Free;
inherited Destroy;
end;
destructor PromotionalShippingDiscountDetailsType.Destroy;
begin
if Assigned(FShippingCost) then
FShippingCost.Free;
if Assigned(FOrderAmount) then
FOrderAmount.Free;
inherited Destroy;
end;
destructor CalculatedShippingRateType.Destroy;
begin
if Assigned(FPackageDepth) then
FPackageDepth.Free;
if Assigned(FPackageLength) then
FPackageLength.Free;
if Assigned(FPackageWidth) then
FPackageWidth.Free;
if Assigned(FPackagingHandlingCosts) then
FPackagingHandlingCosts.Free;
if Assigned(FWeightMajor) then
FWeightMajor.Free;
if Assigned(FWeightMinor) then
FWeightMinor.Free;
if Assigned(FInternationalPackagingHandlingCosts) then
FInternationalPackagingHandlingCosts.Free;
inherited Destroy;
end;
destructor DiscountProfileType.Destroy;
begin
if Assigned(FEachAdditionalAmount) then
FEachAdditionalAmount.Free;
if Assigned(FEachAdditionalAmountOff) then
FEachAdditionalAmountOff.Free;
if Assigned(FWeightOff) then
FWeightOff.Free;
inherited Destroy;
end;
destructor CalculatedShippingDiscountType.Destroy;
begin
if Assigned(FDiscountProfile) then
FDiscountProfile.Free;
inherited Destroy;
end;
destructor FlatShippingDiscountType.Destroy;
begin
if Assigned(FDiscountProfile) then
FDiscountProfile.Free;
inherited Destroy;
end;
destructor ShippingDetailsType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTaxTable)-1 do
if Assigned(FTaxTable[I]) then
FTaxTable[I].Free;
SetLength(FTaxTable, 0);
if Assigned(FCalculatedShippingRate) then
FCalculatedShippingRate.Free;
if Assigned(FInsuranceFee) then
FInsuranceFee.Free;
if Assigned(FSalesTax) then
FSalesTax.Free;
if Assigned(FShippingServiceOptions) then
FShippingServiceOptions.Free;
if Assigned(FInternationalShippingServiceOption) then
FInternationalShippingServiceOption.Free;
if Assigned(FDefaultShippingCost) then
FDefaultShippingCost.Free;
if Assigned(FInsuranceDetails) then
FInsuranceDetails.Free;
if Assigned(FInternationalInsuranceDetails) then
FInternationalInsuranceDetails.Free;
if Assigned(FFlatShippingDiscount) then
FFlatShippingDiscount.Free;
if Assigned(FCalculatedShippingDiscount) then
FCalculatedShippingDiscount.Free;
if Assigned(FInternationalFlatShippingDiscount) then
FInternationalFlatShippingDiscount.Free;
if Assigned(FInternationalCalculatedShippingDiscount) then
FInternationalCalculatedShippingDiscount.Free;
if Assigned(FPromotionalShippingDiscountDetails) then
FPromotionalShippingDiscountDetails.Free;
inherited Destroy;
end;
destructor BuyerRequirementsType.Destroy;
begin
if Assigned(FMaximumItemRequirements) then
FMaximumItemRequirements.Free;
if Assigned(FVerifiedUserRequirements) then
FVerifiedUserRequirements.Free;
inherited Destroy;
end;
destructor ContactHoursDetailsType.Destroy;
begin
if Assigned(FHours1From) then
FHours1From.Free;
if Assigned(FHours1To) then
FHours1To.Free;
if Assigned(FHours2From) then
FHours2From.Free;
if Assigned(FHours2To) then
FHours2To.Free;
inherited Destroy;
end;
destructor ExtendedContactDetailsType.Destroy;
begin
if Assigned(FContactHoursDetails) then
FContactHoursDetails.Free;
inherited Destroy;
end;
destructor ItemType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FLookupAttributeArray)-1 do
if Assigned(FLookupAttributeArray[I]) then
FLookupAttributeArray[I].Free;
SetLength(FLookupAttributeArray, 0);
for I := 0 to Length(FItemSpecifics)-1 do
if Assigned(FItemSpecifics[I]) then
FItemSpecifics[I].Free;
SetLength(FItemSpecifics, 0);
if Assigned(FPaymentDetails) then
FPaymentDetails.Free;
if Assigned(FBiddingDetails) then
FBiddingDetails.Free;
if Assigned(FBuyItNowPrice) then
FBuyItNowPrice.Free;
if Assigned(FCharity) then
FCharity.Free;
if Assigned(FCrossPromotion) then
FCrossPromotion.Free;
if Assigned(FDistance) then
FDistance.Free;
if Assigned(FListingDetails) then
FListingDetails.Free;
if Assigned(FListingDesigner) then
FListingDesigner.Free;
if Assigned(FPrimaryCategory) then
FPrimaryCategory.Free;
if Assigned(FProductListingDetails) then
FProductListingDetails.Free;
if Assigned(FReservePrice) then
FReservePrice.Free;
if Assigned(FReviseStatus) then
FReviseStatus.Free;
if Assigned(FScheduleTime) then
FScheduleTime.Free;
if Assigned(FSecondaryCategory) then
FSecondaryCategory.Free;
if Assigned(FFreeAddedCategory) then
FFreeAddedCategory.Free;
if Assigned(FSeller) then
FSeller.Free;
if Assigned(FSellingStatus) then
FSellingStatus.Free;
if Assigned(FShippingDetails) then
FShippingDetails.Free;
if Assigned(FStartPrice) then
FStartPrice.Free;
if Assigned(FStorefront) then
FStorefront.Free;
if Assigned(FTimeLeft) then
FTimeLeft.Free;
if Assigned(FVATDetails) then
FVATDetails.Free;
if Assigned(FBuyerRequirements) then
FBuyerRequirements.Free;
if Assigned(FBestOfferDetails) then
FBestOfferDetails.Free;
if Assigned(FLiveAuctionDetails) then
FLiveAuctionDetails.Free;
if Assigned(FSearchDetails) then
FSearchDetails.Free;
if Assigned(FExternalProductID) then
FExternalProductID.Free;
if Assigned(FPictureDetails) then
FPictureDetails.Free;
if Assigned(FDigitalDeliveryDetails) then
FDigitalDeliveryDetails.Free;
if Assigned(FListingCheckoutRedirectPreference) then
FListingCheckoutRedirectPreference.Free;
if Assigned(FExpressDetails) then
FExpressDetails.Free;
if Assigned(FSellerContactDetails) then
FSellerContactDetails.Free;
if Assigned(FExtendedSellerContactDetails) then
FExtendedSellerContactDetails.Free;
if Assigned(FClassifiedAdPayPerLeadFee) then
FClassifiedAdPayPerLeadFee.Free;
if Assigned(FApplyBuyerProtection) then
FApplyBuyerProtection.Free;
inherited Destroy;
end;
destructor FeeType.Destroy;
begin
if Assigned(FFee) then
FFee.Free;
inherited Destroy;
end;
destructor AddMemberMessagesAAQToBidderRequestContainerType.Destroy;
begin
if Assigned(FMemberMessage) then
FMemberMessage.Free;
inherited Destroy;
end;
destructor CheckoutStatusType.Destroy;
begin
if Assigned(FLastModifiedTime) then
FLastModifiedTime.Free;
inherited Destroy;
end;
destructor ExternalTransactionType.Destroy;
begin
if Assigned(FExternalTransactionTime) then
FExternalTransactionTime.Free;
if Assigned(FFeeOrCreditAmount) then
FFeeOrCreditAmount.Free;
if Assigned(FPaymentOrRefundAmount) then
FPaymentOrRefundAmount.Free;
inherited Destroy;
end;
destructor OrderType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTransactionArray)-1 do
if Assigned(FTransactionArray[I]) then
FTransactionArray[I].Free;
SetLength(FTransactionArray, 0);
if Assigned(FAdjustmentAmount) then
FAdjustmentAmount.Free;
if Assigned(FAmountPaid) then
FAmountPaid.Free;
if Assigned(FAmountSaved) then
FAmountSaved.Free;
if Assigned(FCheckoutStatus) then
FCheckoutStatus.Free;
if Assigned(FShippingDetails) then
FShippingDetails.Free;
if Assigned(FCreatedTime) then
FCreatedTime.Free;
if Assigned(FShippingAddress) then
FShippingAddress.Free;
if Assigned(FShippingServiceSelected) then
FShippingServiceSelected.Free;
if Assigned(FSubtotal) then
FSubtotal.Free;
if Assigned(FTotal) then
FTotal.Free;
if Assigned(FExternalTransaction) then
FExternalTransaction.Free;
if Assigned(FPaidTime) then
FPaidTime.Free;
if Assigned(FShippedTime) then
FShippedTime.Free;
inherited Destroy;
end;
destructor TransactionStatusType.Destroy;
begin
if Assigned(FLastTimeModified) then
FLastTimeModified.Free;
inherited Destroy;
end;
destructor SellingManagerProductDetailsType.Destroy;
begin
if Assigned(FUnitCost) then
FUnitCost.Free;
inherited Destroy;
end;
destructor TransactionType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FRefundArray)-1 do
if Assigned(FRefundArray[I]) then
FRefundArray[I].Free;
SetLength(FRefundArray, 0);
if Assigned(FAmountPaid) then
FAmountPaid.Free;
if Assigned(FAdjustmentAmount) then
FAdjustmentAmount.Free;
if Assigned(FConvertedAdjustmentAmount) then
FConvertedAdjustmentAmount.Free;
if Assigned(FBuyer) then
FBuyer.Free;
if Assigned(FShippingDetails) then
FShippingDetails.Free;
if Assigned(FConvertedAmountPaid) then
FConvertedAmountPaid.Free;
if Assigned(FConvertedTransactionPrice) then
FConvertedTransactionPrice.Free;
if Assigned(FCreatedDate) then
FCreatedDate.Free;
if Assigned(FItem) then
FItem.Free;
if Assigned(FStatus) then
FStatus.Free;
if Assigned(FTransactionPrice) then
FTransactionPrice.Free;
if Assigned(FVATPercent) then
FVATPercent.Free;
if Assigned(FExternalTransaction) then
FExternalTransaction.Free;
if Assigned(FSellingManagerProductDetails) then
FSellingManagerProductDetails.Free;
if Assigned(FShippingServiceSelected) then
FShippingServiceSelected.Free;
if Assigned(FDutchAuctionBid) then
FDutchAuctionBid.Free;
if Assigned(FPaidTime) then
FPaidTime.Free;
if Assigned(FShippedTime) then
FShippedTime.Free;
if Assigned(FTotalPrice) then
FTotalPrice.Free;
if Assigned(FFeedbackLeft) then
FFeedbackLeft.Free;
if Assigned(FFeedbackReceived) then
FFeedbackReceived.Free;
if Assigned(FContainingOrder) then
FContainingOrder.Free;
if Assigned(FFinalValueFee) then
FFinalValueFee.Free;
if Assigned(FListingCheckoutRedirectPreference) then
FListingCheckoutRedirectPreference.Free;
inherited Destroy;
end;
destructor RefundType.Destroy;
begin
if Assigned(FRefundFromSeller) then
FRefundFromSeller.Free;
if Assigned(FTotalRefundToBuyer) then
FTotalRefundToBuyer.Free;
if Assigned(FRefundTime) then
FRefundTime.Free;
inherited Destroy;
end;
destructor BidApprovalType.Destroy;
begin
if Assigned(FApprovedBiddingLimit) then
FApprovedBiddingLimit.Free;
inherited Destroy;
end;
destructor AdditionalAccountType.Destroy;
begin
if Assigned(FBalance) then
FBalance.Free;
inherited Destroy;
end;
destructor AccountSummaryType.Destroy;
begin
if Assigned(FInvoicePayment) then
FInvoicePayment.Free;
if Assigned(FInvoiceCredit) then
FInvoiceCredit.Free;
if Assigned(FInvoiceNewFee) then
FInvoiceNewFee.Free;
if Assigned(FAdditionalAccount) then
FAdditionalAccount.Free;
if Assigned(FAmountPastDue) then
FAmountPastDue.Free;
if Assigned(FBankModifyDate) then
FBankModifyDate.Free;
if Assigned(FCreditCardExpiration) then
FCreditCardExpiration.Free;
if Assigned(FCreditCardModifyDate) then
FCreditCardModifyDate.Free;
if Assigned(FCurrentBalance) then
FCurrentBalance.Free;
if Assigned(FInvoiceBalance) then
FInvoiceBalance.Free;
if Assigned(FInvoiceDate) then
FInvoiceDate.Free;
if Assigned(FLastAmountPaid) then
FLastAmountPaid.Free;
if Assigned(FLastPaymentDate) then
FLastPaymentDate.Free;
inherited Destroy;
end;
destructor AccountEntryType.Destroy;
begin
if Assigned(FBalance) then
FBalance.Free;
if Assigned(FDate) then
FDate.Free;
if Assigned(FGrossDetailAmount) then
FGrossDetailAmount.Free;
if Assigned(FNetDetailAmount) then
FNetDetailAmount.Free;
if Assigned(FVATPercent) then
FVATPercent.Free;
inherited Destroy;
end;
destructor AdFormatLeadType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FMemberMessage)-1 do
if Assigned(FMemberMessage[I]) then
FMemberMessage[I].Free;
SetLength(FMemberMessage, 0);
if Assigned(FAddress) then
FAddress.Free;
if Assigned(FSubmittedTime) then
FSubmittedTime.Free;
if Assigned(FLeadFee) then
FLeadFee.Free;
inherited Destroy;
end;
destructor MemberMessageExchangeType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
if Assigned(FQuestion) then
FQuestion.Free;
if Assigned(FCreationDate) then
FCreationDate.Free;
if Assigned(FLastModifiedDate) then
FLastModifiedDate.Free;
inherited Destroy;
end;
destructor OfferType.Destroy;
begin
if Assigned(FMaxBid) then
FMaxBid.Free;
if Assigned(FTimeBid) then
FTimeBid.Free;
if Assigned(FHighestBid) then
FHighestBid.Free;
if Assigned(FConvertedPrice) then
FConvertedPrice.Free;
if Assigned(FUser) then
FUser.Free;
inherited Destroy;
end;
destructor ApiAccessRuleType.Destroy;
begin
if Assigned(FPeriodicStartDate) then
FPeriodicStartDate.Free;
if Assigned(FModTime) then
FModTime.Free;
inherited Destroy;
end;
destructor BestOfferType.Destroy;
begin
if Assigned(FExpirationTime) then
FExpirationTime.Free;
if Assigned(FBuyer) then
FBuyer.Free;
if Assigned(FPrice) then
FPrice.Free;
inherited Destroy;
end;
destructor CheckoutOrderDetailType.Destroy;
begin
if Assigned(FTotalCartMerchandiseCost) then
FTotalCartMerchandiseCost.Free;
if Assigned(FTotalCartShippingCost) then
FTotalCartShippingCost.Free;
if Assigned(FTotalTaxAmount) then
FTotalTaxAmount.Free;
if Assigned(FTotalAmount) then
FTotalAmount.Free;
inherited Destroy;
end;
destructor CartType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCartItemArray)-1 do
if Assigned(FCartItemArray[I]) then
FCartItemArray[I].Free;
SetLength(FCartItemArray, 0);
if Assigned(FShippingAddress) then
FShippingAddress.Free;
if Assigned(FCreationTime) then
FCreationTime.Free;
if Assigned(FExpirationTime) then
FExpirationTime.Free;
if Assigned(FCheckoutCompleteRedirect) then
FCheckoutCompleteRedirect.Free;
if Assigned(FOrderDetail) then
FOrderDetail.Free;
inherited Destroy;
end;
destructor CartItemType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
destructor SiteWideCharacteristicsType.Destroy;
begin
if Assigned(FCharacteristicsSet) then
FCharacteristicsSet.Free;
inherited Destroy;
end;
destructor CategoryFeatureType.Destroy;
begin
if Assigned(FListingDuration) then
FListingDuration.Free;
inherited Destroy;
end;
destructor SiteDefaultsType.Destroy;
begin
if Assigned(FListingDuration) then
FListingDuration.Free;
inherited Destroy;
end;
destructor FeatureDefinitionsType.Destroy;
begin
if Assigned(FShippingTermsRequired) then
FShippingTermsRequired.Free;
if Assigned(FBestOfferEnabled) then
FBestOfferEnabled.Free;
if Assigned(FDutchBINEnabled) then
FDutchBINEnabled.Free;
if Assigned(FUserConsentRequired) then
FUserConsentRequired.Free;
if Assigned(FHomePageFeaturedEnabled) then
FHomePageFeaturedEnabled.Free;
if Assigned(FProPackEnabled) then
FProPackEnabled.Free;
if Assigned(FBasicUpgradePackEnabled) then
FBasicUpgradePackEnabled.Free;
if Assigned(FValuePackEnabled) then
FValuePackEnabled.Free;
if Assigned(FProPackPlusEnabled) then
FProPackPlusEnabled.Free;
if Assigned(FAdFormatEnabled) then
FAdFormatEnabled.Free;
if Assigned(FDigitalDeliveryEnabled) then
FDigitalDeliveryEnabled.Free;
if Assigned(FBestOfferCounterEnabled) then
FBestOfferCounterEnabled.Free;
if Assigned(FBestOfferAutoDeclineEnabled) then
FBestOfferAutoDeclineEnabled.Free;
if Assigned(FLocalMarketSpecialitySubscription) then
FLocalMarketSpecialitySubscription.Free;
if Assigned(FLocalMarketRegularSubscription) then
FLocalMarketRegularSubscription.Free;
if Assigned(FLocalMarketPremiumSubscription) then
FLocalMarketPremiumSubscription.Free;
if Assigned(FLocalMarketNonSubscription) then
FLocalMarketNonSubscription.Free;
if Assigned(FExpressEnabled) then
FExpressEnabled.Free;
if Assigned(FExpressPicturesRequired) then
FExpressPicturesRequired.Free;
if Assigned(FExpressConditionRequired) then
FExpressConditionRequired.Free;
if Assigned(FMinimumReservePrice) then
FMinimumReservePrice.Free;
if Assigned(FTransactionConfirmationRequestEnabled) then
FTransactionConfirmationRequestEnabled.Free;
if Assigned(FSellerContactDetailsEnabled) then
FSellerContactDetailsEnabled.Free;
if Assigned(FStoreInventoryEnabled) then
FStoreInventoryEnabled.Free;
if Assigned(FSkypeMeTransactionalEnabled) then
FSkypeMeTransactionalEnabled.Free;
if Assigned(FSkypeMeNonTransactionalEnabled) then
FSkypeMeNonTransactionalEnabled.Free;
if Assigned(FLocalListingDistancesRegular) then
FLocalListingDistancesRegular.Free;
if Assigned(FLocalListingDistancesSpecialty) then
FLocalListingDistancesSpecialty.Free;
if Assigned(FLocalListingDistancesNonSubscription) then
FLocalListingDistancesNonSubscription.Free;
if Assigned(FClassifiedAdPaymentMethodEnabled) then
FClassifiedAdPaymentMethodEnabled.Free;
if Assigned(FClassifiedAdShippingMethodEnabled) then
FClassifiedAdShippingMethodEnabled.Free;
if Assigned(FClassifiedAdBestOfferEnabled) then
FClassifiedAdBestOfferEnabled.Free;
if Assigned(FClassifiedAdCounterOfferEnabled) then
FClassifiedAdCounterOfferEnabled.Free;
if Assigned(FClassifiedAdAutoDeclineEnabled) then
FClassifiedAdAutoDeclineEnabled.Free;
if Assigned(FClassifiedAdContactByPhoneEnabled) then
FClassifiedAdContactByPhoneEnabled.Free;
if Assigned(FClassifiedAdContactByEmailEnabled) then
FClassifiedAdContactByEmailEnabled.Free;
if Assigned(FSafePaymentRequired) then
FSafePaymentRequired.Free;
if Assigned(FClassifiedAdPayPerLeadEnabled) then
FClassifiedAdPayPerLeadEnabled.Free;
if Assigned(FItemSpecificsEnabled) then
FItemSpecificsEnabled.Free;
if Assigned(FPaisaPayFullEscrowEnabled) then
FPaisaPayFullEscrowEnabled.Free;
if Assigned(FBestOfferAutoAcceptEnabled) then
FBestOfferAutoAcceptEnabled.Free;
if Assigned(FClassifiedAdAutoAcceptEnabled) then
FClassifiedAdAutoAcceptEnabled.Free;
inherited Destroy;
end;
destructor SearchLocationType.Destroy;
begin
if Assigned(FSiteLocation) then
FSiteLocation.Free;
inherited Destroy;
end;
destructor BuyingGuideType.Destroy;
begin
if Assigned(FCreationTime) then
FCreationTime.Free;
inherited Destroy;
end;
destructor BuyingGuideDetailsType.Destroy;
begin
if Assigned(FBuyingGuide) then
FBuyingGuide.Free;
inherited Destroy;
end;
destructor CategoryItemSpecificsType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemSpecifics)-1 do
if Assigned(FItemSpecifics[I]) then
FItemSpecifics[I].Free;
SetLength(FItemSpecifics, 0);
inherited Destroy;
end;
destructor ContextSearchAssetType.Destroy;
begin
if Assigned(FCategory) then
FCategory.Free;
inherited Destroy;
end;
destructor DisputeResolutionType.Destroy;
begin
if Assigned(FResolutionTime) then
FResolutionTime.Free;
inherited Destroy;
end;
destructor DisputeMessageType.Destroy;
begin
if Assigned(FMessageCreationTime) then
FMessageCreationTime.Free;
inherited Destroy;
end;
destructor DisputeType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
if Assigned(FDisputeCreatedTime) then
FDisputeCreatedTime.Free;
if Assigned(FDisputeModifiedTime) then
FDisputeModifiedTime.Free;
if Assigned(FDisputeResolution) then
FDisputeResolution.Free;
if Assigned(FDisputeMessage) then
FDisputeMessage.Free;
inherited Destroy;
end;
destructor ExpressProductType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemSpecifics)-1 do
if Assigned(FItemSpecifics[I]) then
FItemSpecifics[I].Free;
SetLength(FItemSpecifics, 0);
if Assigned(FMinPrice) then
FMinPrice.Free;
if Assigned(FMaxPrice) then
FMaxPrice.Free;
if Assigned(FExternalProductID) then
FExternalProductID.Free;
inherited Destroy;
end;
destructor WishListEntryType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
if Assigned(FProduct) then
FProduct.Free;
if Assigned(FCreationDate) then
FCreationDate.Free;
inherited Destroy;
end;
destructor WishListType.Destroy;
begin
if Assigned(FWishListEntry) then
FWishListEntry.Free;
inherited Destroy;
end;
destructor FeedbackDetailType.Destroy;
begin
if Assigned(FCommentTime) then
FCommentTime.Free;
if Assigned(FItemPrice) then
FItemPrice.Free;
inherited Destroy;
end;
destructor FeedbackSummaryType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidRetractionFeedbackPeriodArray)-1 do
if Assigned(FBidRetractionFeedbackPeriodArray[I]) then
FBidRetractionFeedbackPeriodArray[I].Free;
SetLength(FBidRetractionFeedbackPeriodArray, 0);
for I := 0 to Length(FNegativeFeedbackPeriodArray)-1 do
if Assigned(FNegativeFeedbackPeriodArray[I]) then
FNegativeFeedbackPeriodArray[I].Free;
SetLength(FNegativeFeedbackPeriodArray, 0);
for I := 0 to Length(FNeutralFeedbackPeriodArray)-1 do
if Assigned(FNeutralFeedbackPeriodArray[I]) then
FNeutralFeedbackPeriodArray[I].Free;
SetLength(FNeutralFeedbackPeriodArray, 0);
for I := 0 to Length(FPositiveFeedbackPeriodArray)-1 do
if Assigned(FPositiveFeedbackPeriodArray[I]) then
FPositiveFeedbackPeriodArray[I].Free;
SetLength(FPositiveFeedbackPeriodArray, 0);
for I := 0 to Length(FTotalFeedbackPeriodArray)-1 do
if Assigned(FTotalFeedbackPeriodArray[I]) then
FTotalFeedbackPeriodArray[I].Free;
SetLength(FTotalFeedbackPeriodArray, 0);
for I := 0 to Length(FSellerAverageRatingDetailArray)-1 do
if Assigned(FSellerAverageRatingDetailArray[I]) then
FSellerAverageRatingDetailArray[I].Free;
SetLength(FSellerAverageRatingDetailArray, 0);
inherited Destroy;
end;
destructor GetRecommendationsRequestContainerType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
destructor ItemSpecificsRecommendationsType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemSpecifics)-1 do
if Assigned(FItemSpecifics[I]) then
FItemSpecifics[I].Free;
SetLength(FItemSpecifics, 0);
inherited Destroy;
end;
destructor ListingAnalyzerRecommendationsType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FListingTipArray)-1 do
if Assigned(FListingTipArray[I]) then
FListingTipArray[I].Free;
SetLength(FListingTipArray, 0);
inherited Destroy;
end;
destructor ListingTipType.Destroy;
begin
if Assigned(FMessage_) then
FMessage_.Free;
if Assigned(FField) then
FField.Free;
inherited Destroy;
end;
destructor ProductInfoType.Destroy;
begin
if Assigned(FAverageStartPrice) then
FAverageStartPrice.Free;
if Assigned(FAverageSoldPrice) then
FAverageSoldPrice.Free;
inherited Destroy;
end;
destructor PricingRecommendationsType.Destroy;
begin
if Assigned(FProductInfo) then
FProductInfo.Free;
inherited Destroy;
end;
destructor GetRecommendationsResponseContainerType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FProductRecommendations)-1 do
if Assigned(FProductRecommendations[I]) then
FProductRecommendations[I].Free;
SetLength(FProductRecommendations, 0);
if Assigned(FListingAnalyzerRecommendations) then
FListingAnalyzerRecommendations.Free;
if Assigned(FSIFFTASRecommendations) then
FSIFFTASRecommendations.Free;
if Assigned(FPricingRecommendations) then
FPricingRecommendations.Free;
if Assigned(FAttributeRecommendations) then
FAttributeRecommendations.Free;
if Assigned(FItemSpecificsRecommendations) then
FItemSpecificsRecommendations.Free;
inherited Destroy;
end;
destructor PaginatedTransactionArrayType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTransactionArray)-1 do
if Assigned(FTransactionArray[I]) then
FTransactionArray[I].Free;
SetLength(FTransactionArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
destructor LiveAuctionBidType.Destroy;
begin
if Assigned(FRequestedBiddingLimit) then
FRequestedBiddingLimit.Free;
if Assigned(FApprovedBiddingLimit) then
FApprovedBiddingLimit.Free;
inherited Destroy;
end;
destructor BidderDetailType.Destroy;
begin
if Assigned(FLiveAuctionBidResult) then
FLiveAuctionBidResult.Free;
inherited Destroy;
end;
destructor ScheduleType.Destroy;
begin
if Assigned(FScheduleTime) then
FScheduleTime.Free;
inherited Destroy;
end;
destructor LiveAuctionCatalogType.Destroy;
begin
if Assigned(FSchedule) then
FSchedule.Free;
inherited Destroy;
end;
destructor MyMessagesSummaryType.Destroy;
begin
if Assigned(FFolderSummary) then
FFolderSummary.Free;
inherited Destroy;
end;
destructor MyMessagesResponseDetailsType.Destroy;
begin
if Assigned(FUserResponseDate) then
FUserResponseDate.Free;
inherited Destroy;
end;
destructor MyMessagesForwardDetailsType.Destroy;
begin
if Assigned(FUserForwardDate) then
FUserForwardDate.Free;
inherited Destroy;
end;
destructor MyMessagesAlertType.Destroy;
begin
if Assigned(FCreationDate) then
FCreationDate.Free;
if Assigned(FReceiveDate) then
FReceiveDate.Free;
if Assigned(FExpirationDate) then
FExpirationDate.Free;
if Assigned(FResolutionDate) then
FResolutionDate.Free;
if Assigned(FLastReadDate) then
FLastReadDate.Free;
if Assigned(FResponseDetails) then
FResponseDetails.Free;
if Assigned(FForwardDetails) then
FForwardDetails.Free;
if Assigned(FFolder) then
FFolder.Free;
inherited Destroy;
end;
destructor MyMessagesMessageType.Destroy;
begin
if Assigned(FCreationDate) then
FCreationDate.Free;
if Assigned(FReceiveDate) then
FReceiveDate.Free;
if Assigned(FExpirationDate) then
FExpirationDate.Free;
if Assigned(FResponseDetails) then
FResponseDetails.Free;
if Assigned(FForwardDetails) then
FForwardDetails.Free;
if Assigned(FFolder) then
FFolder.Free;
inherited Destroy;
end;
destructor ItemListCustomizationType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
destructor BuyingSummaryType.Destroy;
begin
if Assigned(FTotalWinningCost) then
FTotalWinningCost.Free;
if Assigned(FTotalWonCost) then
FTotalWonCost.Free;
inherited Destroy;
end;
destructor PaginatedItemArrayType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemArray)-1 do
if Assigned(FItemArray[I]) then
FItemArray[I].Free;
SetLength(FItemArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
destructor PaginatedOrderTransactionArrayType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FOrderTransactionArray)-1 do
if Assigned(FOrderTransactionArray[I]) then
FOrderTransactionArray[I].Free;
SetLength(FOrderTransactionArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
destructor OrderTransactionType.Destroy;
begin
if Assigned(FOrder) then
FOrder.Free;
if Assigned(FTransaction) then
FTransaction.Free;
inherited Destroy;
end;
destructor MyeBayFavoriteSearchListType.Destroy;
begin
if Assigned(FFavoriteSearch) then
FFavoriteSearch.Free;
inherited Destroy;
end;
destructor MyeBayFavoriteSellerListType.Destroy;
begin
if Assigned(FFavoriteSeller) then
FFavoriteSeller.Free;
inherited Destroy;
end;
destructor BidGroupItemType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
if Assigned(FMaxBidAmount) then
FMaxBidAmount.Free;
inherited Destroy;
end;
destructor BidGroupType.Destroy;
begin
if Assigned(FBidGroupItem) then
FBidGroupItem.Free;
inherited Destroy;
end;
destructor SellingSummaryType.Destroy;
begin
if Assigned(FTotalAuctionSellingValue) then
FTotalAuctionSellingValue.Free;
if Assigned(FTotalSoldValue) then
FTotalSoldValue.Free;
inherited Destroy;
end;
destructor MyeBaySellingSummaryType.Destroy;
begin
if Assigned(FTotalAuctionSellingValue) then
FTotalAuctionSellingValue.Free;
if Assigned(FTotalSoldValue) then
FTotalSoldValue.Free;
inherited Destroy;
end;
destructor NotificationUserDataType.Destroy;
begin
if Assigned(FSMSSubscription) then
FSMSSubscription.Free;
if Assigned(FSummarySchedule) then
FSummarySchedule.Free;
inherited Destroy;
end;
destructor NotificationDetailsType.Destroy;
begin
if Assigned(FExpirationTime) then
FExpirationTime.Free;
if Assigned(FNextRetryTime) then
FNextRetryTime.Free;
if Assigned(FDeliveryTime) then
FDeliveryTime.Free;
inherited Destroy;
end;
destructor MarkUpMarkDownEventType.Destroy;
begin
if Assigned(FTime) then
FTime.Free;
inherited Destroy;
end;
destructor PictureManagerPictureType.Destroy;
begin
if Assigned(FDate) then
FDate.Free;
if Assigned(FDisplayFormat) then
FDisplayFormat.Free;
inherited Destroy;
end;
destructor PictureManagerFolderType.Destroy;
begin
if Assigned(FPicture) then
FPicture.Free;
inherited Destroy;
end;
destructor PictureManagerDetailsType.Destroy;
begin
if Assigned(FFolder) then
FFolder.Free;
inherited Destroy;
end;
destructor PictureManagerSubscriptionType.Destroy;
begin
if Assigned(FFee) then
FFee.Free;
inherited Destroy;
end;
destructor SearchAttributesType.Destroy;
begin
if Assigned(FValueList) then
FValueList.Free;
inherited Destroy;
end;
destructor ProductSearchType.Destroy;
begin
if Assigned(FSearchAttributes) then
FSearchAttributes.Free;
if Assigned(FPagination) then
FPagination.Free;
if Assigned(FExternalProductID) then
FExternalProductID.Free;
inherited Destroy;
end;
destructor ProductType.Destroy;
begin
if Assigned(FCharacteristicsSet) then
FCharacteristicsSet.Free;
if Assigned(FMinPrice) then
FMinPrice.Free;
if Assigned(FMaxPrice) then
FMaxPrice.Free;
inherited Destroy;
end;
destructor ProductFamilyType.Destroy;
begin
if Assigned(FParentProduct) then
FParentProduct.Free;
if Assigned(FFamilyMembers) then
FFamilyMembers.Free;
inherited Destroy;
end;
destructor ResponseAttributeSetType.Destroy;
begin
if Assigned(FProductFamilies) then
FProductFamilies.Free;
if Assigned(FProductFinderConstraints) then
FProductFinderConstraints.Free;
inherited Destroy;
end;
destructor ProductSearchResultType.Destroy;
begin
if Assigned(FAttributeSet) then
FAttributeSet.Free;
inherited Destroy;
end;
destructor ProductSearchPageType.Destroy;
begin
if Assigned(FSearchCharacteristicsSet) then
FSearchCharacteristicsSet.Free;
if Assigned(FSortCharacteristics) then
FSortCharacteristics.Free;
if Assigned(FDataElementSet) then
FDataElementSet.Free;
inherited Destroy;
end;
destructor ReviewType.Destroy;
begin
if Assigned(FCreationTime) then
FCreationTime.Free;
inherited Destroy;
end;
destructor ReviewDetailsType.Destroy;
begin
if Assigned(FReview) then
FReview.Free;
inherited Destroy;
end;
destructor CatalogProductType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemSpecifics)-1 do
if Assigned(FItemSpecifics[I]) then
FItemSpecifics[I].Free;
SetLength(FItemSpecifics, 0);
if Assigned(FExternalProductID) then
FExternalProductID.Free;
if Assigned(FReviewDetails) then
FReviewDetails.Free;
inherited Destroy;
end;
destructor PromotionalSaleType.Destroy;
begin
if Assigned(FPromotionalSaleStartTime) then
FPromotionalSaleStartTime.Free;
if Assigned(FPromotionalSaleEndTime) then
FPromotionalSaleEndTime.Free;
inherited Destroy;
end;
destructor PriceRangeFilterType.Destroy;
begin
if Assigned(FMaxPrice) then
FMaxPrice.Free;
if Assigned(FMinPrice) then
FMinPrice.Free;
inherited Destroy;
end;
destructor SearchLocationFilterType.Destroy;
begin
if Assigned(FSearchLocation) then
FSearchLocation.Free;
inherited Destroy;
end;
destructor SearchRequestType.Destroy;
begin
if Assigned(FSearchAttributes) then
FSearchAttributes.Free;
inherited Destroy;
end;
destructor TicketDetailsType.Destroy;
begin
if Assigned(FEventDate) then
FEventDate.Free;
inherited Destroy;
end;
destructor SearchResultItemType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemSpecific)-1 do
if Assigned(FItemSpecific[I]) then
FItemSpecific[I].Free;
SetLength(FItemSpecific, 0);
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
destructor ExpansionArrayType.Destroy;
begin
if Assigned(FExpansionItem) then
FExpansionItem.Free;
inherited Destroy;
end;
destructor ExpressHistogramProductType.Destroy;
begin
if Assigned(FDomainDetails) then
FDomainDetails.Free;
inherited Destroy;
end;
destructor ExpressHistogramAisleType.Destroy;
begin
if Assigned(FDomainDetails) then
FDomainDetails.Free;
if Assigned(FProductType) then
FProductType.Free;
inherited Destroy;
end;
destructor ExpressHistogramDepartmentType.Destroy;
begin
if Assigned(FDomainDetails) then
FDomainDetails.Free;
if Assigned(FAisle) then
FAisle.Free;
inherited Destroy;
end;
destructor SellerPaymentType.Destroy;
begin
if Assigned(FExternalProductID) then
FExternalProductID.Free;
if Assigned(FTransactionPrice) then
FTransactionPrice.Free;
if Assigned(FShippingReimbursement) then
FShippingReimbursement.Free;
if Assigned(FCommission) then
FCommission.Free;
if Assigned(FAmountPaid) then
FAmountPaid.Free;
if Assigned(FPaidTime) then
FPaidTime.Free;
inherited Destroy;
end;
destructor CalculatedHandlingDiscountType.Destroy;
begin
if Assigned(FOrderHandlingAmount) then
FOrderHandlingAmount.Free;
if Assigned(FEachAdditionalAmount) then
FEachAdditionalAmount.Free;
if Assigned(FEachAdditionalOffAmount) then
FEachAdditionalOffAmount.Free;
inherited Destroy;
end;
destructor FlatRateInsuranceRangeCostType.Destroy;
begin
if Assigned(FInsuranceCost) then
FInsuranceCost.Free;
inherited Destroy;
end;
destructor ShippingInsuranceType.Destroy;
begin
if Assigned(FFlatRateInsuranceRangeCost) then
FFlatRateInsuranceRangeCost.Free;
inherited Destroy;
end;
destructor StoreColorSchemeType.Destroy;
begin
if Assigned(FColor) then
FColor.Free;
if Assigned(FFont) then
FFont.Free;
inherited Destroy;
end;
destructor StoreThemeType.Destroy;
begin
if Assigned(FColorScheme) then
FColorScheme.Free;
inherited Destroy;
end;
destructor StoreCustomCategoryType.Destroy;
begin
if Assigned(FChildCategory) then
FChildCategory.Free;
inherited Destroy;
end;
destructor StoreCustomListingHeaderType.Destroy;
begin
if Assigned(FLinkToInclude) then
FLinkToInclude.Free;
inherited Destroy;
end;
destructor StoreType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCustomCategories)-1 do
if Assigned(FCustomCategories[I]) then
FCustomCategories[I].Free;
SetLength(FCustomCategories, 0);
if Assigned(FLogo) then
FLogo.Free;
if Assigned(FTheme) then
FTheme.Free;
if Assigned(FCustomListingHeader) then
FCustomListingHeader.Free;
if Assigned(FLastOpenedTime) then
FLastOpenedTime.Free;
inherited Destroy;
end;
destructor StoreThemeArrayType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FGenericColorSchemeArray)-1 do
if Assigned(FGenericColorSchemeArray[I]) then
FGenericColorSchemeArray[I].Free;
SetLength(FGenericColorSchemeArray, 0);
if Assigned(FTheme) then
FTheme.Free;
inherited Destroy;
end;
destructor StoreSubscriptionType.Destroy;
begin
if Assigned(FFee) then
FFee.Free;
inherited Destroy;
end;
destructor StoreVacationPreferencesType.Destroy;
begin
if Assigned(FReturnDate) then
FReturnDate.Free;
inherited Destroy;
end;
destructor StorePreferencesType.Destroy;
begin
if Assigned(FVacationPreferences) then
FVacationPreferences.Free;
inherited Destroy;
end;
destructor SuggestedCategoryType.Destroy;
begin
if Assigned(FCategory) then
FCategory.Free;
inherited Destroy;
end;
destructor SellerPaymentPreferencesType.Destroy;
begin
if Assigned(FSellerPaymentAddress) then
FSellerPaymentAddress.Free;
inherited Destroy;
end;
destructor SellerFavoriteItemPreferencesType.Destroy;
begin
if Assigned(FMinPrice) then
FMinPrice.Free;
if Assigned(FMaxPrice) then
FMaxPrice.Free;
inherited Destroy;
end;
destructor CalculatedShippingPreferencesType.Destroy;
begin
if Assigned(FCalculatedShippingAmountForEntireOrder) then
FCalculatedShippingAmountForEntireOrder.Free;
inherited Destroy;
end;
destructor FlatShippingPreferencesType.Destroy;
begin
if Assigned(FAmountPerAdditionalItem) then
FAmountPerAdditionalItem.Free;
if Assigned(FDeductionAmountPerAdditionalItem) then
FDeductionAmountPerAdditionalItem.Free;
if Assigned(FFlatRateInsuranceRangeCost) then
FFlatRateInsuranceRangeCost.Free;
inherited Destroy;
end;
destructor CombinedPaymentPreferencesType.Destroy;
begin
if Assigned(FCalculatedShippingPreferences) then
FCalculatedShippingPreferences.Free;
if Assigned(FFlatShippingPreferences) then
FFlatShippingPreferences.Free;
inherited Destroy;
end;
destructor VeROSiteDetailType.Destroy;
begin
if Assigned(FReasonCodeDetail) then
FReasonCodeDetail.Free;
inherited Destroy;
end;
destructor WantItNowPostType.Destroy;
begin
if Assigned(FStartTime) then
FStartTime.Free;
inherited Destroy;
end;
destructor SiteHostedPictureDetailsType.Destroy;
begin
if Assigned(FPictureSetMember) then
FPictureSetMember.Free;
inherited Destroy;
end;
destructor AbstractRequestType.Destroy;
begin
if Assigned(FBotBlock) then
FBotBlock.Free;
inherited Destroy;
end;
constructor VeROReportItemsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor VeROReportItemsRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FReportItems)-1 do
if Assigned(FReportItems[I]) then
FReportItems[I].Free;
SetLength(FReportItems, 0);
inherited Destroy;
end;
constructor UploadSiteHostedPicturesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor UploadSiteHostedPicturesRequestType.Destroy;
begin
if Assigned(FPictureData) then
FPictureData.Free;
inherited Destroy;
end;
constructor LeaveFeedbackRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor LeaveFeedbackRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FSellerItemRatingDetailArray)-1 do
if Assigned(FSellerItemRatingDetailArray[I]) then
FSellerItemRatingDetailArray[I].Free;
SetLength(FSellerItemRatingDetailArray, 0);
inherited Destroy;
end;
constructor SetUserPreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetUserPreferencesRequestType.Destroy;
begin
if Assigned(FBidderNoticePreferences) then
FBidderNoticePreferences.Free;
if Assigned(FCombinedPaymentPreferences) then
FCombinedPaymentPreferences.Free;
if Assigned(FCrossPromotionPreferences) then
FCrossPromotionPreferences.Free;
if Assigned(FSellerPaymentPreferences) then
FSellerPaymentPreferences.Free;
if Assigned(FSellerFavoriteItemPreferences) then
FSellerFavoriteItemPreferences.Free;
if Assigned(FEndOfAuctionEmailPreferences) then
FEndOfAuctionEmailPreferences.Free;
if Assigned(FExpressPreferences) then
FExpressPreferences.Free;
inherited Destroy;
end;
constructor SetStorePreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetStorePreferencesRequestType.Destroy;
begin
if Assigned(FStorePreferences) then
FStorePreferences.Free;
inherited Destroy;
end;
constructor SetStoreCustomPageRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetStoreCustomPageRequestType.Destroy;
begin
if Assigned(FCustomPage) then
FCustomPage.Free;
inherited Destroy;
end;
constructor SetStoreCategoriesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetStoreCategoriesRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FStoreCategories)-1 do
if Assigned(FStoreCategories[I]) then
FStoreCategories[I].Free;
SetLength(FStoreCategories, 0);
inherited Destroy;
end;
constructor SetStoreRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetStoreRequestType.Destroy;
begin
if Assigned(FStore) then
FStore.Free;
inherited Destroy;
end;
constructor SetShippingDiscountProfilesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetShippingDiscountProfilesRequestType.Destroy;
begin
if Assigned(FFlatShippingDiscount) then
FFlatShippingDiscount.Free;
if Assigned(FCalculatedShippingDiscount) then
FCalculatedShippingDiscount.Free;
if Assigned(FCalculatedHandlingDiscount) then
FCalculatedHandlingDiscount.Free;
if Assigned(FPromotionalShippingDiscountDetails) then
FPromotionalShippingDiscountDetails.Free;
if Assigned(FShippingInsurance) then
FShippingInsurance.Free;
if Assigned(FInternationalShippingInsurance) then
FInternationalShippingInsurance.Free;
inherited Destroy;
end;
constructor GetSellerListRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerListRequestType.Destroy;
begin
if Assigned(FEndTimeFrom) then
FEndTimeFrom.Free;
if Assigned(FEndTimeTo) then
FEndTimeTo.Free;
if Assigned(FStartTimeFrom) then
FStartTimeFrom.Free;
if Assigned(FStartTimeTo) then
FStartTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetSellerTransactionsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerTransactionsRequestType.Destroy;
begin
if Assigned(FModTimeFrom) then
FModTimeFrom.Free;
if Assigned(FModTimeTo) then
FModTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetSearchResultsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSearchResultsRequestType.Destroy;
begin
if Assigned(FPriceRangeFilter) then
FPriceRangeFilter.Free;
if Assigned(FProximitySearch) then
FProximitySearch.Free;
if Assigned(FUserIdFilter) then
FUserIdFilter.Free;
if Assigned(FSearchLocationFilter) then
FSearchLocationFilter.Free;
if Assigned(FStoreSearchFilter) then
FStoreSearchFilter.Free;
if Assigned(FPagination) then
FPagination.Free;
if Assigned(FSearchRequest) then
FSearchRequest.Free;
if Assigned(FExternalProductID) then
FExternalProductID.Free;
if Assigned(FCategories) then
FCategories.Free;
if Assigned(FEndTimeFrom) then
FEndTimeFrom.Free;
if Assigned(FEndTimeTo) then
FEndTimeTo.Free;
if Assigned(FModTimeFrom) then
FModTimeFrom.Free;
if Assigned(FAffiliateTrackingDetails) then
FAffiliateTrackingDetails.Free;
if Assigned(FBidRange) then
FBidRange.Free;
if Assigned(FTicketFinder) then
FTicketFinder.Free;
if Assigned(FGroup) then
FGroup.Free;
inherited Destroy;
end;
constructor SetReturnURLRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetReturnURLRequestType.Destroy;
begin
if Assigned(FAuthenticationEntry) then
FAuthenticationEntry.Free;
inherited Destroy;
end;
constructor SetPromotionalSaleListingsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetPromotionalSaleRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetPromotionalSaleRequestType.Destroy;
begin
if Assigned(FPromotionalSaleDetails) then
FPromotionalSaleDetails.Free;
inherited Destroy;
end;
constructor GetProductSellingPagesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetProductSellingPagesRequestType.Destroy;
begin
if Assigned(FProduct) then
FProduct.Free;
inherited Destroy;
end;
constructor GetProductsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetProductsRequestType.Destroy;
begin
if Assigned(FProductSearch) then
FProductSearch.Free;
if Assigned(FAffiliateTrackingDetails) then
FAffiliateTrackingDetails.Free;
inherited Destroy;
end;
constructor SetPictureManagerDetailsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetPictureManagerDetailsRequestType.Destroy;
begin
if Assigned(FPictureManagerDetails) then
FPictureManagerDetails.Free;
inherited Destroy;
end;
constructor GetOrderTransactionsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetOrderTransactionsRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemTransactionIDArray)-1 do
if Assigned(FItemTransactionIDArray[I]) then
FItemTransactionIDArray[I].Free;
SetLength(FItemTransactionIDArray, 0);
inherited Destroy;
end;
constructor GetOrdersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetOrdersRequestType.Destroy;
begin
if Assigned(FCreateTimeFrom) then
FCreateTimeFrom.Free;
if Assigned(FCreateTimeTo) then
FCreateTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor SetNotificationPreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetNotificationPreferencesRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FUserDeliveryPreferenceArray)-1 do
if Assigned(FUserDeliveryPreferenceArray[I]) then
FUserDeliveryPreferenceArray[I].Free;
SetLength(FUserDeliveryPreferenceArray, 0);
if Assigned(FApplicationDeliveryPreferences) then
FApplicationDeliveryPreferences.Free;
if Assigned(FUserData) then
FUserData.Free;
if Assigned(FEventProperty) then
FEventProperty.Free;
inherited Destroy;
end;
constructor GetMyeBayRemindersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyeBayRemindersRequestType.Destroy;
begin
if Assigned(FBuyingReminders) then
FBuyingReminders.Free;
if Assigned(FSellingReminders) then
FSellingReminders.Free;
inherited Destroy;
end;
constructor GetMyeBayBuyingRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyeBayBuyingRequestType.Destroy;
begin
if Assigned(FWatchList) then
FWatchList.Free;
if Assigned(FBidList) then
FBidList.Free;
if Assigned(FBestOfferList) then
FBestOfferList.Free;
if Assigned(FWonList) then
FWonList.Free;
if Assigned(FLostList) then
FLostList.Free;
if Assigned(FFavoriteSearches) then
FFavoriteSearches.Free;
if Assigned(FFavoriteSellers) then
FFavoriteSellers.Free;
if Assigned(FSecondChanceOffer) then
FSecondChanceOffer.Free;
if Assigned(FBidAssistantList) then
FBidAssistantList.Free;
inherited Destroy;
end;
constructor GetMyeBaySellingRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyeBaySellingRequestType.Destroy;
begin
if Assigned(FScheduledList) then
FScheduledList.Free;
if Assigned(FActiveList) then
FActiveList.Free;
if Assigned(FSoldList) then
FSoldList.Free;
if Assigned(FUnsoldList) then
FUnsoldList.Free;
inherited Destroy;
end;
constructor SetMessagePreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetMessagePreferencesRequestType.Destroy;
begin
if Assigned(FASQPreferences) then
FASQPreferences.Free;
inherited Destroy;
end;
constructor GetCategoryListingsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategoryListingsRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
if Assigned(FSearchLocation) then
FSearchLocation.Free;
if Assigned(FProximitySearch) then
FProximitySearch.Free;
if Assigned(FGroup) then
FGroup.Free;
inherited Destroy;
end;
constructor SetCartRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetCartRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCartItemArray)-1 do
if Assigned(FCartItemArray[I]) then
FCartItemArray[I].Free;
SetLength(FCartItemArray, 0);
if Assigned(FAffiliateTrackingDetails) then
FAffiliateTrackingDetails.Free;
if Assigned(FShippingAddress) then
FShippingAddress.Free;
if Assigned(FCheckoutCompleteRedirect) then
FCheckoutCompleteRedirect.Free;
inherited Destroy;
end;
constructor GetCartRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCartRequestType.Destroy;
begin
if Assigned(FAffiliateTrackingDetails) then
FAffiliateTrackingDetails.Free;
if Assigned(FShippingAddress) then
FShippingAddress.Free;
inherited Destroy;
end;
constructor GetSearchResultsExpressRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSearchResultsExpressRequestType.Destroy;
begin
if Assigned(FHighestPrice) then
FHighestPrice.Free;
if Assigned(FLowestPrice) then
FLowestPrice.Free;
if Assigned(FAffiliateTrackingDetails) then
FAffiliateTrackingDetails.Free;
inherited Destroy;
end;
constructor PlaceOfferRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor PlaceOfferRequestType.Destroy;
begin
if Assigned(FOffer) then
FOffer.Free;
if Assigned(FAffiliateTrackingDetails) then
FAffiliateTrackingDetails.Free;
inherited Destroy;
end;
constructor GetAccountRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetAccountRequestType.Destroy;
begin
if Assigned(FInvoiceDate) then
FInvoiceDate.Free;
if Assigned(FBeginDate) then
FBeginDate.Free;
if Assigned(FEndDate) then
FEndDate.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetExpressWishListRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetExpressWishListRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetFeedbackRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetFeedbackRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetItemTransactionsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetItemTransactionsRequestType.Destroy;
begin
if Assigned(FModTimeFrom) then
FModTimeFrom.Free;
if Assigned(FModTimeTo) then
FModTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetItemsAwaitingFeedbackRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetItemsAwaitingFeedbackRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetLiveAuctionBiddersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetLiveAuctionBiddersRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetMemberMessagesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMemberMessagesRequestType.Destroy;
begin
if Assigned(FStartCreationTime) then
FStartCreationTime.Free;
if Assigned(FEndCreationTime) then
FEndCreationTime.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetPopularKeywordsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetPopularKeywordsRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetSellerPaymentsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerPaymentsRequestType.Destroy;
begin
if Assigned(FPaymentTimeFrom) then
FPaymentTimeFrom.Free;
if Assigned(FPaymentTimeTo) then
FPaymentTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetUserDisputesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetUserDisputesRequestType.Destroy;
begin
if Assigned(FModTimeFrom) then
FModTimeFrom.Free;
if Assigned(FModTimeTo) then
FModTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetVeROReportStatusRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetVeROReportStatusRequestType.Destroy;
begin
if Assigned(FTimeFrom) then
FTimeFrom.Free;
if Assigned(FTimeTo) then
FTimeTo.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetWantItNowSearchResultsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetWantItNowSearchResultsRequestType.Destroy;
begin
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor DeleteMyMessagesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetMyMessagesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyMessagesRequestType.Destroy;
begin
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor ReviseMyMessagesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ApproveLiveAuctionBiddersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ApproveLiveAuctionBiddersRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidApproval)-1 do
if Assigned(FBidApproval[I]) then
FBidApproval[I].Free;
SetLength(FBidApproval, 0);
if Assigned(FAllApprovedBiddingLimit) then
FAllApprovedBiddingLimit.Free;
inherited Destroy;
end;
constructor CompleteSaleRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor CompleteSaleRequestType.Destroy;
begin
if Assigned(FFeedbackInfo) then
FFeedbackInfo.Free;
inherited Destroy;
end;
constructor ReviseCheckoutStatusRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ReviseCheckoutStatusRequestType.Destroy;
begin
if Assigned(FAmountPaid) then
FAmountPaid.Free;
if Assigned(FAdjustmentAmount) then
FAdjustmentAmount.Free;
if Assigned(FShippingAddress) then
FShippingAddress.Free;
if Assigned(FShippingInsuranceCost) then
FShippingInsuranceCost.Free;
if Assigned(FSalesTax) then
FSalesTax.Free;
if Assigned(FShippingCost) then
FShippingCost.Free;
if Assigned(FExternalTransaction) then
FExternalTransaction.Free;
inherited Destroy;
end;
constructor AddOrderRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddOrderRequestType.Destroy;
begin
if Assigned(FOrder) then
FOrder.Free;
inherited Destroy;
end;
constructor AddMemberMessageAAQToPartnerRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddMemberMessageAAQToPartnerRequestType.Destroy;
begin
if Assigned(FMemberMessage) then
FMemberMessage.Free;
inherited Destroy;
end;
constructor AddMemberMessageRTQRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddMemberMessageRTQRequestType.Destroy;
begin
if Assigned(FMemberMessage) then
FMemberMessage.Free;
inherited Destroy;
end;
constructor SetTaxTableRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetTaxTableRequestType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTaxTable)-1 do
if Assigned(FTaxTable[I]) then
FTaxTable[I].Free;
SetLength(FTaxTable, 0);
inherited Destroy;
end;
constructor SendInvoiceRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SendInvoiceRequestType.Destroy;
begin
if Assigned(FInternationalShippingServiceOptions) then
FInternationalShippingServiceOptions.Free;
if Assigned(FShippingServiceOptions) then
FShippingServiceOptions.Free;
if Assigned(FSalesTax) then
FSalesTax.Free;
if Assigned(FInsuranceFee) then
FInsuranceFee.Free;
inherited Destroy;
end;
constructor GetContextualKeywordsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor VerifyAddItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor VerifyAddItemRequestType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
if Assigned(FExternalProductID) then
FExternalProductID.Free;
inherited Destroy;
end;
constructor GetPromotionRulesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetPromotionalSaleDetailsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetStoreRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetStoreCategoryUpdateStatusRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetStoreCustomPageRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetVeROReasonCodeDetailsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ReviseMyMessagesFoldersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddSecondChanceItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddSecondChanceItemRequestType.Destroy;
begin
if Assigned(FBuyItNowPrice) then
FBuyItNowPrice.Free;
inherited Destroy;
end;
constructor AddTransactionConfirmationItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddTransactionConfirmationItemRequestType.Destroy;
begin
if Assigned(FNegotiatedPrice) then
FNegotiatedPrice.Free;
inherited Destroy;
end;
constructor IssueRefundRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor IssueRefundRequestType.Destroy;
begin
if Assigned(FRefundAmount) then
FRefundAmount.Free;
inherited Destroy;
end;
constructor RespondToBestOfferRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor RespondToBestOfferRequestType.Destroy;
begin
if Assigned(FCounterOfferPrice) then
FCounterOfferPrice.Free;
inherited Destroy;
end;
constructor VerifyAddSecondChanceItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor VerifyAddSecondChanceItemRequestType.Destroy;
begin
if Assigned(FBuyItNowPrice) then
FBuyItNowPrice.Free;
inherited Destroy;
end;
constructor FetchTokenRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetAdFormatLeadsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetAllBiddersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetAttributesCSRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetBidderListRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetBidderListRequestType.Destroy;
begin
if Assigned(FEndTimeFrom) then
FEndTimeFrom.Free;
if Assigned(FEndTimeTo) then
FEndTimeTo.Free;
inherited Destroy;
end;
constructor GetCategoriesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetCategoryFeaturesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetCharitiesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetDescriptionTemplatesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetDescriptionTemplatesRequestType.Destroy;
begin
if Assigned(FLastModifiedTime) then
FLastModifiedTime.Free;
inherited Destroy;
end;
constructor GetItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetMessagePreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetSellerEventsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerEventsRequestType.Destroy;
begin
if Assigned(FStartTimeFrom) then
FStartTimeFrom.Free;
if Assigned(FStartTimeTo) then
FStartTimeTo.Free;
if Assigned(FEndTimeFrom) then
FEndTimeFrom.Free;
if Assigned(FEndTimeTo) then
FEndTimeTo.Free;
if Assigned(FModTimeFrom) then
FModTimeFrom.Free;
if Assigned(FModTimeTo) then
FModTimeTo.Free;
inherited Destroy;
end;
constructor GetUserRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetUserPreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor RemoveFromWatchListRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ValidateChallengeInputRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ValidateTestUserRegistrationRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ValidateTestUserRegistrationRequestType.Destroy;
begin
if Assigned(FRegistrationDate) then
FRegistrationDate.Free;
inherited Destroy;
end;
constructor AddItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddItemRequestType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor AddLiveAuctionItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddLiveAuctionItemRequestType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor RelistItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor RelistItemRequestType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor ReviseItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ReviseItemRequestType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor ReviseLiveAuctionItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ReviseLiveAuctionItemRequestType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor AddDisputeResponseRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddDisputeResponseRequestType.Destroy;
begin
if Assigned(FShippingTime) then
FShippingTime.Free;
inherited Destroy;
end;
constructor GetCategorySpecificsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategorySpecificsRequestType.Destroy;
begin
if Assigned(FLastUpdateTime) then
FLastUpdateTime.Free;
inherited Destroy;
end;
constructor GetNotificationsUsageRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetNotificationsUsageRequestType.Destroy;
begin
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor AddDisputeRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddToItemDescriptionRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor EndItemRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetApiAccessRulesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetAttributesXSLRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetBestOffersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetCategory2CSRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetCategoryMappingsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetChallengeTokenRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetCrossPromotionsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetDisputeRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetHighBiddersRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetItemShippingRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetLiveAuctionCatalogDetailsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetNotificationPreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetPictureManagerDetailsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetPictureManagerOptionsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetProductFinderRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetProductFinderXSLRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetProductSearchPageRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetReturnURLRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetRuNameRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetShippingDiscountProfilesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetStoreOptionsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetStorePreferencesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetSuggestedCategoriesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetTaxTableRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetUserContactDetailsRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetWantItNowPostRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GeteBayOfficialTimeRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor RespondToFeedbackRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor RespondToWantItNowPostRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SellerReverseDisputeRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetUserNotesRequestType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ErrorType.Destroy;
begin
if Assigned(FErrorParameters) then
FErrorParameters.Free;
inherited Destroy;
end;
destructor AbstractResponseType.Destroy;
begin
if Assigned(FTimestamp) then
FTimestamp.Free;
if Assigned(FErrors) then
FErrors.Free;
if Assigned(FDuplicateInvocationDetails) then
FDuplicateInvocationDetails.Free;
if Assigned(FBotBlock) then
FBotBlock.Free;
inherited Destroy;
end;
constructor ValidateTestUserRegistrationResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetUserPreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetUserNotesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetTaxTableResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetStorePreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetStoreResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetShippingDiscountProfilesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetReturnURLResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetPromotionalSaleListingsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetPictureManagerDetailsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetNotificationPreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetMessagePreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SendInvoiceResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SellerReverseDisputeResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ReviseMyMessagesFoldersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ReviseMyMessagesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor ReviseCheckoutStatusResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor RespondToWantItNowPostResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor RespondToFeedbackResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor RemoveFromWatchListResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor LeaveFeedbackResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GeteBayOfficialTimeResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetStoreCategoryUpdateStatusResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetRuNameResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetProductSellingPagesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetProductFinderResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetChallengeTokenResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetAttributesCSResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor DeleteMyMessagesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor CompleteSaleResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddToWatchListResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddToItemDescriptionResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddMemberMessageRTQResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddMemberMessageAAQToPartnerResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddDisputeResponseResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor AddDisputeResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor VerifyAddSecondChanceItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor VerifyAddSecondChanceItemResponseType.Destroy;
begin
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor FetchTokenResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor FetchTokenResponseType.Destroy;
begin
if Assigned(FHardExpirationTime) then
FHardExpirationTime.Free;
inherited Destroy;
end;
constructor EndItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor EndItemResponseType.Destroy;
begin
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor AddTransactionConfirmationItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddTransactionConfirmationItemResponseType.Destroy;
begin
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor AddSecondChanceItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddSecondChanceItemResponseType.Destroy;
begin
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor AddOrderResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddOrderResponseType.Destroy;
begin
if Assigned(FCreatedTime) then
FCreatedTime.Free;
inherited Destroy;
end;
constructor GetItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetItemResponseType.Destroy;
begin
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor ValidateChallengeInputResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor IssueRefundResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor IssueRefundResponseType.Destroy;
begin
if Assigned(FRefundFromSeller) then
FRefundFromSeller.Free;
if Assigned(FTotalRefundToBuyer) then
FTotalRefundToBuyer.Free;
inherited Destroy;
end;
constructor GetCrossPromotionsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCrossPromotionsResponseType.Destroy;
begin
if Assigned(FCrossPromotion) then
FCrossPromotion.Free;
inherited Destroy;
end;
constructor GetUserResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetUserResponseType.Destroy;
begin
if Assigned(FUser) then
FUser.Free;
inherited Destroy;
end;
constructor GetItemShippingResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetItemShippingResponseType.Destroy;
begin
if Assigned(FShippingDetails) then
FShippingDetails.Free;
inherited Destroy;
end;
constructor VeROReportItemsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetStoreCategoriesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor SetPromotionalSaleResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
constructor GetUserContactDetailsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetUserContactDetailsResponseType.Destroy;
begin
if Assigned(FContactAddress) then
FContactAddress.Free;
if Assigned(FRegistrationDate) then
FRegistrationDate.Free;
inherited Destroy;
end;
constructor GetTaxTableResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetTaxTableResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTaxTable)-1 do
if Assigned(FTaxTable[I]) then
FTaxTable[I].Free;
SetLength(FTaxTable, 0);
if Assigned(FLastUpdateTime) then
FLastUpdateTime.Free;
inherited Destroy;
end;
constructor VerifyAddItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor VerifyAddItemResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFees)-1 do
if Assigned(FFees[I]) then
FFees[I].Free;
SetLength(FFees, 0);
if Assigned(FExpressItemRequirements) then
FExpressItemRequirements.Free;
inherited Destroy;
end;
constructor ReviseLiveAuctionItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ReviseLiveAuctionItemResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFees)-1 do
if Assigned(FFees[I]) then
FFees[I].Free;
SetLength(FFees, 0);
inherited Destroy;
end;
constructor ReviseItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ReviseItemResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFees)-1 do
if Assigned(FFees[I]) then
FFees[I].Free;
SetLength(FFees, 0);
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor RelistItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor RelistItemResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFees)-1 do
if Assigned(FFees[I]) then
FFees[I].Free;
SetLength(FFees, 0);
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor AddLiveAuctionItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddLiveAuctionItemResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFees)-1 do
if Assigned(FFees[I]) then
FFees[I].Free;
SetLength(FFees, 0);
inherited Destroy;
end;
constructor AddItemResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor AddItemResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFees)-1 do
if Assigned(FFees[I]) then
FFees[I].Free;
SetLength(FFees, 0);
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
inherited Destroy;
end;
constructor ApproveLiveAuctionBiddersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor ApproveLiveAuctionBiddersResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidderUpdateStatus)-1 do
if Assigned(FBidderUpdateStatus[I]) then
FBidderUpdateStatus[I].Free;
SetLength(FBidderUpdateStatus, 0);
inherited Destroy;
end;
constructor GetSellerTransactionsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerTransactionsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTransactionArray)-1 do
if Assigned(FTransactionArray[I]) then
FTransactionArray[I].Free;
SetLength(FTransactionArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
if Assigned(FSeller) then
FSeller.Free;
inherited Destroy;
end;
constructor GetItemTransactionsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetItemTransactionsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FTransactionArray)-1 do
if Assigned(FTransactionArray[I]) then
FTransactionArray[I].Free;
SetLength(FTransactionArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor GetAccountResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetAccountResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FAccountEntries)-1 do
if Assigned(FAccountEntries[I]) then
FAccountEntries[I].Free;
SetLength(FAccountEntries, 0);
if Assigned(FAccountSummary) then
FAccountSummary.Free;
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetAdFormatLeadsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetAdFormatLeadsResponseType.Destroy;
begin
if Assigned(FAdFormatLead) then
FAdFormatLead.Free;
inherited Destroy;
end;
constructor GetMemberMessagesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMemberMessagesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FMemberMessage)-1 do
if Assigned(FMemberMessage[I]) then
FMemberMessage[I].Free;
SetLength(FMemberMessage, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetHighBiddersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetHighBiddersResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidArray)-1 do
if Assigned(FBidArray[I]) then
FBidArray[I].Free;
SetLength(FBidArray, 0);
inherited Destroy;
end;
constructor GetAllBiddersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetAllBiddersResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidArray)-1 do
if Assigned(FBidArray[I]) then
FBidArray[I].Free;
SetLength(FBidArray, 0);
if Assigned(FHighestBid) then
FHighestBid.Free;
inherited Destroy;
end;
constructor RespondToBestOfferResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor RespondToBestOfferResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FRespondToBestOffer)-1 do
if Assigned(FRespondToBestOffer[I]) then
FRespondToBestOffer[I].Free;
SetLength(FRespondToBestOffer, 0);
inherited Destroy;
end;
constructor GetBestOffersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetBestOffersResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBestOfferArray)-1 do
if Assigned(FBestOfferArray[I]) then
FBestOfferArray[I].Free;
SetLength(FBestOfferArray, 0);
if Assigned(FItem) then
FItem.Free;
inherited Destroy;
end;
constructor PlaceOfferResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor PlaceOfferResponseType.Destroy;
begin
if Assigned(FSellingStatus) then
FSellingStatus.Free;
if Assigned(FBestOffer) then
FBestOffer.Free;
inherited Destroy;
end;
constructor GetSellerListResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerListResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemArray)-1 do
if Assigned(FItemArray[I]) then
FItemArray[I].Free;
SetLength(FItemArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
if Assigned(FSeller) then
FSeller.Free;
inherited Destroy;
end;
constructor GetSellerEventsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerEventsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemArray)-1 do
if Assigned(FItemArray[I]) then
FItemArray[I].Free;
SetLength(FItemArray, 0);
if Assigned(FTimeTo) then
FTimeTo.Free;
inherited Destroy;
end;
constructor GetBidderListResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetBidderListResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidItemArray)-1 do
if Assigned(FBidItemArray[I]) then
FBidItemArray[I].Free;
SetLength(FBidItemArray, 0);
if Assigned(FBidder) then
FBidder.Free;
inherited Destroy;
end;
constructor SetCartResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetCartResponseType.Destroy;
begin
if Assigned(FCart) then
FCart.Free;
inherited Destroy;
end;
constructor GetCartResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCartResponseType.Destroy;
begin
if Assigned(FCart) then
FCart.Free;
inherited Destroy;
end;
constructor GetPopularKeywordsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetPopularKeywordsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCategoryArray)-1 do
if Assigned(FCategoryArray[I]) then
FCategoryArray[I].Free;
SetLength(FCategoryArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetCategoriesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategoriesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCategoryArray)-1 do
if Assigned(FCategoryArray[I]) then
FCategoryArray[I].Free;
SetLength(FCategoryArray, 0);
if Assigned(FUpdateTime) then
FUpdateTime.Free;
inherited Destroy;
end;
constructor GetCategory2CSResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategory2CSResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FMappedCategoryArray)-1 do
if Assigned(FMappedCategoryArray[I]) then
FMappedCategoryArray[I].Free;
SetLength(FMappedCategoryArray, 0);
for I := 0 to Length(FUnmappedCategoryArray)-1 do
if Assigned(FUnmappedCategoryArray[I]) then
FUnmappedCategoryArray[I].Free;
SetLength(FUnmappedCategoryArray, 0);
if Assigned(FSiteWideCharacteristicSets) then
FSiteWideCharacteristicSets.Free;
inherited Destroy;
end;
constructor GetCategoryFeaturesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategoryFeaturesResponseType.Destroy;
begin
if Assigned(FUpdateTime) then
FUpdateTime.Free;
if Assigned(FCategory) then
FCategory.Free;
if Assigned(FSiteDefaults) then
FSiteDefaults.Free;
if Assigned(FFeatureDefinitions) then
FFeatureDefinitions.Free;
inherited Destroy;
end;
constructor GetCategoryListingsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategoryListingsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FItemArray)-1 do
if Assigned(FItemArray[I]) then
FItemArray[I].Free;
SetLength(FItemArray, 0);
for I := 0 to Length(FSubCategories)-1 do
if Assigned(FSubCategories[I]) then
FSubCategories[I].Free;
SetLength(FSubCategories, 0);
if Assigned(FCategory) then
FCategory.Free;
if Assigned(FPaginationResult) then
FPaginationResult.Free;
if Assigned(FBuyingGuideDetails) then
FBuyingGuideDetails.Free;
inherited Destroy;
end;
constructor GetCategoryMappingsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetCategoryMappingsResponseType.Destroy;
begin
if Assigned(FCategoryMapping) then
FCategoryMapping.Free;
inherited Destroy;
end;
constructor GetDescriptionTemplatesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetDescriptionTemplatesResponseType.Destroy;
begin
if Assigned(FDescriptionTemplate) then
FDescriptionTemplate.Free;
if Assigned(FThemeGroup) then
FThemeGroup.Free;
inherited Destroy;
end;
constructor GetDisputeResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetDisputeResponseType.Destroy;
begin
if Assigned(FDispute) then
FDispute.Free;
inherited Destroy;
end;
constructor GetExpressWishListResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetExpressWishListResponseType.Destroy;
begin
if Assigned(FWishList) then
FWishList.Free;
if Assigned(FPagination) then
FPagination.Free;
inherited Destroy;
end;
constructor GetFeedbackResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetFeedbackResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FFeedbackDetailArray)-1 do
if Assigned(FFeedbackDetailArray[I]) then
FFeedbackDetailArray[I].Free;
SetLength(FFeedbackDetailArray, 0);
if Assigned(FFeedbackSummary) then
FFeedbackSummary.Free;
inherited Destroy;
end;
constructor GetItemsAwaitingFeedbackResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetItemsAwaitingFeedbackResponseType.Destroy;
begin
if Assigned(FItemsAwaitingFeedback) then
FItemsAwaitingFeedback.Free;
inherited Destroy;
end;
constructor GetLiveAuctionBiddersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetLiveAuctionBiddersResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidderDetails)-1 do
if Assigned(FBidderDetails[I]) then
FBidderDetails[I].Free;
SetLength(FBidderDetails, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetMessagePreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMessagePreferencesResponseType.Destroy;
begin
if Assigned(FASQPreferences) then
FASQPreferences.Free;
inherited Destroy;
end;
constructor GetMyMessagesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyMessagesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FAlerts)-1 do
if Assigned(FAlerts[I]) then
FAlerts[I].Free;
SetLength(FAlerts, 0);
for I := 0 to Length(FMessages)-1 do
if Assigned(FMessages[I]) then
FMessages[I].Free;
SetLength(FMessages, 0);
if Assigned(FSummary) then
FSummary.Free;
inherited Destroy;
end;
constructor GetMyeBayBuyingResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyeBayBuyingResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FBidAssistantList)-1 do
if Assigned(FBidAssistantList[I]) then
FBidAssistantList[I].Free;
SetLength(FBidAssistantList, 0);
if Assigned(FBuyingSummary) then
FBuyingSummary.Free;
if Assigned(FWatchList) then
FWatchList.Free;
if Assigned(FBidList) then
FBidList.Free;
if Assigned(FBestOfferList) then
FBestOfferList.Free;
if Assigned(FWonList) then
FWonList.Free;
if Assigned(FLostList) then
FLostList.Free;
if Assigned(FFavoriteSearches) then
FFavoriteSearches.Free;
if Assigned(FFavoriteSellers) then
FFavoriteSellers.Free;
if Assigned(FSecondChanceOffer) then
FSecondChanceOffer.Free;
inherited Destroy;
end;
constructor GetMyeBayRemindersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyeBayRemindersResponseType.Destroy;
begin
if Assigned(FBuyingReminders) then
FBuyingReminders.Free;
if Assigned(FSellingReminders) then
FSellingReminders.Free;
inherited Destroy;
end;
constructor GetMyeBaySellingResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetMyeBaySellingResponseType.Destroy;
begin
if Assigned(FSellingSummary) then
FSellingSummary.Free;
if Assigned(FScheduledList) then
FScheduledList.Free;
if Assigned(FActiveList) then
FActiveList.Free;
if Assigned(FSoldList) then
FSoldList.Free;
if Assigned(FUnsoldList) then
FUnsoldList.Free;
if Assigned(FSummary) then
FSummary.Free;
inherited Destroy;
end;
constructor GetNotificationPreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetNotificationPreferencesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FUserDeliveryPreferenceArray)-1 do
if Assigned(FUserDeliveryPreferenceArray[I]) then
FUserDeliveryPreferenceArray[I].Free;
SetLength(FUserDeliveryPreferenceArray, 0);
if Assigned(FApplicationDeliveryPreferences) then
FApplicationDeliveryPreferences.Free;
if Assigned(FUserData) then
FUserData.Free;
if Assigned(FEventProperty) then
FEventProperty.Free;
inherited Destroy;
end;
constructor GetNotificationsUsageResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetNotificationsUsageResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FNotificationDetailsArray)-1 do
if Assigned(FNotificationDetailsArray[I]) then
FNotificationDetailsArray[I].Free;
SetLength(FNotificationDetailsArray, 0);
for I := 0 to Length(FMarkUpMarkDownHistory)-1 do
if Assigned(FMarkUpMarkDownHistory[I]) then
FMarkUpMarkDownHistory[I].Free;
SetLength(FMarkUpMarkDownHistory, 0);
if Assigned(FStartTime) then
FStartTime.Free;
if Assigned(FEndTime) then
FEndTime.Free;
if Assigned(FNotificationStatistics) then
FNotificationStatistics.Free;
inherited Destroy;
end;
constructor GetOrdersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetOrdersResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FOrderArray)-1 do
if Assigned(FOrderArray[I]) then
FOrderArray[I].Free;
SetLength(FOrderArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetOrderTransactionsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetOrderTransactionsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FOrderArray)-1 do
if Assigned(FOrderArray[I]) then
FOrderArray[I].Free;
SetLength(FOrderArray, 0);
inherited Destroy;
end;
constructor GetPictureManagerDetailsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetPictureManagerDetailsResponseType.Destroy;
begin
if Assigned(FPictureManagerDetails) then
FPictureManagerDetails.Free;
inherited Destroy;
end;
constructor GetPictureManagerOptionsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetPictureManagerOptionsResponseType.Destroy;
begin
if Assigned(FSubscription) then
FSubscription.Free;
if Assigned(FPictureType) then
FPictureType.Free;
inherited Destroy;
end;
constructor GetProductSearchResultsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetProductSearchResultsResponseType.Destroy;
begin
if Assigned(FDataElementSets) then
FDataElementSets.Free;
if Assigned(FProductSearchResult) then
FProductSearchResult.Free;
inherited Destroy;
end;
constructor GetProductFamilyMembersResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetProductFamilyMembersResponseType.Destroy;
begin
if Assigned(FDataElementSets) then
FDataElementSets.Free;
if Assigned(FProductSearchResult) then
FProductSearchResult.Free;
inherited Destroy;
end;
constructor GetProductSearchPageResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetProductSearchPageResponseType.Destroy;
begin
if Assigned(FProductSearchPage) then
FProductSearchPage.Free;
inherited Destroy;
end;
constructor GetProductsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetProductsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCharacteristicsSetProductHistogram)-1 do
if Assigned(FCharacteristicsSetProductHistogram[I]) then
FCharacteristicsSetProductHistogram[I].Free;
SetLength(FCharacteristicsSetProductHistogram, 0);
for I := 0 to Length(FItemArray)-1 do
if Assigned(FItemArray[I]) then
FItemArray[I].Free;
SetLength(FItemArray, 0);
if Assigned(FProduct) then
FProduct.Free;
if Assigned(FBuyingGuideDetails) then
FBuyingGuideDetails.Free;
inherited Destroy;
end;
constructor GetPromotionRulesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetPromotionRulesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FPromotionRuleArray)-1 do
if Assigned(FPromotionRuleArray[I]) then
FPromotionRuleArray[I].Free;
SetLength(FPromotionRuleArray, 0);
inherited Destroy;
end;
constructor GetPromotionalSaleDetailsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetPromotionalSaleDetailsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FPromotionalSaleDetails)-1 do
if Assigned(FPromotionalSaleDetails[I]) then
FPromotionalSaleDetails[I].Free;
SetLength(FPromotionalSaleDetails, 0);
inherited Destroy;
end;
constructor GetReturnURLResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetReturnURLResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FAuthenticationEntryArray)-1 do
if Assigned(FAuthenticationEntryArray[I]) then
FAuthenticationEntryArray[I].Free;
SetLength(FAuthenticationEntryArray, 0);
inherited Destroy;
end;
constructor GetSearchResultsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSearchResultsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FSearchResultItemArray)-1 do
if Assigned(FSearchResultItemArray[I]) then
FSearchResultItemArray[I].Free;
SetLength(FSearchResultItemArray, 0);
for I := 0 to Length(FCategoryArray)-1 do
if Assigned(FCategoryArray[I]) then
FCategoryArray[I].Free;
SetLength(FCategoryArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
if Assigned(FBuyingGuideDetails) then
FBuyingGuideDetails.Free;
if Assigned(FStoreExpansionArray) then
FStoreExpansionArray.Free;
if Assigned(FInternationalExpansionArray) then
FInternationalExpansionArray.Free;
if Assigned(FFilterRemovedExpansionArray) then
FFilterRemovedExpansionArray.Free;
if Assigned(FAllCategoriesExpansionArray) then
FAllCategoriesExpansionArray.Free;
if Assigned(FSpellingSuggestion) then
FSpellingSuggestion.Free;
inherited Destroy;
end;
constructor GetSearchResultsExpressResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSearchResultsExpressResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FHistogram)-1 do
if Assigned(FHistogram[I]) then
FHistogram[I].Free;
SetLength(FHistogram, 0);
for I := 0 to Length(FItemArray)-1 do
if Assigned(FItemArray[I]) then
FItemArray[I].Free;
SetLength(FItemArray, 0);
for I := 0 to Length(FProductArray)-1 do
if Assigned(FProductArray[I]) then
FProductArray[I].Free;
SetLength(FProductArray, 0);
inherited Destroy;
end;
constructor GetSellerPaymentsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSellerPaymentsResponseType.Destroy;
begin
if Assigned(FPaginationResult) then
FPaginationResult.Free;
if Assigned(FSellerPayment) then
FSellerPayment.Free;
inherited Destroy;
end;
constructor GetShippingDiscountProfilesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetShippingDiscountProfilesResponseType.Destroy;
begin
if Assigned(FFlatShippingDiscount) then
FFlatShippingDiscount.Free;
if Assigned(FCalculatedShippingDiscount) then
FCalculatedShippingDiscount.Free;
if Assigned(FCalculatedHandlingDiscount) then
FCalculatedHandlingDiscount.Free;
if Assigned(FPromotionalShippingDiscountDetails) then
FPromotionalShippingDiscountDetails.Free;
if Assigned(FShippingInsurance) then
FShippingInsurance.Free;
if Assigned(FInternationalShippingInsurance) then
FInternationalShippingInsurance.Free;
inherited Destroy;
end;
constructor GetStoreResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetStoreResponseType.Destroy;
begin
if Assigned(FStore) then
FStore.Free;
inherited Destroy;
end;
constructor GetStoreCustomPageResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetStoreCustomPageResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FCustomPageArray)-1 do
if Assigned(FCustomPageArray[I]) then
FCustomPageArray[I].Free;
SetLength(FCustomPageArray, 0);
inherited Destroy;
end;
constructor SetStoreCustomPageResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor SetStoreCustomPageResponseType.Destroy;
begin
if Assigned(FCustomPage) then
FCustomPage.Free;
inherited Destroy;
end;
constructor GetStoreOptionsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetStoreOptionsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FLogoArray)-1 do
if Assigned(FLogoArray[I]) then
FLogoArray[I].Free;
SetLength(FLogoArray, 0);
for I := 0 to Length(FSubscriptionArray)-1 do
if Assigned(FSubscriptionArray[I]) then
FSubscriptionArray[I].Free;
SetLength(FSubscriptionArray, 0);
if Assigned(FBasicThemeArray) then
FBasicThemeArray.Free;
if Assigned(FAdvancedThemeArray) then
FAdvancedThemeArray.Free;
inherited Destroy;
end;
constructor GetStorePreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetStorePreferencesResponseType.Destroy;
begin
if Assigned(FStorePreferences) then
FStorePreferences.Free;
inherited Destroy;
end;
constructor GetSuggestedCategoriesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetSuggestedCategoriesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FSuggestedCategoryArray)-1 do
if Assigned(FSuggestedCategoryArray[I]) then
FSuggestedCategoryArray[I].Free;
SetLength(FSuggestedCategoryArray, 0);
inherited Destroy;
end;
constructor GetUserDisputesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetUserDisputesResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FDisputeArray)-1 do
if Assigned(FDisputeArray[I]) then
FDisputeArray[I].Free;
SetLength(FDisputeArray, 0);
if Assigned(FDisputeFilterCount) then
FDisputeFilterCount.Free;
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetUserPreferencesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetUserPreferencesResponseType.Destroy;
begin
if Assigned(FBidderNoticePreferences) then
FBidderNoticePreferences.Free;
if Assigned(FCombinedPaymentPreferences) then
FCombinedPaymentPreferences.Free;
if Assigned(FCrossPromotionPreferences) then
FCrossPromotionPreferences.Free;
if Assigned(FSellerPaymentPreferences) then
FSellerPaymentPreferences.Free;
if Assigned(FSellerFavoriteItemPreferences) then
FSellerFavoriteItemPreferences.Free;
if Assigned(FEndOfAuctionEmailPreferences) then
FEndOfAuctionEmailPreferences.Free;
if Assigned(FExpressPreferences) then
FExpressPreferences.Free;
if Assigned(FProStoresPreference) then
FProStoresPreference.Free;
inherited Destroy;
end;
constructor GetVeROReasonCodeDetailsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetVeROReasonCodeDetailsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FVeROReasonCodeDetails)-1 do
if Assigned(FVeROReasonCodeDetails[I]) then
FVeROReasonCodeDetails[I].Free;
SetLength(FVeROReasonCodeDetails, 0);
inherited Destroy;
end;
constructor GetVeROReportStatusResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetVeROReportStatusResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FReportedItemDetails)-1 do
if Assigned(FReportedItemDetails[I]) then
FReportedItemDetails[I].Free;
SetLength(FReportedItemDetails, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GetWantItNowPostResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetWantItNowPostResponseType.Destroy;
begin
if Assigned(FWantItNowPost) then
FWantItNowPost.Free;
inherited Destroy;
end;
constructor GetWantItNowSearchResultsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GetWantItNowSearchResultsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FWantItNowPostArray)-1 do
if Assigned(FWantItNowPostArray[I]) then
FWantItNowPostArray[I].Free;
SetLength(FWantItNowPostArray, 0);
if Assigned(FPaginationResult) then
FPaginationResult.Free;
inherited Destroy;
end;
constructor GeteBayDetailsResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor GeteBayDetailsResponseType.Destroy;
var
I: Integer;
begin
for I := 0 to Length(FUnitOfMeasurementDetails)-1 do
if Assigned(FUnitOfMeasurementDetails[I]) then
FUnitOfMeasurementDetails[I].Free;
SetLength(FUnitOfMeasurementDetails, 0);
if Assigned(FCountryDetails) then
FCountryDetails.Free;
if Assigned(FCurrencyDetails) then
FCurrencyDetails.Free;
if Assigned(FDispatchTimeMaxDetails) then
FDispatchTimeMaxDetails.Free;
if Assigned(FPaymentOptionDetails) then
FPaymentOptionDetails.Free;
if Assigned(FRegionDetails) then
FRegionDetails.Free;
if Assigned(FShippingLocationDetails) then
FShippingLocationDetails.Free;
if Assigned(FShippingServiceDetails) then
FShippingServiceDetails.Free;
if Assigned(FSiteDetails) then
FSiteDetails.Free;
if Assigned(FTaxJurisdiction) then
FTaxJurisdiction.Free;
if Assigned(FURLDetails) then
FURLDetails.Free;
if Assigned(FTimeZoneDetails) then
FTimeZoneDetails.Free;
if Assigned(FItemSpecificDetails) then
FItemSpecificDetails.Free;
if Assigned(FRegionOfOriginDetails) then
FRegionOfOriginDetails.Free;
if Assigned(FShippingPackageDetails) then
FShippingPackageDetails.Free;
if Assigned(FShippingCarrierDetails) then
FShippingCarrierDetails.Free;
inherited Destroy;
end;
constructor UploadSiteHostedPicturesResponseType.Create;
begin
inherited Create;
FSerializationOptions := [xoLiteralParam];
end;
destructor UploadSiteHostedPicturesResponseType.Destroy;
begin
if Assigned(FSiteHostedPictureDetails) then
FSiteHostedPictureDetails.Free;
inherited Destroy;
end;
initialization
InvRegistry.RegisterInterface(TypeInfo(eBayAPIInterface), 'urn:ebay:apis:eBLBaseComponents', 'UTF-8');
InvRegistry.RegisterDefaultSOAPAction(TypeInfo(eBayAPIInterface), '');
InvRegistry.RegisterInvokeOptions(TypeInfo(eBayAPIInterface), ioDocument);
InvRegistry.RegisterInvokeOptions(TypeInfo(eBayAPIInterface), ioLiteral);
InvRegistry.RegisterHeaderClass(TypeInfo(eBayAPIInterface), RequesterCredentials, 'RequesterCredentials', '');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessagesAAQToBidderRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessagesAAQToBidderRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessagesAAQToBidderResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessagesAAQToBidderResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddToWatchListRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddToWatchListRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetApiAccessRulesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetApiAccessRulesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAttributesXSLResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesXSLResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategorySpecificsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCategorySpecificsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCharitiesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCharitiesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetContextualKeywordsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetContextualKeywordsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemRecommendationsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetItemRecommendationsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemRecommendationsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetItemRecommendationsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetLiveAuctionCatalogDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionCatalogDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFamilyMembersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFamilyMembersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFinderXSLResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderXSLResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSearchResultsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchResultsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GeteBayDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GeteBayDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROReportItemsRequest), 'urn:ebay:apis:eBLBaseComponents', 'VeROReportItemsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(UploadSiteHostedPicturesRequest), 'urn:ebay:apis:eBLBaseComponents', 'UploadSiteHostedPicturesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(LeaveFeedbackRequest), 'urn:ebay:apis:eBLBaseComponents', 'LeaveFeedbackRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetUserPreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetUserPreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStorePreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetStorePreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStoreCustomPageRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCustomPageRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStoreCategoriesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCategoriesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStoreRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetStoreRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetShippingDiscountProfilesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetShippingDiscountProfilesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerListRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerListRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerTransactionsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerTransactionsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSearchResultsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetReturnURLRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetReturnURLRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetPromotionalSaleListingsRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleListingsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetPromotionalSaleRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSellingPagesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSellingPagesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetPictureManagerDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetPictureManagerDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetOrderTransactionsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetOrderTransactionsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetOrdersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetOrdersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetNotificationPreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetNotificationPreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyeBayRemindersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayRemindersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyeBayBuyingRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayBuyingRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyeBaySellingRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBaySellingRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetMessagePreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetMessagePreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoryListingsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryListingsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetCartRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetCartRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCartRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCartRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSearchResultsExpressRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsExpressRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(PlaceOfferRequest), 'urn:ebay:apis:eBLBaseComponents', 'PlaceOfferRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAccountRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetAccountRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetExpressWishListRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetExpressWishListRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetFeedbackRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetFeedbackRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemTransactionsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetItemTransactionsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemsAwaitingFeedbackRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetItemsAwaitingFeedbackRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetLiveAuctionBiddersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionBiddersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMemberMessagesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetMemberMessagesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPopularKeywordsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetPopularKeywordsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerPaymentsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerPaymentsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserDisputesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetUserDisputesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetVeROReportStatusRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReportStatusRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetWantItNowSearchResultsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowSearchResultsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(DeleteMyMessagesRequest), 'urn:ebay:apis:eBLBaseComponents', 'DeleteMyMessagesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyMessagesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetMyMessagesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseMyMessagesRequest), 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ApproveLiveAuctionBiddersRequest), 'urn:ebay:apis:eBLBaseComponents', 'ApproveLiveAuctionBiddersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(CompleteSaleRequest), 'urn:ebay:apis:eBLBaseComponents', 'CompleteSaleRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseCheckoutStatusRequest), 'urn:ebay:apis:eBLBaseComponents', 'ReviseCheckoutStatusRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddOrderRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddOrderRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessageAAQToPartnerRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageAAQToPartnerRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessageRTQRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageRTQRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetTaxTableRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetTaxTableRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SendInvoiceRequest), 'urn:ebay:apis:eBLBaseComponents', 'SendInvoiceRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetContextualKeywordsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetContextualKeywordsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(VerifyAddItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPromotionRulesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionRulesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPromotionalSaleDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionalSaleDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreCategoryUpdateStatusRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCategoryUpdateStatusRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreCustomPageRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCustomPageRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetVeROReasonCodeDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReasonCodeDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseMyMessagesFoldersRequest), 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesFoldersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddSecondChanceItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddSecondChanceItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddTransactionConfirmationItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddTransactionConfirmationItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(IssueRefundRequest), 'urn:ebay:apis:eBLBaseComponents', 'IssueRefundRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(RespondToBestOfferRequest), 'urn:ebay:apis:eBLBaseComponents', 'RespondToBestOfferRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(VerifyAddSecondChanceItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddSecondChanceItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(FetchTokenRequest), 'urn:ebay:apis:eBLBaseComponents', 'FetchTokenRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAdFormatLeadsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetAdFormatLeadsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAllBiddersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetAllBiddersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAttributesCSRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesCSRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetBidderListRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetBidderListRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoriesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoriesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoryFeaturesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryFeaturesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCharitiesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCharitiesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetDescriptionTemplatesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetDescriptionTemplatesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMessagePreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetMessagePreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerEventsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerEventsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetUserRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserPreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetUserPreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(RemoveFromWatchListRequest), 'urn:ebay:apis:eBLBaseComponents', 'RemoveFromWatchListRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ValidateChallengeInputRequest), 'urn:ebay:apis:eBLBaseComponents', 'ValidateChallengeInputRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ValidateTestUserRegistrationRequest), 'urn:ebay:apis:eBLBaseComponents', 'ValidateTestUserRegistrationRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddLiveAuctionItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddLiveAuctionItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(RelistItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'RelistItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'ReviseItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseLiveAuctionItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'ReviseLiveAuctionItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddDisputeResponseRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeResponseRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategorySpecificsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCategorySpecificsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetNotificationsUsageRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationsUsageRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddDisputeRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddToItemDescriptionRequest), 'urn:ebay:apis:eBLBaseComponents', 'AddToItemDescriptionRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(EndItemRequest), 'urn:ebay:apis:eBLBaseComponents', 'EndItemRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetApiAccessRulesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetApiAccessRulesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAttributesXSLRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesXSLRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetBestOffersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetBestOffersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategory2CSRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCategory2CSRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoryMappingsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryMappingsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetChallengeTokenRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetChallengeTokenRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCrossPromotionsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetCrossPromotionsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetDisputeRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetDisputeRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetHighBiddersRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetHighBiddersRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemShippingRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetItemShippingRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetLiveAuctionCatalogDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionCatalogDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetNotificationPreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationPreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPictureManagerDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPictureManagerOptionsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerOptionsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFinderRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFinderXSLRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderXSLRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSearchPageRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchPageRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetReturnURLRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetReturnURLRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetRuNameRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetRuNameRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetShippingDiscountProfilesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetShippingDiscountProfilesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreOptionsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreOptionsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStorePreferencesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetStorePreferencesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSuggestedCategoriesRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetSuggestedCategoriesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetTaxTableRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetTaxTableRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserContactDetailsRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetUserContactDetailsRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetWantItNowPostRequest), 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowPostRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(GeteBayOfficialTimeRequest), 'urn:ebay:apis:eBLBaseComponents', 'GeteBayOfficialTimeRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(RespondToFeedbackRequest), 'urn:ebay:apis:eBLBaseComponents', 'RespondToFeedbackRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(RespondToWantItNowPostRequest), 'urn:ebay:apis:eBLBaseComponents', 'RespondToWantItNowPostRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SellerReverseDisputeRequest), 'urn:ebay:apis:eBLBaseComponents', 'SellerReverseDisputeRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetUserNotesRequest), 'urn:ebay:apis:eBLBaseComponents', 'SetUserNotesRequest');
RemClassRegistry.RegisterXSInfo(TypeInfo(ValidateTestUserRegistrationResponse), 'urn:ebay:apis:eBLBaseComponents', 'ValidateTestUserRegistrationResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetUserPreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetUserPreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetUserNotesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetUserNotesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetTaxTableResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetTaxTableResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStorePreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetStorePreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStoreResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetStoreResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetShippingDiscountProfilesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetShippingDiscountProfilesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetReturnURLResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetReturnURLResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetPromotionalSaleListingsResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleListingsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetPictureManagerDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetPictureManagerDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetNotificationPreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetNotificationPreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetMessagePreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetMessagePreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SendInvoiceResponse), 'urn:ebay:apis:eBLBaseComponents', 'SendInvoiceResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SellerReverseDisputeResponse), 'urn:ebay:apis:eBLBaseComponents', 'SellerReverseDisputeResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseMyMessagesFoldersResponse), 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesFoldersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseMyMessagesResponse), 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseCheckoutStatusResponse), 'urn:ebay:apis:eBLBaseComponents', 'ReviseCheckoutStatusResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(RespondToWantItNowPostResponse), 'urn:ebay:apis:eBLBaseComponents', 'RespondToWantItNowPostResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(RespondToFeedbackResponse), 'urn:ebay:apis:eBLBaseComponents', 'RespondToFeedbackResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(RemoveFromWatchListResponse), 'urn:ebay:apis:eBLBaseComponents', 'RemoveFromWatchListResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(LeaveFeedbackResponse), 'urn:ebay:apis:eBLBaseComponents', 'LeaveFeedbackResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GeteBayOfficialTimeResponse), 'urn:ebay:apis:eBLBaseComponents', 'GeteBayOfficialTimeResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreCategoryUpdateStatusResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCategoryUpdateStatusResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetRuNameResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetRuNameResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSellingPagesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSellingPagesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFinderResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetChallengeTokenResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetChallengeTokenResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAttributesCSResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesCSResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(DeleteMyMessagesResponse), 'urn:ebay:apis:eBLBaseComponents', 'DeleteMyMessagesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(CompleteSaleResponse), 'urn:ebay:apis:eBLBaseComponents', 'CompleteSaleResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddToWatchListResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddToWatchListResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddToItemDescriptionResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddToItemDescriptionResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessageRTQResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageRTQResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessageAAQToPartnerResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageAAQToPartnerResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddDisputeResponseResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeResponseResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddDisputeResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(VerifyAddSecondChanceItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddSecondChanceItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(FetchTokenResponse), 'urn:ebay:apis:eBLBaseComponents', 'FetchTokenResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(EndItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'EndItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddTransactionConfirmationItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddTransactionConfirmationItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddSecondChanceItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddSecondChanceItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddOrderResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddOrderResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ValidateChallengeInputResponse), 'urn:ebay:apis:eBLBaseComponents', 'ValidateChallengeInputResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(IssueRefundResponse), 'urn:ebay:apis:eBLBaseComponents', 'IssueRefundResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCrossPromotionsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCrossPromotionsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetUserResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemShippingResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetItemShippingResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROReportItemsResponse), 'urn:ebay:apis:eBLBaseComponents', 'VeROReportItemsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStoreCategoriesResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCategoriesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetPromotionalSaleResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserContactDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetUserContactDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetTaxTableResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetTaxTableResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(VerifyAddItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseLiveAuctionItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'ReviseLiveAuctionItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ReviseItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'ReviseItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(RelistItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'RelistItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddLiveAuctionItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddLiveAuctionItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddItemResponse), 'urn:ebay:apis:eBLBaseComponents', 'AddItemResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(ApproveLiveAuctionBiddersResponse), 'urn:ebay:apis:eBLBaseComponents', 'ApproveLiveAuctionBiddersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerTransactionsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerTransactionsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemTransactionsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetItemTransactionsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAccountResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetAccountResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAdFormatLeadsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetAdFormatLeadsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMemberMessagesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetMemberMessagesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetHighBiddersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetHighBiddersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAllBiddersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetAllBiddersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(RespondToBestOfferResponse), 'urn:ebay:apis:eBLBaseComponents', 'RespondToBestOfferResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetBestOffersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetBestOffersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(PlaceOfferResponse), 'urn:ebay:apis:eBLBaseComponents', 'PlaceOfferResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerListResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerListResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerEventsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerEventsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetBidderListResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetBidderListResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetCartResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetCartResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCartResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCartResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPopularKeywordsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetPopularKeywordsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoriesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoriesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategory2CSResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCategory2CSResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoryFeaturesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryFeaturesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoryListingsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryListingsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategoryMappingsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryMappingsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetDescriptionTemplatesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetDescriptionTemplatesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetDisputeResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetDisputeResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetExpressWishListResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetExpressWishListResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetFeedbackResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetFeedbackResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemsAwaitingFeedbackResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetItemsAwaitingFeedbackResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetLiveAuctionBiddersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionBiddersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMessagePreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetMessagePreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyMessagesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetMyMessagesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyeBayBuyingResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayBuyingResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyeBayRemindersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayRemindersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetMyeBaySellingResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBaySellingResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetNotificationPreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationPreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetNotificationsUsageResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationsUsageResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetOrdersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetOrdersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetOrderTransactionsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetOrderTransactionsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPictureManagerDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPictureManagerOptionsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerOptionsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSearchResultsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchResultsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFamilyMembersResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFamilyMembersResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSearchPageResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchPageResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetProductsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPromotionRulesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionRulesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetPromotionalSaleDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionalSaleDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetReturnURLResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetReturnURLResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSearchResultsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSearchResultsExpressResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsExpressResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSellerPaymentsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSellerPaymentsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetShippingDiscountProfilesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetShippingDiscountProfilesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreCustomPageResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCustomPageResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetStoreCustomPageResponse), 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCustomPageResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStoreOptionsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetStoreOptionsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetStorePreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetStorePreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetSuggestedCategoriesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetSuggestedCategoriesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserDisputesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetUserDisputesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetUserPreferencesResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetUserPreferencesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetVeROReasonCodeDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReasonCodeDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetVeROReportStatusResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReportStatusResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetWantItNowPostResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowPostResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetWantItNowSearchResultsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowSearchResultsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(GeteBayDetailsResponse), 'urn:ebay:apis:eBLBaseComponents', 'GeteBayDetailsResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(UploadSiteHostedPicturesResponse), 'urn:ebay:apis:eBLBaseComponents', 'UploadSiteHostedPicturesResponse');
RemClassRegistry.RegisterXSInfo(TypeInfo(AckCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AckCodeType');
RemClassRegistry.RegisterXSInfo(TypeInfo(BuyerPaymentMethodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BuyerPaymentMethodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BuyerPaymentMethodCodeType), 'CustomCode2', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DetailLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DetailLevelCodeType');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeActivityCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeActivityCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeActivityCodeType), 'CustomCode3', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeCreditEligibilityCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeCreditEligibilityCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeCreditEligibilityCodeType), 'CustomCode4', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeExplanationCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeExplanationCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeExplanationCodeType), 'CustomCode5', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeFilterTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeFilterTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeFilterTypeCodeType), 'CustomCode6', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeIDType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeMessageSourceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeMessageSourceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeMessageSourceCodeType), 'CustomCode7', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeReasonCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeReasonCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeReasonCodeType), 'CustomCode8', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeRecordTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeRecordTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeRecordTypeCodeType), 'ItemNotReceived2', 'ItemNotReceived');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeRecordTypeCodeType), 'CustomCode9', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeResolutionReasonCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeResolutionReasonCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeResolutionReasonCodeType), 'CustomCode10', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeResolutionRecordTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeResolutionRecordTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeResolutionRecordTypeCodeType), 'CustomCode11', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeSortTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeSortTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeSortTypeCodeType), 'None2', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeSortTypeCodeType), 'CustomCode12', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeStateCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeStateCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStateCodeType), 'ClaimPaid2', 'ClaimPaid');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStateCodeType), 'CustomCode13', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'Closed2', 'Closed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'ClaimOpened2', 'ClaimOpened');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'NoDocumentation2', 'NoDocumentation');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'ClaimClosed2', 'ClaimClosed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'ClaimDenied2', 'ClaimDenied');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'ClaimPaid3', 'ClaimPaid');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'ClaimResolved2', 'ClaimResolved');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'ClaimSubmitted2', 'ClaimSubmitted');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisputeStatusCodeType), 'CustomCode14', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ErrorClassificationCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ErrorClassificationCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ErrorClassificationCodeType), 'CustomCode15', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ErrorHandlingCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ErrorHandlingCodeType');
RemClassRegistry.RegisterXSInfo(TypeInfo(InvocationStatusType), 'urn:ebay:apis:eBLBaseComponents', 'InvocationStatusType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InvocationStatusType), 'Success2', 'Success');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InvocationStatusType), 'Failure2', 'Failure');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InvocationStatusType), 'CustomCode16', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MeasurementSystemCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MeasurementSystemCodeType');
RemClassRegistry.RegisterXSInfo(TypeInfo(SeverityCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SeverityCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SeverityCodeType), 'Warning2', 'Warning');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SeverityCodeType), 'CustomCode17', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(UUIDType), 'urn:ebay:apis:eBLBaseComponents', 'UUIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(WarningLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'WarningLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(WarningLevelCodeType), 'Low_', 'Low');
RemClassRegistry.RegisterExternalPropName(TypeInfo(WarningLevelCodeType), 'High_', 'High');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccessRuleCurrentStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AccessRuleCurrentStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccessRuleCurrentStatusCodeType), 'CustomCode18', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccessRuleStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AccessRuleStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccessRuleStatusCodeType), 'CustomCode19', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccountDetailEntryCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AccountDetailEntryCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccountDetailEntryCodeType), 'CustomCode20', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccountEntrySortTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AccountEntrySortTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccountEntrySortTypeCodeType), 'None3', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccountEntrySortTypeCodeType), 'CustomCode21', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccountHistorySelectionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AccountHistorySelectionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccountHistorySelectionCodeType), 'CustomCode22', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccountStateCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AccountStateCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AccountStateCodeType), 'CustomCode23', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AdFormatEnabledCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AdFormatEnabledCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AdFormatEnabledCodeType), 'CustomCode24', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AdFormatLeadStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AdFormatLeadStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AdFormatLeadStatusCodeType), 'CustomCode25', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddressOwnerCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AddressOwnerCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressOwnerCodeType), 'PayPal2', 'PayPal');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressOwnerCodeType), 'eBay2', 'eBay');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressOwnerCodeType), 'CustomCode26', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddressRecordTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AddressRecordTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressRecordTypeCodeType), 'CustomCode27', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddressStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'AddressStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressStatusCodeType), 'None4', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressStatusCodeType), 'CustomCode28', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ApplicationDeviceTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ApplicationDeviceTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ApplicationDeviceTypeCodeType), 'CustomCode29', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BestOfferActionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BestOfferActionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BestOfferActionCodeType), 'CustomCode30', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BestOfferIDType), 'urn:ebay:apis:eBLBaseComponents', 'BestOfferIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(BestOfferStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BestOfferStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BestOfferStatusCodeType), 'Pending2', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BestOfferStatusCodeType), 'Active2', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BestOfferStatusCodeType), 'CustomCode31', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BestOfferTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BestOfferTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BestOfferTypeCodeType), 'CustomCode32', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidActionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BidActionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidActionCodeType), 'Unknown2', 'Unknown');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidActionCodeType), 'CustomCode33', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidActionCodeType), 'Counter2', 'Counter');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidActionCodeType), 'Accept2', 'Accept');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidActionCodeType), 'Decline2', 'Decline');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidGroupItemStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BidGroupItemStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidGroupItemStatusCodeType), 'Cancelled2', 'Cancelled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidGroupItemStatusCodeType), 'Pending3', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidGroupItemStatusCodeType), 'CustomCode34', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidGroupStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BidGroupStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidGroupStatusCodeType), 'Closed3', 'Closed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidGroupStatusCodeType), 'CustomCode35', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidderStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BidderStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidderStatusCodeType), 'Pending4', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BidderStatusCodeType), 'CustomCode36', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BuyerProtectionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BuyerProtectionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BuyerProtectionCodeType), 'CustomCode37', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(BuyerProtectionSourceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'BuyerProtectionSourceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BuyerProtectionSourceCodeType), 'eBay3', 'eBay');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BuyerProtectionSourceCodeType), 'PayPal3', 'PayPal');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BuyerProtectionSourceCodeType), 'CustomCode38', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CalculatedShippingChargeOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CalculatedShippingChargeOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CalculatedShippingChargeOptionCodeType), 'CustomCode39', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CalculatedShippingRateOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CalculatedShippingRateOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CalculatedShippingRateOptionCodeType), 'CustomCode40', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CategoryListingsOrderCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CategoryListingsOrderCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CategoryListingsOrderCodeType), 'CustomCode41', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CategoryListingsSearchCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CategoryListingsSearchCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CategoryListingsSearchCodeType), 'CustomCode42', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharacteristicsSearchCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CharacteristicsSearchCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharacteristicsSearchCodeType), 'Single_', 'Single');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharacteristicsSearchCodeType), 'CustomCode43', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharityAffiliationTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CharityAffiliationTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharityAffiliationTypeCodeType), 'CustomCode44', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharitySellerStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CharitySellerStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharitySellerStatusCodeType), 'Closed4', 'Closed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharitySellerStatusCodeType), 'CustomCode45', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharityStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CharityStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharityStatusCodeType), 'CustomCode46', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CheckoutMethodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CheckoutMethodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CheckoutMethodCodeType), 'Other2', 'Other');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CheckoutMethodCodeType), 'CustomCode47', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CheckoutStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CheckoutStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CheckoutStatusCodeType), 'CustomCode48', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ClassifiedAdBestOfferEnabledCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdBestOfferEnabledCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ClassifiedAdBestOfferEnabledCodeType), 'Disabled2', 'Disabled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ClassifiedAdBestOfferEnabledCodeType), 'Enabled2', 'Enabled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ClassifiedAdBestOfferEnabledCodeType), 'CustomCode49', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ClassifiedAdPaymentMethodEnabledCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdPaymentMethodEnabledCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ClassifiedAdPaymentMethodEnabledCodeType), 'CustomCode50', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CombinedPaymentOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CombinedPaymentOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CombinedPaymentOptionCodeType), 'CustomCode51', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CombinedPaymentPeriodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CombinedPaymentPeriodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CombinedPaymentPeriodCodeType), 'Ineligible2', 'Ineligible');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CombinedPaymentPeriodCodeType), 'CustomCode52', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CommentTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CommentTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CommentTypeCodeType), 'CustomCode53', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CompleteStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CompleteStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CompleteStatusCodeType), 'Pending5', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CompleteStatusCodeType), 'CustomCode54', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ConditionSelectionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ConditionSelectionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ConditionSelectionCodeType), 'All2', 'All');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ConditionSelectionCodeType), 'New2', 'New');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ConditionSelectionCodeType), 'CustomCode55', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CountryCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CountryCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CountryCodeType), 'AS_', 'AS');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CountryCodeType), 'DO_', 'DO');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CountryCodeType), 'IS_', 'IS');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CountryCodeType), 'IN_', 'IN');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CountryCodeType), 'TO_', 'TO');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CountryCodeType), 'CustomCode56', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(CurrencyCodeType), 'urn:ebay:apis:eBLBaseComponents', 'CurrencyCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CurrencyCodeType), 'ALL3', 'ALL');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CurrencyCodeType), 'CustomCode57', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DateSpecifierCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DateSpecifierCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DateSpecifierCodeType), 'CustomCode58', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DaysCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DaysCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DaysCodeType), 'None5', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DaysCodeType), 'CustomCode59', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DepositTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DepositTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DepositTypeCodeType), 'None6', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DepositTypeCodeType), 'CustomCode60', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DescriptionReviseModeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DescriptionReviseModeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DescriptionReviseModeCodeType), 'CustomCode61', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DescriptionTemplateCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DescriptionTemplateCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DescriptionTemplateCodeType), 'CustomCode62', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DetailNameCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DetailNameCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DetailNameCodeType), 'CustomCode63', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DeviceTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DeviceTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DeviceTypeCodeType), 'Platform_', 'Platform');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DeviceTypeCodeType), 'CustomCode64', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DigitalDeliveryEnabledCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DigitalDeliveryEnabledCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DigitalDeliveryEnabledCodeType), 'Disabled3', 'Disabled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DigitalDeliveryEnabledCodeType), 'Enabled3', 'Enabled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DigitalDeliveryEnabledCodeType), 'CustomCode65', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DigitalDeliveryMethodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DigitalDeliveryMethodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DigitalDeliveryMethodCodeType), 'None7', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DigitalDeliveryMethodCodeType), 'CustomCode66', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DiscountCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DiscountCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DiscountCodeType), 'CustomCode67', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DiscountNameCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DiscountNameCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DiscountNameCodeType), 'IndividualItemWeight2', 'IndividualItemWeight');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DiscountNameCodeType), 'CombinedItemWeight2', 'CombinedItemWeight');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DiscountNameCodeType), 'CustomCode68', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisplayPayNowButtonCodeType), 'urn:ebay:apis:eBLBaseComponents', 'DisplayPayNowButtonCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DisplayPayNowButtonCodeType), 'CustomCode69', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(EBaySubscriptionTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'EBaySubscriptionTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(EBaySubscriptionTypeCodeType), 'CustomCode70', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(EnableCodeType), 'urn:ebay:apis:eBLBaseComponents', 'EnableCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(EnableCodeType), 'CustomCode71', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(EndOfAuctionLogoTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'EndOfAuctionLogoTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(EndOfAuctionLogoTypeCodeType), 'CustomCode72', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(EndOfAuctionLogoTypeCodeType), 'None8', 'None');
RemClassRegistry.RegisterXSInfo(TypeInfo(EndReasonCodeType), 'urn:ebay:apis:eBLBaseComponents', 'EndReasonCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(EndReasonCodeType), 'CustomCode73', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ExpressDetailLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ExpressDetailLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressDetailLevelCodeType), 'None9', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressDetailLevelCodeType), 'CustomCode74', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ExpressHistogramSortCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ExpressHistogramSortCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressHistogramSortCodeType), 'CustomCode75', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ExpressItemSortCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ExpressItemSortCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressItemSortCodeType), 'CustomCode76', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ExpressProductSortCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ExpressProductSortCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressProductSortCodeType), 'CustomCode77', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ExpressSellingPreferenceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ExpressSellingPreferenceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressSellingPreferenceCodeType), 'All4', 'All');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressSellingPreferenceCodeType), 'CustomCode78', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ExternalProductCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ExternalProductCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExternalProductCodeType), 'CustomCode79', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeatureIDCodeType), 'urn:ebay:apis:eBLBaseComponents', 'FeatureIDCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FeatureIDCodeType), 'CustomCode80', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeedbackRatingDetailCodeType), 'urn:ebay:apis:eBLBaseComponents', 'FeedbackRatingDetailCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FeedbackRatingDetailCodeType), 'CustomCode81', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeedbackRatingStarCodeType), 'urn:ebay:apis:eBLBaseComponents', 'FeedbackRatingStarCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FeedbackRatingStarCodeType), 'None10', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FeedbackRatingStarCodeType), 'CustomCode82', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeedbackResponseCodeType), 'urn:ebay:apis:eBLBaseComponents', 'FeedbackResponseCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FeedbackResponseCodeType), 'CustomCode83', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(FlatRateInsuranceRangeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'FlatRateInsuranceRangeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FlatRateInsuranceRangeCodeType), 'CustomCode84', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(FlatShippingRateOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'FlatShippingRateOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FlatShippingRateOptionCodeType), 'CustomCode85', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(GallerySortFilterCodeType), 'urn:ebay:apis:eBLBaseComponents', 'GallerySortFilterCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GallerySortFilterCodeType), 'CustomCode86', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(GalleryTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'GalleryTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GalleryTypeCodeType), 'None11', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GalleryTypeCodeType), 'Featured2', 'Featured');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GalleryTypeCodeType), 'CustomCode87', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAllBiddersModeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'GetAllBiddersModeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GetAllBiddersModeCodeType), 'CustomCode88', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(GiftServicesCodeType), 'urn:ebay:apis:eBLBaseComponents', 'GiftServicesCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GiftServicesCodeType), 'CustomCode89', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(GranularityLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'GranularityLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GranularityLevelCodeType), 'Coarse2', 'Coarse');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GranularityLevelCodeType), 'Fine2', 'Fine');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GranularityLevelCodeType), 'CustomCode90', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(HandlingNameCodeType), 'urn:ebay:apis:eBLBaseComponents', 'HandlingNameCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(HandlingNameCodeType), 'EachAdditionalAmount2', 'EachAdditionalAmount');
RemClassRegistry.RegisterExternalPropName(TypeInfo(HandlingNameCodeType), 'EachAdditionalAmountOff2', 'EachAdditionalAmountOff');
RemClassRegistry.RegisterExternalPropName(TypeInfo(HandlingNameCodeType), 'EachAdditionalPercentOff2', 'EachAdditionalPercentOff');
RemClassRegistry.RegisterExternalPropName(TypeInfo(HandlingNameCodeType), 'CustomCode91', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(HitCounterCodeType), 'urn:ebay:apis:eBLBaseComponents', 'HitCounterCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(HitCounterCodeType), 'CustomCode92', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(InsuranceOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'InsuranceOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InsuranceOptionCodeType), 'Required2', 'Required');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InsuranceOptionCodeType), 'CustomCode93', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(InsuranceSelectedCodeType), 'urn:ebay:apis:eBLBaseComponents', 'InsuranceSelectedCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InsuranceSelectedCodeType), 'NotOffered2', 'NotOffered');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InsuranceSelectedCodeType), 'Required3', 'Required');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InsuranceSelectedCodeType), 'IncludedInShippingHandling2', 'IncludedInShippingHandling');
RemClassRegistry.RegisterExternalPropName(TypeInfo(InsuranceSelectedCodeType), 'CustomCode94', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemConditionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemConditionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemConditionCodeType), 'New3', 'New');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemConditionCodeType), 'CustomCode95', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemFormatSortFilterCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemFormatSortFilterCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemFormatSortFilterCodeType), 'ShowAnyItems2', 'ShowAnyItems');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemFormatSortFilterCodeType), 'CustomCode96', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemIDType), 'urn:ebay:apis:eBLBaseComponents', 'ItemIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemLocationCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemLocationCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemLocationCodeType), 'CustomCode97', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemSortFilterCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemSortFilterCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSortFilterCodeType), 'HighestPrice2', 'HighestPrice');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSortFilterCodeType), 'LowestPrice2', 'LowestPrice');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSortFilterCodeType), 'CustomCode98', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemSortTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemSortTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSortTypeCodeType), 'Price2', 'Price');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSortTypeCodeType), 'CustomCode99', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemSpecificSourceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemSpecificSourceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSpecificSourceCodeType), 'CustomCode100', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemSpecificsEnabledCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemSpecificsEnabledCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSpecificsEnabledCodeType), 'Disabled4', 'Disabled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSpecificsEnabledCodeType), 'Enabled4', 'Enabled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemSpecificsEnabledCodeType), 'CustomCode101', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemTypeFilterCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ItemTypeFilterCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ItemTypeFilterCodeType), 'CustomCode102', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingEnhancementsCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ListingEnhancementsCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingEnhancementsCodeType), 'Featured3', 'Featured');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingEnhancementsCodeType), 'CustomCode103', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingFlowCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ListingFlowCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingFlowCodeType), 'CustomCode104', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ListingStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingStatusCodeType), 'Active3', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingStatusCodeType), 'Ended2', 'Ended');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingStatusCodeType), 'CustomCode105', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingSubtypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ListingSubtypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingSubtypeCodeType), 'LocalMarketBestOfferOnly2', 'LocalMarketBestOfferOnly');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingSubtypeCodeType), 'CustomCode106', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ListingTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingTypeCodeType), 'Unknown3', 'Unknown');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingTypeCodeType), 'CustomCode107', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MarkUpMarkDownEventTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MarkUpMarkDownEventTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MarkUpMarkDownEventTypeCodeType), 'CustomCode108', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MerchDisplayCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MerchDisplayCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MerchDisplayCodeType), 'CustomCode109', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MerchandizingPrefCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MerchandizingPrefCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MerchandizingPrefCodeType), 'OptOut2', 'OptOut');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MerchandizingPrefCodeType), 'CustomCode110', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MessageStatusTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MessageStatusTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MessageStatusTypeCodeType), 'CustomCode111', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MessageTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MessageTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MessageTypeCodeType), 'CustomCode112', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MessageTypeCodeType), 'All5', 'All');
RemClassRegistry.RegisterXSInfo(TypeInfo(ModifyActionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ModifyActionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ModifyActionCodeType), 'CustomCode113', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesAlertIDType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesAlertIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesAlertResolutionStatusCode), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesAlertResolutionStatusCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MyMessagesAlertResolutionStatusCode), 'Unresolved2', 'Unresolved');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MyMessagesAlertResolutionStatusCode), 'CustomCode114', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesFolderOperationCodeType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesFolderOperationCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MyMessagesFolderOperationCodeType), 'Remove2', 'Remove');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MyMessagesFolderOperationCodeType), 'CustomCode115', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesMessageIDType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesMessageIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationEventPropertyNameCodeType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationEventPropertyNameCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventPropertyNameCodeType), 'TimeLeft2', 'TimeLeft');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventPropertyNameCodeType), 'CustomCode116', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationEventStateCodeType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationEventStateCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventStateCodeType), 'New4', 'New');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventStateCodeType), 'Pending6', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventStateCodeType), 'CustomCode117', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationEventTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationEventTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventTypeCodeType), 'None12', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventTypeCodeType), 'AskSellerQuestion2', 'AskSellerQuestion');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventTypeCodeType), 'BestOffer2', 'BestOffer');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventTypeCodeType), 'CustomCode118', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationPayloadTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationPayloadTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationPayloadTypeCodeType), 'CustomCode119', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationRoleCodeType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationRoleCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationRoleCodeType), 'Application_', 'Application');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationRoleCodeType), 'CustomCode120', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(OrderIDType), 'urn:ebay:apis:eBLBaseComponents', 'OrderIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(OrderStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'OrderStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OrderStatusCodeType), 'Active4', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OrderStatusCodeType), 'Inactive2', 'Inactive');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OrderStatusCodeType), 'Completed2', 'Completed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OrderStatusCodeType), 'Cancelled3', 'Cancelled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OrderStatusCodeType), 'Default_', 'Default');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OrderStatusCodeType), 'CustomCode121', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PaidStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PaidStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PaidStatusCodeType), 'CustomCode122', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PayPalAccountLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PayPalAccountLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountLevelCodeType), 'Unknown4', 'Unknown');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountLevelCodeType), 'Invalid2', 'Invalid');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountLevelCodeType), 'CustomCode123', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PayPalAccountStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PayPalAccountStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountStatusCodeType), 'Active5', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountStatusCodeType), 'Closed5', 'Closed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountStatusCodeType), 'Locked2', 'Locked');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountStatusCodeType), 'CustomCode124', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountStatusCodeType), 'Unknown5', 'Unknown');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountStatusCodeType), 'Invalid3', 'Invalid');
RemClassRegistry.RegisterXSInfo(TypeInfo(PayPalAccountTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PayPalAccountTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountTypeCodeType), 'Business2', 'Business');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountTypeCodeType), 'Unknown6', 'Unknown');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountTypeCodeType), 'Invalid4', 'Invalid');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PayPalAccountTypeCodeType), 'CustomCode125', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PaymentMethodSearchCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PaymentMethodSearchCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PaymentMethodSearchCodeType), 'PayPal4', 'PayPal');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PaymentMethodSearchCodeType), 'CustomCode126', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PaymentMethodSearchCodeType), 'PaisaPayEscrowEMI2', 'PaisaPayEscrowEMI');
RemClassRegistry.RegisterXSInfo(TypeInfo(PaymentStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PaymentStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PaymentStatusCodeType), 'CustomCode127', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PaymentTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PaymentTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PaymentTypeCodeType), 'CustomCode128', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PhotoDisplayCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PhotoDisplayCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PhotoDisplayCodeType), 'None13', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PhotoDisplayCodeType), 'CustomCode129', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureFormatCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureFormatCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureFormatCodeType), 'CustomCode130', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureManagerActionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerActionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerActionCodeType), 'Add2', 'Add');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerActionCodeType), 'Delete2', 'Delete');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerActionCodeType), 'Rename2', 'Rename');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerActionCodeType), 'CustomCode131', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureManagerDetailLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerDetailLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerDetailLevelCodeType), 'ReturnAll2', 'ReturnAll');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerDetailLevelCodeType), 'CustomCode132', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureManagerPictureDisplayTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerPictureDisplayTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerPictureDisplayTypeCodeType), 'Supersize2', 'Supersize');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerPictureDisplayTypeCodeType), 'CustomCode133', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureManagerSubscriptionLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerSubscriptionLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerSubscriptionLevelCodeType), 'CustomCode134', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureSetCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureSetCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureSetCodeType), 'Standard2', 'Standard');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureSetCodeType), 'Supersize3', 'Supersize');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureSetCodeType), 'Large2', 'Large');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureSetCodeType), 'CustomCode135', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureSourceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureSourceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureSourceCodeType), 'CustomCode136', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PictureUploadPolicyCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PictureUploadPolicyCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureUploadPolicyCodeType), 'Add3', 'Add');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureUploadPolicyCodeType), 'CustomCode137', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ProductSortCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ProductSortCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ProductSortCodeType), 'CustomCode138', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ProductUseCaseCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ProductUseCaseCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ProductUseCaseCodeType), 'AddItem2', 'AddItem');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ProductUseCaseCodeType), 'ReviseItem2', 'ReviseItem');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ProductUseCaseCodeType), 'RelistItem2', 'RelistItem');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ProductUseCaseCodeType), 'CustomCode139', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionItemPriceTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionItemPriceTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionItemPriceTypeCodeType), 'CustomCode140', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionItemSelectionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionItemSelectionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionItemSelectionCodeType), 'CustomCode141', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionMethodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionMethodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionMethodCodeType), 'CustomCode142', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionSchemeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionSchemeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionSchemeCodeType), 'CustomCode143', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionalSaleStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionalSaleStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionalSaleStatusCodeType), 'Active6', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionalSaleStatusCodeType), 'Inactive3', 'Inactive');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PromotionalSaleStatusCodeType), 'CustomCode144', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(QuantityOperatorCodeType), 'urn:ebay:apis:eBLBaseComponents', 'QuantityOperatorCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(QuantityOperatorCodeType), 'CustomCode145', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(QuestionTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'QuestionTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(QuestionTypeCodeType), 'CustomCode146', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(RCSPaymentStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'RCSPaymentStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RCSPaymentStatusCodeType), 'Canceled2', 'Canceled');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RCSPaymentStatusCodeType), 'Pending7', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RCSPaymentStatusCodeType), 'CustomCode147', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(RangeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'RangeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RangeCodeType), 'High_2', 'High');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RangeCodeType), 'Low_2', 'Low');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RangeCodeType), 'CustomCode148', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(RecipientRelationCodeType), 'urn:ebay:apis:eBLBaseComponents', 'RecipientRelationCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RecipientRelationCodeType), '_', '1');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RecipientRelationCodeType), '_2', '2');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RecipientRelationCodeType), '_3', '3');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RecipientRelationCodeType), '_4', '4');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RecipientRelationCodeType), 'CustomCode149', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(RecommendationEngineCodeType), 'urn:ebay:apis:eBLBaseComponents', 'RecommendationEngineCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RecommendationEngineCodeType), 'CustomCode150', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(RefundReasonCodeType), 'urn:ebay:apis:eBLBaseComponents', 'RefundReasonCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RefundReasonCodeType), 'Other3', 'Other');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RefundReasonCodeType), 'CustomCode151', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(RefundTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'RefundTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(RefundTypeCodeType), 'CustomCode152', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SKUType), 'urn:ebay:apis:eBLBaseComponents', 'SKUType');
RemClassRegistry.RegisterXSInfo(TypeInfo(SMSSubscriptionErrorCodeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SMSSubscriptionErrorCodeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SMSSubscriptionErrorCodeCodeType), 'CustomCode153', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SMSSubscriptionUserStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SMSSubscriptionUserStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SMSSubscriptionUserStatusCodeType), 'Registered2', 'Registered');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SMSSubscriptionUserStatusCodeType), 'Pending8', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SMSSubscriptionUserStatusCodeType), 'Failed2', 'Failed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SMSSubscriptionUserStatusCodeType), 'CustomCode154', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SearchFlagsCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SearchFlagsCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchFlagsCodeType), 'CustomCode155', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SearchResultValuesCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SearchResultValuesCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchResultValuesCodeType), 'Escrow2', 'Escrow');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchResultValuesCodeType), 'New5', 'New');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchResultValuesCodeType), 'CustomCode156', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SearchSortOrderCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SearchSortOrderCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchSortOrderCodeType), 'BestMatchSort2', 'BestMatchSort');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchSortOrderCodeType), 'CustomCode157', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchSortOrderCodeType), 'BestMatchCategoryGroup2', 'BestMatchCategoryGroup');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchSortOrderCodeType), 'PricePlusShippingAsc2', 'PricePlusShippingAsc');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchSortOrderCodeType), 'PricePlusShippingDesc2', 'PricePlusShippingDesc');
RemClassRegistry.RegisterXSInfo(TypeInfo(SearchTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SearchTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchTypeCodeType), 'All6', 'All');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchTypeCodeType), 'Gallery2', 'Gallery');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SearchTypeCodeType), 'CustomCode158', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SecondChanceOfferDurationCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SecondChanceOfferDurationCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SecondChanceOfferDurationCodeType), 'Days_32', 'Days_3');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SecondChanceOfferDurationCodeType), 'Days_52', 'Days_5');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SecondChanceOfferDurationCodeType), 'Days_72', 'Days_7');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SecondChanceOfferDurationCodeType), 'CustomCode159', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SellerBusinessCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SellerBusinessCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SellerBusinessCodeType), 'Private_', 'Private');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SellerBusinessCodeType), 'CustomCode160', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SellerGuaranteeLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SellerGuaranteeLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SellerGuaranteeLevelCodeType), 'CustomCode161', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SellerLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SellerLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SellerLevelCodeType), 'None14', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SellerLevelCodeType), 'CustomCode162', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SellerPaymentMethodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SellerPaymentMethodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SellerPaymentMethodCodeType), 'CustomCode163', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SetUserNotesActionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SetUserNotesActionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SetUserNotesActionCodeType), 'Delete3', 'Delete');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SetUserNotesActionCodeType), 'CustomCode164', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ShippingCarrierCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ShippingCarrierCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingCarrierCodeType), 'Other4', 'Other');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingCarrierCodeType), 'CustomCode165', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ShippingPackageCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ShippingPackageCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingPackageCodeType), 'None15', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingPackageCodeType), 'CustomCode166', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ShippingRateTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ShippingRateTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingRateTypeCodeType), 'CustomCode167', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ShippingServiceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ShippingServiceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingServiceCodeType), 'Other5', 'Other');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingServiceCodeType), 'CustomCode168', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(ShippingTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'ShippingTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingTypeCodeType), 'Free2', 'Free');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingTypeCodeType), 'CustomCode169', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SiteCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SiteCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SiteCodeType), 'US2', 'US');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SiteCodeType), 'CustomCode170', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SiteIDFilterCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SiteIDFilterCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SiteIDFilterCodeType), 'CustomCode171', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SkypeContactOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SkypeContactOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SkypeContactOptionCodeType), 'CustomCode172', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SortOrderCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SortOrderCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SortOrderCodeType), 'CustomCode173', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StatusCodeType), 'Active7', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StatusCodeType), 'Inactive4', 'Inactive');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StatusCodeType), 'CustomCode174', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCategoryUpdateActionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCategoryUpdateActionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCategoryUpdateActionCodeType), 'Add4', 'Add');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCategoryUpdateActionCodeType), 'Delete4', 'Delete');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCategoryUpdateActionCodeType), 'Move2', 'Move');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCategoryUpdateActionCodeType), 'Rename3', 'Rename');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCategoryUpdateActionCodeType), 'CustomCode175', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCustomHeaderLayoutCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomHeaderLayoutCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomHeaderLayoutCodeType), 'CustomCode176', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCustomListingHeaderDisplayCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomListingHeaderDisplayCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomListingHeaderDisplayCodeType), 'None16', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomListingHeaderDisplayCodeType), 'Full2', 'Full');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomListingHeaderDisplayCodeType), 'CustomCode177', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCustomListingHeaderLinkCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomListingHeaderLinkCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomListingHeaderLinkCodeType), 'None17', 'None');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomListingHeaderLinkCodeType), 'CustomCode178', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCustomPageStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomPageStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomPageStatusCodeType), 'Active8', 'Active');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomPageStatusCodeType), 'Delete5', 'Delete');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomPageStatusCodeType), 'Inactive5', 'Inactive');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomPageStatusCodeType), 'CustomCode179', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreFontFaceCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreFontFaceCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreFontFaceCodeType), 'CustomCode180', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreFontSizeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreFontSizeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreFontSizeCodeType), 'M2', 'M');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreFontSizeCodeType), 'CustomCode181', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreHeaderStyleCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreHeaderStyleCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreHeaderStyleCodeType), 'Full3', 'Full');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreHeaderStyleCodeType), 'CustomCode182', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreItemListLayoutCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreItemListLayoutCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreItemListLayoutCodeType), 'CustomCode183', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreItemListSortOrderCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreItemListSortOrderCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreItemListSortOrderCodeType), 'NewlyListed2', 'NewlyListed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreItemListSortOrderCodeType), 'CustomCode184', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreSearchCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreSearchCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreSearchCodeType), 'CustomCode185', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreSubscriptionLevelCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StoreSubscriptionLevelCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreSubscriptionLevelCodeType), 'Featured4', 'Featured');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreSubscriptionLevelCodeType), 'CustomCode186', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(StringMatchCodeType), 'urn:ebay:apis:eBLBaseComponents', 'StringMatchCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StringMatchCodeType), 'CustomCode187', 'CustomCode');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StringMatchCodeType), 'Contains_', 'Contains');
RemClassRegistry.RegisterXSInfo(TypeInfo(SummaryFrequencyCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SummaryFrequencyCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SummaryFrequencyCodeType), 'CustomCode188', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(SummaryWindowPeriodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'SummaryWindowPeriodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(SummaryWindowPeriodCodeType), 'CustomCode189', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(TaskStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'TaskStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TaskStatusCodeType), 'Pending9', 'Pending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TaskStatusCodeType), 'InProgress2', 'InProgress');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TaskStatusCodeType), 'Complete2', 'Complete');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TaskStatusCodeType), 'Failed3', 'Failed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TaskStatusCodeType), 'CustomCode190', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(TicketEventTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'TicketEventTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TicketEventTypeCodeType), 'DE_Sonstige2', 'DE_Sonstige');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TicketEventTypeCodeType), 'CustomCode191', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(TokenReturnMethodCodeType), 'urn:ebay:apis:eBLBaseComponents', 'TokenReturnMethodCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TokenReturnMethodCodeType), 'CustomCode192', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(TradingRoleCodeType), 'urn:ebay:apis:eBLBaseComponents', 'TradingRoleCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TradingRoleCodeType), 'Buyer2', 'Buyer');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TradingRoleCodeType), 'Seller2', 'Seller');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TradingRoleCodeType), 'CustomCode193', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(TransactionPlatformCodeType), 'urn:ebay:apis:eBLBaseComponents', 'TransactionPlatformCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionPlatformCodeType), 'eBay4', 'eBay');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionPlatformCodeType), 'Express2', 'Express');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionPlatformCodeType), 'Half2', 'Half');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionPlatformCodeType), 'CustomCode194', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(TransactionPlatformType), 'urn:ebay:apis:eBLBaseComponents', 'TransactionPlatformType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionPlatformType), 'eBay5', 'eBay');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionPlatformType), 'Express3', 'Express');
RemClassRegistry.RegisterXSInfo(TypeInfo(UPSRateOptionCodeType), 'urn:ebay:apis:eBLBaseComponents', 'UPSRateOptionCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UPSRateOptionCodeType), 'CustomCode195', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(URLTypeCodeType), 'urn:ebay:apis:eBLBaseComponents', 'URLTypeCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(URLTypeCodeType), 'CustomCode196', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(UserIDType), 'urn:ebay:apis:eBLBaseComponents', 'UserIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(UserStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'UserStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'Unknown7', 'Unknown');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'Suspended2', 'Suspended');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'Confirmed2', 'Confirmed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'Unconfirmed2', 'Unconfirmed');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'Deleted2', 'Deleted');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'Merged2', 'Merged');
RemClassRegistry.RegisterExternalPropName(TypeInfo(UserStatusCodeType), 'CustomCode197', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(VATStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'VATStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(VATStatusCodeType), 'CustomCode198', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROItemStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'VeROItemStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(VeROItemStatusCodeType), 'CustomCode199', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROReportPacketStatusCodeType), 'urn:ebay:apis:eBLBaseComponents', 'VeROReportPacketStatusCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(VeROReportPacketStatusCodeType), 'Received2', 'Received');
RemClassRegistry.RegisterExternalPropName(TypeInfo(VeROReportPacketStatusCodeType), 'InProcess2', 'InProcess');
RemClassRegistry.RegisterExternalPropName(TypeInfo(VeROReportPacketStatusCodeType), 'CustomCode200', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(WirelessCarrierIDCodeType), 'urn:ebay:apis:eBLBaseComponents', 'WirelessCarrierIDCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(WirelessCarrierIDCodeType), 'CustomCode201', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(WishListSortCodeType), 'urn:ebay:apis:eBLBaseComponents', 'WishListSortCodeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(WishListSortCodeType), 'PriceDescending2', 'PriceDescending');
RemClassRegistry.RegisterExternalPropName(TypeInfo(WishListSortCodeType), 'CustomCode202', 'CustomCode');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessagesAAQToBidderRequestType), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessagesAAQToBidderRequestType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddMemberMessagesAAQToBidderResponseType), 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessagesAAQToBidderResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AddToWatchListRequestType), 'urn:ebay:apis:eBLBaseComponents', 'AddToWatchListRequestType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetApiAccessRulesResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetApiAccessRulesResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetAttributesXSLResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesXSLResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCategorySpecificsResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetCategorySpecificsResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetCharitiesResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetCharitiesResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetContextualKeywordsResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetContextualKeywordsResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemRecommendationsRequestType), 'urn:ebay:apis:eBLBaseComponents', 'GetItemRecommendationsRequestType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetItemRecommendationsResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetItemRecommendationsResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetLiveAuctionCatalogDetailsResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionCatalogDetailsResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFamilyMembersRequestType), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFamilyMembersRequestType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductFinderXSLResponseType), 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderXSLResponseType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GetProductSearchResultsRequestType), 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchResultsRequestType');
RemClassRegistry.RegisterXSInfo(TypeInfo(GeteBayDetailsRequestType), 'urn:ebay:apis:eBLBaseComponents', 'GeteBayDetailsRequestType');
RemClassRegistry.RegisterXSClass(UserIdPasswordType, 'urn:ebay:apis:eBLBaseComponents', 'UserIdPasswordType');
RemClassRegistry.RegisterXSClass(CustomSecurityHeaderType, 'urn:ebay:apis:eBLBaseComponents', 'CustomSecurityHeaderType');
RemClassRegistry.RegisterXSInfo(TypeInfo(RequesterCredentials), 'urn:ebay:apis:eBLBaseComponents', 'RequesterCredentials');
RemClassRegistry.RegisterXSInfo(TypeInfo(LookupAttributeArrayType), 'urn:ebay:apis:eBLBaseComponents', 'LookupAttributeArrayType');
RemClassRegistry.RegisterXSClass(PaymentDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PaymentDetailsType');
RemClassRegistry.RegisterXSClass(DistanceType, 'urn:ebay:apis:eBLBaseComponents', 'DistanceType');
RemClassRegistry.RegisterXSClass(ListingDesignerType, 'urn:ebay:apis:eBLBaseComponents', 'ListingDesignerType');
RemClassRegistry.RegisterXSClass(ReviseStatusType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseStatusType');
RemClassRegistry.RegisterXSClass(SearchDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'SearchDetailsType');
RemClassRegistry.RegisterXSClass(ExternalProductIDType, 'urn:ebay:apis:eBLBaseComponents', 'ExternalProductIDType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExternalProductIDType), 'Type_', 'Type');
RemClassRegistry.RegisterXSClass(ListingCheckoutRedirectPreferenceType, 'urn:ebay:apis:eBLBaseComponents', 'ListingCheckoutRedirectPreferenceType');
RemClassRegistry.RegisterXSClass(AddressType, 'urn:ebay:apis:eBLBaseComponents', 'AddressType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AddressType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(NameValueListArrayType), 'urn:ebay:apis:eBLBaseComponents', 'NameValueListArrayType');
RemClassRegistry.RegisterXSClass(BuyerProtectionDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'BuyerProtectionDetailsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AttributeType), 'urn:ebay:apis:eBLBaseComponents', 'AttributeType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AttributeSetType), 'urn:ebay:apis:eBLBaseComponents', 'AttributeSetType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AttributeSetArrayType), 'urn:ebay:apis:eBLBaseComponents', 'AttributeSetArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AttributeArrayType), 'urn:ebay:apis:eBLBaseComponents', 'AttributeArrayType');
RemClassRegistry.RegisterXSClass(ValType, 'urn:ebay:apis:eBLBaseComponents', 'ValType');
RemClassRegistry.RegisterXSClass(LookupAttributeType, 'urn:ebay:apis:eBLBaseComponents', 'LookupAttributeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(LookupAttributeType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(AmountType, 'urn:ebay:apis:eBLBaseComponents', 'AmountType');
RemClassRegistry.RegisterXSClass(LiveAuctionDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'LiveAuctionDetailsType');
RemClassRegistry.RegisterXSClass(BestOfferDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'BestOfferDetailsType');
RemClassRegistry.RegisterXSClass(BiddingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'BiddingDetailsType');
RemClassRegistry.RegisterXSClass(VATDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'VATDetailsType');
RemClassRegistry.RegisterXSClass(CharityType, 'urn:ebay:apis:eBLBaseComponents', 'CharityType');
RemClassRegistry.RegisterXSClass(PromotionDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PromotionDetailsType');
RemClassRegistry.RegisterXSClass(PromotedItemType, 'urn:ebay:apis:eBLBaseComponents', 'PromotedItemType');
RemClassRegistry.RegisterXSClass(CrossPromotionsType, 'urn:ebay:apis:eBLBaseComponents', 'CrossPromotionsType');
RemClassRegistry.RegisterXSClass(ExpressDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressDetailsType');
RemClassRegistry.RegisterXSClass(DigitalDeliveryDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'DigitalDeliveryDetailsType');
RemClassRegistry.RegisterXSClass(PictureDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PictureDetailsType');
RemClassRegistry.RegisterXSClass(StorefrontType, 'urn:ebay:apis:eBLBaseComponents', 'StorefrontType');
RemClassRegistry.RegisterXSClass(ProductListingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ProductListingDetailsType');
RemClassRegistry.RegisterXSClass(ExpressItemRequirementsType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressItemRequirementsType');
RemClassRegistry.RegisterXSClass(ListingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ListingDetailsType');
RemClassRegistry.RegisterXSClass(ExtendedProductFinderIDType, 'urn:ebay:apis:eBLBaseComponents', 'ExtendedProductFinderIDType');
RemClassRegistry.RegisterXSClass(LabelType, 'urn:ebay:apis:eBLBaseComponents', 'LabelType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(LabelType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(CharacteristicType, 'urn:ebay:apis:eBLBaseComponents', 'CharacteristicType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharacteristicType), 'Label_', 'Label');
RemClassRegistry.RegisterXSClass(CharacteristicsSetType, 'urn:ebay:apis:eBLBaseComponents', 'CharacteristicsSetType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharacteristicsSetType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(CategoryType, 'urn:ebay:apis:eBLBaseComponents', 'CategoryType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CategoryType), 'Virtual_', 'Virtual');
RemClassRegistry.RegisterXSClass(BuyerType, 'urn:ebay:apis:eBLBaseComponents', 'BuyerType');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharityAffiliationsType), 'urn:ebay:apis:eBLBaseComponents', 'CharityAffiliationsType');
RemClassRegistry.RegisterXSClass(SchedulingInfoType, 'urn:ebay:apis:eBLBaseComponents', 'SchedulingInfoType');
RemClassRegistry.RegisterXSClass(ProStoresDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ProStoresDetailsType');
RemClassRegistry.RegisterXSClass(ProStoresCheckoutPreferenceType, 'urn:ebay:apis:eBLBaseComponents', 'ProStoresCheckoutPreferenceType');
RemClassRegistry.RegisterXSClass(FeedbackRequirementsType, 'urn:ebay:apis:eBLBaseComponents', 'FeedbackRequirementsType');
RemClassRegistry.RegisterXSClass(ExpressSellerRequirementsType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressSellerRequirementsType');
RemClassRegistry.RegisterXSClass(SellerType, 'urn:ebay:apis:eBLBaseComponents', 'SellerType');
RemClassRegistry.RegisterXSClass(CharityIDType, 'urn:ebay:apis:eBLBaseComponents', 'CharityIDType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharityIDType), 'type_', 'type');
RemClassRegistry.RegisterXSClass(CharityAffiliationType, 'urn:ebay:apis:eBLBaseComponents', 'CharityAffiliationType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharityAffiliationType), 'type_', 'type');
RemClassRegistry.RegisterXSClass(CharitySellerType, 'urn:ebay:apis:eBLBaseComponents', 'CharitySellerType');
RemClassRegistry.RegisterXSClass(ItemBidDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ItemBidDetailsType');
RemClassRegistry.RegisterXSClass(BiddingSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'BiddingSummaryType');
RemClassRegistry.RegisterXSClass(UserType, 'urn:ebay:apis:eBLBaseComponents', 'UserType');
RemClassRegistry.RegisterXSClass(PromotionalSaleDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PromotionalSaleDetailsType');
RemClassRegistry.RegisterXSClass(SellingStatusType, 'urn:ebay:apis:eBLBaseComponents', 'SellingStatusType');
RemClassRegistry.RegisterXSClass(SalesTaxType, 'urn:ebay:apis:eBLBaseComponents', 'SalesTaxType');
RemClassRegistry.RegisterXSClass(ShippingServiceOptionsType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingServiceOptionsType');
RemClassRegistry.RegisterXSClass(InternationalShippingServiceOptionsType, 'urn:ebay:apis:eBLBaseComponents', 'InternationalShippingServiceOptionsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(TaxTableType), 'urn:ebay:apis:eBLBaseComponents', 'TaxTableType');
RemClassRegistry.RegisterXSClass(InsuranceDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'InsuranceDetailsType');
RemClassRegistry.RegisterXSClass(PromotionalShippingDiscountDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PromotionalShippingDiscountDetailsType');
RemClassRegistry.RegisterXSClass(MeasureType, 'urn:ebay:apis:eBLBaseComponents', 'MeasureType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MeasureType), 'unit_', 'unit');
RemClassRegistry.RegisterXSClass(CalculatedShippingRateType, 'urn:ebay:apis:eBLBaseComponents', 'CalculatedShippingRateType');
RemClassRegistry.RegisterXSClass(TaxJurisdictionType, 'urn:ebay:apis:eBLBaseComponents', 'TaxJurisdictionType');
RemClassRegistry.RegisterXSClass(DiscountProfileType, 'urn:ebay:apis:eBLBaseComponents', 'DiscountProfileType');
RemClassRegistry.RegisterXSClass(CalculatedShippingDiscountType, 'urn:ebay:apis:eBLBaseComponents', 'CalculatedShippingDiscountType');
RemClassRegistry.RegisterXSClass(FlatShippingDiscountType, 'urn:ebay:apis:eBLBaseComponents', 'FlatShippingDiscountType');
RemClassRegistry.RegisterXSClass(ShippingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingDetailsType');
RemClassRegistry.RegisterXSClass(MaximumItemRequirementsType, 'urn:ebay:apis:eBLBaseComponents', 'MaximumItemRequirementsType');
RemClassRegistry.RegisterXSClass(VerifiedUserRequirementsType, 'urn:ebay:apis:eBLBaseComponents', 'VerifiedUserRequirementsType');
RemClassRegistry.RegisterXSClass(BuyerRequirementsType, 'urn:ebay:apis:eBLBaseComponents', 'BuyerRequirementsType');
RemClassRegistry.RegisterXSClass(ContactHoursDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ContactHoursDetailsType');
RemClassRegistry.RegisterXSClass(ExtendedContactDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ExtendedContactDetailsType');
RemClassRegistry.RegisterXSClass(ItemType, 'urn:ebay:apis:eBLBaseComponents', 'ItemType');
RemClassRegistry.RegisterXSClass(NameValueListType, 'urn:ebay:apis:eBLBaseComponents', 'NameValueListType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NameValueListType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeesType), 'urn:ebay:apis:eBLBaseComponents', 'FeesType');
RemClassRegistry.RegisterXSClass(FeeType, 'urn:ebay:apis:eBLBaseComponents', 'FeeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(FeeType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(MemberMessageType, 'urn:ebay:apis:eBLBaseComponents', 'MemberMessageType');
RemClassRegistry.RegisterXSClass(AddMemberMessagesAAQToBidderRequestContainerType, 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessagesAAQToBidderRequestContainerType');
RemClassRegistry.RegisterXSClass(AddMemberMessagesAAQToBidderResponseContainerType, 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessagesAAQToBidderResponseContainerType');
RemClassRegistry.RegisterXSClass(CheckoutStatusType, 'urn:ebay:apis:eBLBaseComponents', 'CheckoutStatusType');
RemClassRegistry.RegisterXSClass(ExternalTransactionType, 'urn:ebay:apis:eBLBaseComponents', 'ExternalTransactionType');
RemClassRegistry.RegisterXSInfo(TypeInfo(TransactionArrayType), 'urn:ebay:apis:eBLBaseComponents', 'TransactionArrayType');
RemClassRegistry.RegisterXSClass(OrderType, 'urn:ebay:apis:eBLBaseComponents', 'OrderType');
RemClassRegistry.RegisterXSClass(TransactionStatusType, 'urn:ebay:apis:eBLBaseComponents', 'TransactionStatusType');
RemClassRegistry.RegisterXSClass(SellingManagerProductDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'SellingManagerProductDetailsType');
RemClassRegistry.RegisterXSClass(FeedbackInfoType, 'urn:ebay:apis:eBLBaseComponents', 'FeedbackInfoType');
RemClassRegistry.RegisterXSInfo(TypeInfo(RefundArrayType), 'urn:ebay:apis:eBLBaseComponents', 'RefundArrayType');
RemClassRegistry.RegisterXSClass(TransactionType, 'urn:ebay:apis:eBLBaseComponents', 'TransactionType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(TransactionType), 'Platform_', 'Platform');
RemClassRegistry.RegisterXSClass(RefundType, 'urn:ebay:apis:eBLBaseComponents', 'RefundType');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidApprovalArrayType), 'urn:ebay:apis:eBLBaseComponents', 'BidApprovalArrayType');
RemClassRegistry.RegisterXSClass(BidApprovalType, 'urn:ebay:apis:eBLBaseComponents', 'BidApprovalType');
RemClassRegistry.RegisterXSInfo(TypeInfo(LiveAuctionApprovalStatusArrayType), 'urn:ebay:apis:eBLBaseComponents', 'LiveAuctionApprovalStatusArrayType');
RemClassRegistry.RegisterXSClass(LiveAuctionApprovalStatusType, 'urn:ebay:apis:eBLBaseComponents', 'LiveAuctionApprovalStatusType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesAlertIDArrayType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesAlertIDArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesMessageIDArrayType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesMessageIDArrayType');
RemClassRegistry.RegisterXSClass(PaginationType, 'urn:ebay:apis:eBLBaseComponents', 'PaginationType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AccountEntriesType), 'urn:ebay:apis:eBLBaseComponents', 'AccountEntriesType');
RemClassRegistry.RegisterXSClass(PaginationResultType, 'urn:ebay:apis:eBLBaseComponents', 'PaginationResultType');
RemClassRegistry.RegisterXSClass(AdditionalAccountType, 'urn:ebay:apis:eBLBaseComponents', 'AdditionalAccountType');
RemClassRegistry.RegisterXSClass(AccountSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'AccountSummaryType');
RemClassRegistry.RegisterXSClass(AccountEntryType, 'urn:ebay:apis:eBLBaseComponents', 'AccountEntryType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MemberMessageExchangeArrayType), 'urn:ebay:apis:eBLBaseComponents', 'MemberMessageExchangeArrayType');
RemClassRegistry.RegisterXSClass(AdFormatLeadType, 'urn:ebay:apis:eBLBaseComponents', 'AdFormatLeadType');
RemClassRegistry.RegisterXSClass(MemberMessageExchangeType, 'urn:ebay:apis:eBLBaseComponents', 'MemberMessageExchangeType');
RemClassRegistry.RegisterXSInfo(TypeInfo(OfferArrayType), 'urn:ebay:apis:eBLBaseComponents', 'OfferArrayType');
RemClassRegistry.RegisterXSClass(OfferType, 'urn:ebay:apis:eBLBaseComponents', 'OfferType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(OfferType), 'Message_', 'Message');
RemClassRegistry.RegisterXSClass(ApiAccessRuleType, 'urn:ebay:apis:eBLBaseComponents', 'ApiAccessRuleType');
RemClassRegistry.RegisterXSClass(XSLFileType, 'urn:ebay:apis:eBLBaseComponents', 'XSLFileType');
RemClassRegistry.RegisterXSInfo(TypeInfo(BestOfferArrayType), 'urn:ebay:apis:eBLBaseComponents', 'BestOfferArrayType');
RemClassRegistry.RegisterXSClass(BestOfferType, 'urn:ebay:apis:eBLBaseComponents', 'BestOfferType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemArrayType), 'urn:ebay:apis:eBLBaseComponents', 'ItemArrayType');
RemClassRegistry.RegisterXSClass(AffiliateTrackingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'AffiliateTrackingDetailsType');
RemClassRegistry.RegisterXSClass(CheckoutCompleteRedirectType, 'urn:ebay:apis:eBLBaseComponents', 'CheckoutCompleteRedirectType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CheckoutCompleteRedirectType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(CartItemArrayType), 'urn:ebay:apis:eBLBaseComponents', 'CartItemArrayType');
RemClassRegistry.RegisterXSClass(CheckoutOrderDetailType, 'urn:ebay:apis:eBLBaseComponents', 'CheckoutOrderDetailType');
RemClassRegistry.RegisterXSClass(CartType, 'urn:ebay:apis:eBLBaseComponents', 'CartType');
RemClassRegistry.RegisterXSClass(CartItemType, 'urn:ebay:apis:eBLBaseComponents', 'CartItemType');
RemClassRegistry.RegisterXSInfo(TypeInfo(CategoryArrayType), 'urn:ebay:apis:eBLBaseComponents', 'CategoryArrayType');
RemClassRegistry.RegisterXSClass(SiteWideCharacteristicsType, 'urn:ebay:apis:eBLBaseComponents', 'SiteWideCharacteristicsType');
RemClassRegistry.RegisterXSClass(ListingDurationReferenceType, 'urn:ebay:apis:eBLBaseComponents', 'ListingDurationReferenceType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingDurationReferenceType), 'type_', 'type');
RemClassRegistry.RegisterXSClass(CategoryFeatureType, 'urn:ebay:apis:eBLBaseComponents', 'CategoryFeatureType');
RemClassRegistry.RegisterXSClass(SiteDefaultsType, 'urn:ebay:apis:eBLBaseComponents', 'SiteDefaultsType');
RemClassRegistry.RegisterXSClass(ShippingTermRequiredDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingTermRequiredDefinitionType');
RemClassRegistry.RegisterXSClass(BestOfferEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'BestOfferEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(DutchBINEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'DutchBINEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(UserConsentRequiredDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'UserConsentRequiredDefinitionType');
RemClassRegistry.RegisterXSClass(HomePageFeaturedEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'HomePageFeaturedEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ProPackEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ProPackEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(BasicUpgradePackEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'BasicUpgradePackEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ValuePackEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ValuePackEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ProPackPlusEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ProPackPlusEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(AdFormatEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'AdFormatEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(DigitalDeliveryEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'DigitalDeliveryEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(BestOfferCounterEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'BestOfferCounterEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(BestOfferAutoDeclineEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'BestOfferAutoDeclineEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(LocalMarketSpecialitySubscriptionDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalMarketSpecialitySubscriptionDefinitionType');
RemClassRegistry.RegisterXSClass(LocalMarketRegularSubscriptionDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalMarketRegularSubscriptionDefinitionType');
RemClassRegistry.RegisterXSClass(LocalMarketPremiumSubscriptionDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalMarketPremiumSubscriptionDefinitionType');
RemClassRegistry.RegisterXSClass(LocalMarketNonSubscriptionDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalMarketNonSubscriptionDefinitionType');
RemClassRegistry.RegisterXSClass(ExpressEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ExpressPicturesRequiredDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressPicturesRequiredDefinitionType');
RemClassRegistry.RegisterXSClass(ExpressConditionRequiredDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressConditionRequiredDefinitionType');
RemClassRegistry.RegisterXSClass(MinimumReservePriceDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'MinimumReservePriceDefinitionType');
RemClassRegistry.RegisterXSClass(TCREnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'TCREnabledDefinitionType');
RemClassRegistry.RegisterXSClass(SellerContactDetailsEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'SellerContactDetailsEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(StoreInventoryEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'StoreInventoryEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(SkypeMeTransactionalEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'SkypeMeTransactionalEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(SkypeMeNonTransactionalEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'SkypeMeNonTransactionalEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(LocalListingDistancesRegularDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalListingDistancesRegularDefinitionType');
RemClassRegistry.RegisterXSClass(LocalListingDistancesSpecialtyDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalListingDistancesSpecialtyDefinitionType');
RemClassRegistry.RegisterXSClass(LocalListingDistancesNonSubscriptionDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'LocalListingDistancesNonSubscriptionDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdPaymentMethodEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdPaymentMethodEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdShippingMethodEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdShippingMethodEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdBestOfferEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdBestOfferEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdCounterOfferEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdCounterOfferEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdAutoDeclineEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdAutoDeclineEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdContactByPhoneEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdContactByPhoneEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdContactByEmailEnabledDefintionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdContactByEmailEnabledDefintionType');
RemClassRegistry.RegisterXSClass(SafePaymentRequiredDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'SafePaymentRequiredDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdPayPerLeadEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdPayPerLeadEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ItemSpecificsEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ItemSpecificsEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(PaisaPayFullEscrowEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'PaisaPayFullEscrowEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(BestOfferAutoAcceptEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'BestOfferAutoAcceptEnabledDefinitionType');
RemClassRegistry.RegisterXSClass(ClassifiedAdAutoAcceptEnabledDefinitionType, 'urn:ebay:apis:eBLBaseComponents', 'ClassifiedAdAutoAcceptEnabledDefinitionType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingDurationDefinitionType), 'urn:ebay:apis:eBLBaseComponents', 'ListingDurationDefinitionType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingDurationDefinitionsType), 'urn:ebay:apis:eBLBaseComponents', 'ListingDurationDefinitionsType');
RemClassRegistry.RegisterXSClass(FeatureDefinitionsType, 'urn:ebay:apis:eBLBaseComponents', 'FeatureDefinitionsType');
RemClassRegistry.RegisterXSClass(ProximitySearchType, 'urn:ebay:apis:eBLBaseComponents', 'ProximitySearchType');
RemClassRegistry.RegisterXSClass(GroupType, 'urn:ebay:apis:eBLBaseComponents', 'GroupType');
RemClassRegistry.RegisterXSClass(SiteLocationType, 'urn:ebay:apis:eBLBaseComponents', 'SiteLocationType');
RemClassRegistry.RegisterXSClass(SearchLocationType, 'urn:ebay:apis:eBLBaseComponents', 'SearchLocationType');
RemClassRegistry.RegisterXSInfo(TypeInfo(RelatedSearchKeywordArrayType), 'urn:ebay:apis:eBLBaseComponents', 'RelatedSearchKeywordArrayType');
RemClassRegistry.RegisterXSClass(BuyingGuideType, 'urn:ebay:apis:eBLBaseComponents', 'BuyingGuideType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(BuyingGuideType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(BuyingGuideDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'BuyingGuideDetailsType');
RemClassRegistry.RegisterXSClass(CategoryMappingType, 'urn:ebay:apis:eBLBaseComponents', 'CategoryMappingType');
RemClassRegistry.RegisterXSClass(CategoryItemSpecificsType, 'urn:ebay:apis:eBLBaseComponents', 'CategoryItemSpecificsType');
RemClassRegistry.RegisterXSClass(CharityInfoType, 'urn:ebay:apis:eBLBaseComponents', 'CharityInfoType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(CharityInfoType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(ContextSearchAssetType, 'urn:ebay:apis:eBLBaseComponents', 'ContextSearchAssetType');
RemClassRegistry.RegisterXSClass(DescriptionTemplateType, 'urn:ebay:apis:eBLBaseComponents', 'DescriptionTemplateType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DescriptionTemplateType), 'Name_', 'Name');
RemClassRegistry.RegisterExternalPropName(TypeInfo(DescriptionTemplateType), 'Type_', 'Type');
RemClassRegistry.RegisterXSClass(ThemeGroupType, 'urn:ebay:apis:eBLBaseComponents', 'ThemeGroupType');
RemClassRegistry.RegisterXSClass(DisputeResolutionType, 'urn:ebay:apis:eBLBaseComponents', 'DisputeResolutionType');
RemClassRegistry.RegisterXSClass(DisputeMessageType, 'urn:ebay:apis:eBLBaseComponents', 'DisputeMessageType');
RemClassRegistry.RegisterXSClass(DisputeType, 'urn:ebay:apis:eBLBaseComponents', 'DisputeType');
RemClassRegistry.RegisterXSClass(ExpressProductType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressProductType');
RemClassRegistry.RegisterXSClass(WishListEntryType, 'urn:ebay:apis:eBLBaseComponents', 'WishListEntryType');
RemClassRegistry.RegisterXSClass(WishListType, 'urn:ebay:apis:eBLBaseComponents', 'WishListType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(WishListType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeedbackDetailArrayType), 'urn:ebay:apis:eBLBaseComponents', 'FeedbackDetailArrayType');
RemClassRegistry.RegisterXSClass(FeedbackDetailType, 'urn:ebay:apis:eBLBaseComponents', 'FeedbackDetailType');
RemClassRegistry.RegisterXSInfo(TypeInfo(FeedbackPeriodArrayType), 'urn:ebay:apis:eBLBaseComponents', 'FeedbackPeriodArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AverageRatingDetailArrayType), 'urn:ebay:apis:eBLBaseComponents', 'AverageRatingDetailArrayType');
RemClassRegistry.RegisterXSClass(FeedbackSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'FeedbackSummaryType');
RemClassRegistry.RegisterXSClass(FeedbackPeriodType, 'urn:ebay:apis:eBLBaseComponents', 'FeedbackPeriodType');
RemClassRegistry.RegisterXSClass(AverageRatingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'AverageRatingDetailsType');
RemClassRegistry.RegisterXSClass(GetRecommendationsRequestContainerType, 'urn:ebay:apis:eBLBaseComponents', 'GetRecommendationsRequestContainerType');
RemClassRegistry.RegisterXSClass(SIFFTASRecommendationsType, 'urn:ebay:apis:eBLBaseComponents', 'SIFFTASRecommendationsType');
RemClassRegistry.RegisterXSClass(AttributeRecommendationsType, 'urn:ebay:apis:eBLBaseComponents', 'AttributeRecommendationsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ProductRecommendationsType), 'urn:ebay:apis:eBLBaseComponents', 'ProductRecommendationsType');
RemClassRegistry.RegisterXSClass(ItemSpecificsRecommendationsType, 'urn:ebay:apis:eBLBaseComponents', 'ItemSpecificsRecommendationsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ListingTipArrayType), 'urn:ebay:apis:eBLBaseComponents', 'ListingTipArrayType');
RemClassRegistry.RegisterXSClass(ListingAnalyzerRecommendationsType, 'urn:ebay:apis:eBLBaseComponents', 'ListingAnalyzerRecommendationsType');
RemClassRegistry.RegisterXSClass(ListingTipMessageType, 'urn:ebay:apis:eBLBaseComponents', 'ListingTipMessageType');
RemClassRegistry.RegisterXSClass(ListingTipFieldType, 'urn:ebay:apis:eBLBaseComponents', 'ListingTipFieldType');
RemClassRegistry.RegisterXSClass(ListingTipType, 'urn:ebay:apis:eBLBaseComponents', 'ListingTipType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ListingTipType), 'Message_', 'Message');
RemClassRegistry.RegisterXSClass(ProductInfoType, 'urn:ebay:apis:eBLBaseComponents', 'ProductInfoType');
RemClassRegistry.RegisterXSClass(PricingRecommendationsType, 'urn:ebay:apis:eBLBaseComponents', 'PricingRecommendationsType');
RemClassRegistry.RegisterXSClass(GetRecommendationsResponseContainerType, 'urn:ebay:apis:eBLBaseComponents', 'GetRecommendationsResponseContainerType');
RemClassRegistry.RegisterXSClass(PaginatedTransactionArrayType, 'urn:ebay:apis:eBLBaseComponents', 'PaginatedTransactionArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidderDetailArrayType), 'urn:ebay:apis:eBLBaseComponents', 'BidderDetailArrayType');
RemClassRegistry.RegisterXSClass(LiveAuctionBidType, 'urn:ebay:apis:eBLBaseComponents', 'LiveAuctionBidType');
RemClassRegistry.RegisterXSClass(BidderDetailType, 'urn:ebay:apis:eBLBaseComponents', 'BidderDetailType');
RemClassRegistry.RegisterXSClass(ScheduleType, 'urn:ebay:apis:eBLBaseComponents', 'ScheduleType');
RemClassRegistry.RegisterXSClass(LiveAuctionCatalogType, 'urn:ebay:apis:eBLBaseComponents', 'LiveAuctionCatalogType');
RemClassRegistry.RegisterXSClass(ASQPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'ASQPreferencesType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesAlertArrayType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesAlertArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MyMessagesMessageArrayType), 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesMessageArrayType');
RemClassRegistry.RegisterXSClass(MyMessagesFolderSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesFolderSummaryType');
RemClassRegistry.RegisterXSClass(MyMessagesSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesSummaryType');
RemClassRegistry.RegisterXSClass(MyMessagesResponseDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesResponseDetailsType');
RemClassRegistry.RegisterXSClass(MyMessagesForwardDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesForwardDetailsType');
RemClassRegistry.RegisterXSClass(MyMessagesFolderType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesFolderType');
RemClassRegistry.RegisterXSClass(MyMessagesAlertType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesAlertType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MyMessagesAlertType), 'Read_', 'Read');
RemClassRegistry.RegisterXSClass(MyMessagesMessageType, 'urn:ebay:apis:eBLBaseComponents', 'MyMessagesMessageType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MyMessagesMessageType), 'Read_', 'Read');
RemClassRegistry.RegisterXSClass(ItemListCustomizationType, 'urn:ebay:apis:eBLBaseComponents', 'ItemListCustomizationType');
RemClassRegistry.RegisterXSClass(MyeBaySelectionType, 'urn:ebay:apis:eBLBaseComponents', 'MyeBaySelectionType');
RemClassRegistry.RegisterXSClass(BidAssistantListType, 'urn:ebay:apis:eBLBaseComponents', 'BidAssistantListType');
RemClassRegistry.RegisterXSClass(BuyingSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'BuyingSummaryType');
RemClassRegistry.RegisterXSClass(PaginatedItemArrayType, 'urn:ebay:apis:eBLBaseComponents', 'PaginatedItemArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(BidGroupArrayType), 'urn:ebay:apis:eBLBaseComponents', 'BidGroupArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(OrderTransactionArrayType), 'urn:ebay:apis:eBLBaseComponents', 'OrderTransactionArrayType');
RemClassRegistry.RegisterXSClass(PaginatedOrderTransactionArrayType, 'urn:ebay:apis:eBLBaseComponents', 'PaginatedOrderTransactionArrayType');
RemClassRegistry.RegisterXSClass(OrderTransactionType, 'urn:ebay:apis:eBLBaseComponents', 'OrderTransactionType');
RemClassRegistry.RegisterXSClass(MyeBayFavoriteSearchType, 'urn:ebay:apis:eBLBaseComponents', 'MyeBayFavoriteSearchType');
RemClassRegistry.RegisterXSClass(MyeBayFavoriteSearchListType, 'urn:ebay:apis:eBLBaseComponents', 'MyeBayFavoriteSearchListType');
RemClassRegistry.RegisterXSClass(MyeBayFavoriteSellerType, 'urn:ebay:apis:eBLBaseComponents', 'MyeBayFavoriteSellerType');
RemClassRegistry.RegisterXSClass(MyeBayFavoriteSellerListType, 'urn:ebay:apis:eBLBaseComponents', 'MyeBayFavoriteSellerListType');
RemClassRegistry.RegisterXSClass(BidGroupItemType, 'urn:ebay:apis:eBLBaseComponents', 'BidGroupItemType');
RemClassRegistry.RegisterXSClass(BidGroupType, 'urn:ebay:apis:eBLBaseComponents', 'BidGroupType');
RemClassRegistry.RegisterXSClass(ReminderCustomizationType, 'urn:ebay:apis:eBLBaseComponents', 'ReminderCustomizationType');
RemClassRegistry.RegisterXSClass(RemindersType, 'urn:ebay:apis:eBLBaseComponents', 'RemindersType');
RemClassRegistry.RegisterXSClass(SellingSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'SellingSummaryType');
RemClassRegistry.RegisterXSClass(MyeBaySellingSummaryType, 'urn:ebay:apis:eBLBaseComponents', 'MyeBaySellingSummaryType');
RemClassRegistry.RegisterXSClass(ApplicationDeliveryPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'ApplicationDeliveryPreferencesType');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationEnableArrayType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationEnableArrayType');
RemClassRegistry.RegisterXSClass(NotificationEventPropertyType, 'urn:ebay:apis:eBLBaseComponents', 'NotificationEventPropertyType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationEventPropertyType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(NotificationEnableType, 'urn:ebay:apis:eBLBaseComponents', 'NotificationEnableType');
RemClassRegistry.RegisterXSClass(SMSSubscriptionType, 'urn:ebay:apis:eBLBaseComponents', 'SMSSubscriptionType');
RemClassRegistry.RegisterXSClass(SummaryEventScheduleType, 'urn:ebay:apis:eBLBaseComponents', 'SummaryEventScheduleType');
RemClassRegistry.RegisterXSClass(NotificationUserDataType, 'urn:ebay:apis:eBLBaseComponents', 'NotificationUserDataType');
RemClassRegistry.RegisterXSInfo(TypeInfo(NotificationDetailsArrayType), 'urn:ebay:apis:eBLBaseComponents', 'NotificationDetailsArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(MarkUpMarkDownHistoryType), 'urn:ebay:apis:eBLBaseComponents', 'MarkUpMarkDownHistoryType');
RemClassRegistry.RegisterXSClass(NotificationStatisticsType, 'urn:ebay:apis:eBLBaseComponents', 'NotificationStatisticsType');
RemClassRegistry.RegisterXSClass(NotificationDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'NotificationDetailsType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(NotificationDetailsType), 'Type_', 'Type');
RemClassRegistry.RegisterXSClass(MarkUpMarkDownEventType, 'urn:ebay:apis:eBLBaseComponents', 'MarkUpMarkDownEventType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(MarkUpMarkDownEventType), 'Type_', 'Type');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemTransactionIDArrayType), 'urn:ebay:apis:eBLBaseComponents', 'ItemTransactionIDArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(OrderIDArrayType), 'urn:ebay:apis:eBLBaseComponents', 'OrderIDArrayType');
RemClassRegistry.RegisterXSClass(ItemTransactionIDType, 'urn:ebay:apis:eBLBaseComponents', 'ItemTransactionIDType');
RemClassRegistry.RegisterXSInfo(TypeInfo(OrderArrayType), 'urn:ebay:apis:eBLBaseComponents', 'OrderArrayType');
RemClassRegistry.RegisterXSClass(PictureManagerPictureDisplayType, 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerPictureDisplayType');
RemClassRegistry.RegisterXSClass(PictureManagerPictureType, 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerPictureType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerPictureType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(PictureManagerFolderType, 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerFolderType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(PictureManagerFolderType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(PictureManagerDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerDetailsType');
RemClassRegistry.RegisterXSClass(PictureManagerSubscriptionType, 'urn:ebay:apis:eBLBaseComponents', 'PictureManagerSubscriptionType');
RemClassRegistry.RegisterXSClass(SearchAttributesType, 'urn:ebay:apis:eBLBaseComponents', 'SearchAttributesType');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharacteristicSetIDsType), 'urn:ebay:apis:eBLBaseComponents', 'CharacteristicSetIDsType');
RemClassRegistry.RegisterXSClass(ProductSearchType, 'urn:ebay:apis:eBLBaseComponents', 'ProductSearchType');
RemClassRegistry.RegisterXSClass(DataElementSetType, 'urn:ebay:apis:eBLBaseComponents', 'DataElementSetType');
RemClassRegistry.RegisterXSClass(ProductFinderConstraintType, 'urn:ebay:apis:eBLBaseComponents', 'ProductFinderConstraintType');
RemClassRegistry.RegisterXSClass(ProductType, 'urn:ebay:apis:eBLBaseComponents', 'ProductType');
RemClassRegistry.RegisterXSClass(ProductFamilyType, 'urn:ebay:apis:eBLBaseComponents', 'ProductFamilyType');
RemClassRegistry.RegisterXSClass(ResponseAttributeSetType, 'urn:ebay:apis:eBLBaseComponents', 'ResponseAttributeSetType');
RemClassRegistry.RegisterXSClass(ProductSearchResultType, 'urn:ebay:apis:eBLBaseComponents', 'ProductSearchResultType');
RemClassRegistry.RegisterXSClass(ProductSearchPageType, 'urn:ebay:apis:eBLBaseComponents', 'ProductSearchPageType');
RemClassRegistry.RegisterXSInfo(TypeInfo(CharacteristicsSetProductHistogramType), 'urn:ebay:apis:eBLBaseComponents', 'CharacteristicsSetProductHistogramType');
RemClassRegistry.RegisterXSClass(HistogramEntryType, 'urn:ebay:apis:eBLBaseComponents', 'HistogramEntryType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(HistogramEntryType), 'name_', 'name');
RemClassRegistry.RegisterXSClass(ReviewType, 'urn:ebay:apis:eBLBaseComponents', 'ReviewType');
RemClassRegistry.RegisterXSClass(ReviewDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ReviewDetailsType');
RemClassRegistry.RegisterXSClass(CatalogProductType, 'urn:ebay:apis:eBLBaseComponents', 'CatalogProductType');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionRuleArrayType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionRuleArrayType');
RemClassRegistry.RegisterXSClass(PromotionRuleType, 'urn:ebay:apis:eBLBaseComponents', 'PromotionRuleType');
RemClassRegistry.RegisterXSInfo(TypeInfo(PromotionalSaleArrayType), 'urn:ebay:apis:eBLBaseComponents', 'PromotionalSaleArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemIDArrayType), 'urn:ebay:apis:eBLBaseComponents', 'ItemIDArrayType');
RemClassRegistry.RegisterXSClass(PromotionalSaleType, 'urn:ebay:apis:eBLBaseComponents', 'PromotionalSaleType');
RemClassRegistry.RegisterXSInfo(TypeInfo(AuthenticationEntryArrayType), 'urn:ebay:apis:eBLBaseComponents', 'AuthenticationEntryArrayType');
RemClassRegistry.RegisterXSClass(AuthenticationEntryType, 'urn:ebay:apis:eBLBaseComponents', 'AuthenticationEntryType');
RemClassRegistry.RegisterXSClass(PriceRangeFilterType, 'urn:ebay:apis:eBLBaseComponents', 'PriceRangeFilterType');
RemClassRegistry.RegisterXSClass(UserIdFilterType, 'urn:ebay:apis:eBLBaseComponents', 'UserIdFilterType');
RemClassRegistry.RegisterXSClass(SearchLocationFilterType, 'urn:ebay:apis:eBLBaseComponents', 'SearchLocationFilterType');
RemClassRegistry.RegisterXSClass(SearchStoreFilterType, 'urn:ebay:apis:eBLBaseComponents', 'SearchStoreFilterType');
RemClassRegistry.RegisterXSClass(SearchRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SearchRequestType');
RemClassRegistry.RegisterXSClass(RequestCategoriesType, 'urn:ebay:apis:eBLBaseComponents', 'RequestCategoriesType');
RemClassRegistry.RegisterXSClass(BidRangeType, 'urn:ebay:apis:eBLBaseComponents', 'BidRangeType');
RemClassRegistry.RegisterXSClass(DateType, 'urn:ebay:apis:eBLBaseComponents', 'DateType');
RemClassRegistry.RegisterXSClass(TicketDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'TicketDetailsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(SearchResultItemArrayType), 'urn:ebay:apis:eBLBaseComponents', 'SearchResultItemArrayType');
RemClassRegistry.RegisterXSClass(SpellingSuggestionType, 'urn:ebay:apis:eBLBaseComponents', 'SpellingSuggestionType');
RemClassRegistry.RegisterXSClass(SearchResultItemType, 'urn:ebay:apis:eBLBaseComponents', 'SearchResultItemType');
RemClassRegistry.RegisterXSClass(ExpansionArrayType, 'urn:ebay:apis:eBLBaseComponents', 'ExpansionArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(DomainHistogramType), 'urn:ebay:apis:eBLBaseComponents', 'DomainHistogramType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ProductArrayType), 'urn:ebay:apis:eBLBaseComponents', 'ProductArrayType');
RemClassRegistry.RegisterXSClass(ExpressHistogramDomainDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressHistogramDomainDetailsType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ExpressHistogramDomainDetailsType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(ExpressHistogramProductType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressHistogramProductType');
RemClassRegistry.RegisterXSClass(ExpressHistogramAisleType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressHistogramAisleType');
RemClassRegistry.RegisterXSClass(ExpressHistogramDepartmentType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressHistogramDepartmentType');
RemClassRegistry.RegisterXSInfo(TypeInfo(UserIDArrayType), 'urn:ebay:apis:eBLBaseComponents', 'UserIDArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(SKUArrayType), 'urn:ebay:apis:eBLBaseComponents', 'SKUArrayType');
RemClassRegistry.RegisterXSClass(SellerPaymentType, 'urn:ebay:apis:eBLBaseComponents', 'SellerPaymentType');
RemClassRegistry.RegisterXSClass(CalculatedHandlingDiscountType, 'urn:ebay:apis:eBLBaseComponents', 'CalculatedHandlingDiscountType');
RemClassRegistry.RegisterXSClass(FlatRateInsuranceRangeCostType, 'urn:ebay:apis:eBLBaseComponents', 'FlatRateInsuranceRangeCostType');
RemClassRegistry.RegisterXSClass(ShippingInsuranceType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingInsuranceType');
RemClassRegistry.RegisterXSClass(StoreLogoType, 'urn:ebay:apis:eBLBaseComponents', 'StoreLogoType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreLogoType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCustomCategoryArrayType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomCategoryArrayType');
RemClassRegistry.RegisterXSClass(StoreColorType, 'urn:ebay:apis:eBLBaseComponents', 'StoreColorType');
RemClassRegistry.RegisterXSClass(StoreFontType, 'urn:ebay:apis:eBLBaseComponents', 'StoreFontType');
RemClassRegistry.RegisterXSClass(StoreColorSchemeType, 'urn:ebay:apis:eBLBaseComponents', 'StoreColorSchemeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreColorSchemeType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(StoreThemeType, 'urn:ebay:apis:eBLBaseComponents', 'StoreThemeType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreThemeType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(StoreCustomCategoryType, 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomCategoryType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomCategoryType), 'Name_', 'Name');
RemClassRegistry.RegisterXSClass(StoreCustomListingHeaderLinkType, 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomListingHeaderLinkType');
RemClassRegistry.RegisterXSClass(StoreCustomListingHeaderType, 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomListingHeaderType');
RemClassRegistry.RegisterXSClass(StoreType, 'urn:ebay:apis:eBLBaseComponents', 'StoreType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreCustomPageArrayType), 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomPageArrayType');
RemClassRegistry.RegisterXSClass(StoreCustomPageType, 'urn:ebay:apis:eBLBaseComponents', 'StoreCustomPageType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(StoreCustomPageType), 'Name_', 'Name');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreLogoArrayType), 'urn:ebay:apis:eBLBaseComponents', 'StoreLogoArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreSubscriptionArrayType), 'urn:ebay:apis:eBLBaseComponents', 'StoreSubscriptionArrayType');
RemClassRegistry.RegisterXSInfo(TypeInfo(StoreColorSchemeArrayType), 'urn:ebay:apis:eBLBaseComponents', 'StoreColorSchemeArrayType');
RemClassRegistry.RegisterXSClass(StoreThemeArrayType, 'urn:ebay:apis:eBLBaseComponents', 'StoreThemeArrayType');
RemClassRegistry.RegisterXSClass(StoreSubscriptionType, 'urn:ebay:apis:eBLBaseComponents', 'StoreSubscriptionType');
RemClassRegistry.RegisterXSClass(StoreVacationPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'StoreVacationPreferencesType');
RemClassRegistry.RegisterXSClass(StorePreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'StorePreferencesType');
RemClassRegistry.RegisterXSInfo(TypeInfo(SuggestedCategoryArrayType), 'urn:ebay:apis:eBLBaseComponents', 'SuggestedCategoryArrayType');
RemClassRegistry.RegisterXSClass(SuggestedCategoryType, 'urn:ebay:apis:eBLBaseComponents', 'SuggestedCategoryType');
RemClassRegistry.RegisterXSInfo(TypeInfo(DisputeArrayType), 'urn:ebay:apis:eBLBaseComponents', 'DisputeArrayType');
RemClassRegistry.RegisterXSClass(DisputeFilterCountType, 'urn:ebay:apis:eBLBaseComponents', 'DisputeFilterCountType');
RemClassRegistry.RegisterXSClass(BidderNoticePreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'BidderNoticePreferencesType');
RemClassRegistry.RegisterXSClass(CrossPromotionPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'CrossPromotionPreferencesType');
RemClassRegistry.RegisterXSClass(SellerPaymentPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'SellerPaymentPreferencesType');
RemClassRegistry.RegisterXSClass(SellerFavoriteItemPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'SellerFavoriteItemPreferencesType');
RemClassRegistry.RegisterXSClass(EndOfAuctionEmailPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'EndOfAuctionEmailPreferencesType');
RemClassRegistry.RegisterXSClass(ExpressPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'ExpressPreferencesType');
RemClassRegistry.RegisterXSClass(CalculatedShippingPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'CalculatedShippingPreferencesType');
RemClassRegistry.RegisterXSClass(FlatShippingPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'FlatShippingPreferencesType');
RemClassRegistry.RegisterXSClass(CombinedPaymentPreferencesType, 'urn:ebay:apis:eBLBaseComponents', 'CombinedPaymentPreferencesType');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROReasonCodeDetailsType), 'urn:ebay:apis:eBLBaseComponents', 'VeROReasonCodeDetailsType');
RemClassRegistry.RegisterXSClass(ReasonCodeDetailType, 'urn:ebay:apis:eBLBaseComponents', 'ReasonCodeDetailType');
RemClassRegistry.RegisterXSClass(VeROSiteDetailType, 'urn:ebay:apis:eBLBaseComponents', 'VeROSiteDetailType');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROReportedItemDetailsType), 'urn:ebay:apis:eBLBaseComponents', 'VeROReportedItemDetailsType');
RemClassRegistry.RegisterXSClass(VeROReportedItemType, 'urn:ebay:apis:eBLBaseComponents', 'VeROReportedItemType');
RemClassRegistry.RegisterXSClass(WantItNowPostType, 'urn:ebay:apis:eBLBaseComponents', 'WantItNowPostType');
RemClassRegistry.RegisterXSInfo(TypeInfo(WantItNowPostArrayType), 'urn:ebay:apis:eBLBaseComponents', 'WantItNowPostArrayType');
RemClassRegistry.RegisterXSClass(CountryDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'CountryDetailsType');
RemClassRegistry.RegisterXSClass(CurrencyDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'CurrencyDetailsType');
RemClassRegistry.RegisterXSClass(DispatchTimeMaxDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'DispatchTimeMaxDetailsType');
RemClassRegistry.RegisterXSClass(PaymentOptionDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'PaymentOptionDetailsType');
RemClassRegistry.RegisterXSClass(RegionDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'RegionDetailsType');
RemClassRegistry.RegisterXSClass(ShippingLocationDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingLocationDetailsType');
RemClassRegistry.RegisterXSClass(ShippingServiceDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingServiceDetailsType');
RemClassRegistry.RegisterXSClass(SiteDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'SiteDetailsType');
RemClassRegistry.RegisterXSClass(URLDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'URLDetailsType');
RemClassRegistry.RegisterXSClass(TimeZoneDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'TimeZoneDetailsType');
RemClassRegistry.RegisterXSClass(ItemSpecificDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ItemSpecificDetailsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(UnitOfMeasurementDetailsType), 'urn:ebay:apis:eBLBaseComponents', 'UnitOfMeasurementDetailsType');
RemClassRegistry.RegisterXSClass(RegionOfOriginDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'RegionOfOriginDetailsType');
RemClassRegistry.RegisterXSClass(ShippingPackageDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingPackageDetailsType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ShippingPackageDetailsType), 'Default_', 'Default');
RemClassRegistry.RegisterXSClass(ShippingCarrierDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ShippingCarrierDetailsType');
RemClassRegistry.RegisterXSClass(UnitOfMeasurementType, 'urn:ebay:apis:eBLBaseComponents', 'UnitOfMeasurementType');
RemClassRegistry.RegisterXSInfo(TypeInfo(ItemRatingDetailArrayType), 'urn:ebay:apis:eBLBaseComponents', 'ItemRatingDetailArrayType');
RemClassRegistry.RegisterXSClass(ItemRatingDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'ItemRatingDetailsType');
RemClassRegistry.RegisterXSClass(Base64BinaryType, 'urn:ebay:apis:eBLBaseComponents', 'Base64BinaryType');
RemClassRegistry.RegisterXSClass(PictureSetMemberType, 'urn:ebay:apis:eBLBaseComponents', 'PictureSetMemberType');
RemClassRegistry.RegisterXSClass(SiteHostedPictureDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'SiteHostedPictureDetailsType');
RemClassRegistry.RegisterXSInfo(TypeInfo(VeROReportItemsType), 'urn:ebay:apis:eBLBaseComponents', 'VeROReportItemsType');
RemClassRegistry.RegisterXSClass(VeROReportItemType, 'urn:ebay:apis:eBLBaseComponents', 'VeROReportItemType');
RemClassRegistry.RegisterXSClass(BotBlockRequestType, 'urn:ebay:apis:eBLBaseComponents', 'BotBlockRequestType');
RemClassRegistry.RegisterXSClass(AbstractRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AbstractRequestType');
RemClassRegistry.RegisterXSClass(VeROReportItemsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'VeROReportItemsRequestType');
RemClassRegistry.RegisterSerializeOptions(VeROReportItemsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(UploadSiteHostedPicturesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'UploadSiteHostedPicturesRequestType');
RemClassRegistry.RegisterSerializeOptions(UploadSiteHostedPicturesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(LeaveFeedbackRequestType, 'urn:ebay:apis:eBLBaseComponents', 'LeaveFeedbackRequestType');
RemClassRegistry.RegisterSerializeOptions(LeaveFeedbackRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetUserPreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetUserPreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetUserPreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStorePreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetStorePreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetStorePreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStoreCustomPageRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCustomPageRequestType');
RemClassRegistry.RegisterSerializeOptions(SetStoreCustomPageRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStoreCategoriesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCategoriesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetStoreCategoriesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStoreRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetStoreRequestType');
RemClassRegistry.RegisterSerializeOptions(SetStoreRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetShippingDiscountProfilesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetShippingDiscountProfilesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetShippingDiscountProfilesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerListRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerListRequestType');
RemClassRegistry.RegisterSerializeOptions(GetSellerListRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerTransactionsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerTransactionsRequestType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GetSellerTransactionsRequestType), 'Platform_', 'Platform');
RemClassRegistry.RegisterSerializeOptions(GetSellerTransactionsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSearchResultsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetSearchResultsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetReturnURLRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetReturnURLRequestType');
RemClassRegistry.RegisterSerializeOptions(SetReturnURLRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetPromotionalSaleListingsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleListingsRequestType');
RemClassRegistry.RegisterSerializeOptions(SetPromotionalSaleListingsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetPromotionalSaleRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleRequestType');
RemClassRegistry.RegisterSerializeOptions(SetPromotionalSaleRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductSellingPagesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductSellingPagesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetProductSellingPagesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetProductsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetPictureManagerDetailsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetPictureManagerDetailsRequestType');
RemClassRegistry.RegisterSerializeOptions(SetPictureManagerDetailsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetOrderTransactionsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetOrderTransactionsRequestType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GetOrderTransactionsRequestType), 'Platform_', 'Platform');
RemClassRegistry.RegisterSerializeOptions(GetOrderTransactionsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetOrdersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetOrdersRequestType');
RemClassRegistry.RegisterSerializeOptions(GetOrdersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetNotificationPreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetNotificationPreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetNotificationPreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyeBayRemindersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayRemindersRequestType');
RemClassRegistry.RegisterSerializeOptions(GetMyeBayRemindersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyeBayBuyingRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayBuyingRequestType');
RemClassRegistry.RegisterSerializeOptions(GetMyeBayBuyingRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyeBaySellingRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBaySellingRequestType');
RemClassRegistry.RegisterSerializeOptions(GetMyeBaySellingRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetMessagePreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetMessagePreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetMessagePreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoryListingsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryListingsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCategoryListingsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetCartRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetCartRequestType');
RemClassRegistry.RegisterSerializeOptions(SetCartRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCartRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCartRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCartRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSearchResultsExpressRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsExpressRequestType');
RemClassRegistry.RegisterSerializeOptions(GetSearchResultsExpressRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(PlaceOfferRequestType, 'urn:ebay:apis:eBLBaseComponents', 'PlaceOfferRequestType');
RemClassRegistry.RegisterSerializeOptions(PlaceOfferRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAccountRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetAccountRequestType');
RemClassRegistry.RegisterSerializeOptions(GetAccountRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetExpressWishListRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetExpressWishListRequestType');
RemClassRegistry.RegisterSerializeOptions(GetExpressWishListRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetFeedbackRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetFeedbackRequestType');
RemClassRegistry.RegisterSerializeOptions(GetFeedbackRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemTransactionsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemTransactionsRequestType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GetItemTransactionsRequestType), 'Platform_', 'Platform');
RemClassRegistry.RegisterSerializeOptions(GetItemTransactionsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemsAwaitingFeedbackRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemsAwaitingFeedbackRequestType');
RemClassRegistry.RegisterSerializeOptions(GetItemsAwaitingFeedbackRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetLiveAuctionBiddersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionBiddersRequestType');
RemClassRegistry.RegisterSerializeOptions(GetLiveAuctionBiddersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMemberMessagesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetMemberMessagesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetMemberMessagesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPopularKeywordsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetPopularKeywordsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetPopularKeywordsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerPaymentsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerPaymentsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetSellerPaymentsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserDisputesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserDisputesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetUserDisputesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetVeROReportStatusRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReportStatusRequestType');
RemClassRegistry.RegisterSerializeOptions(GetVeROReportStatusRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetWantItNowSearchResultsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowSearchResultsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetWantItNowSearchResultsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(DeleteMyMessagesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'DeleteMyMessagesRequestType');
RemClassRegistry.RegisterSerializeOptions(DeleteMyMessagesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyMessagesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyMessagesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetMyMessagesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseMyMessagesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesRequestType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(ReviseMyMessagesRequestType), 'Read_', 'Read');
RemClassRegistry.RegisterSerializeOptions(ReviseMyMessagesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ApproveLiveAuctionBiddersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ApproveLiveAuctionBiddersRequestType');
RemClassRegistry.RegisterSerializeOptions(ApproveLiveAuctionBiddersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(CompleteSaleRequestType, 'urn:ebay:apis:eBLBaseComponents', 'CompleteSaleRequestType');
RemClassRegistry.RegisterSerializeOptions(CompleteSaleRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseCheckoutStatusRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseCheckoutStatusRequestType');
RemClassRegistry.RegisterSerializeOptions(ReviseCheckoutStatusRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddOrderRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddOrderRequestType');
RemClassRegistry.RegisterSerializeOptions(AddOrderRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddMemberMessageAAQToPartnerRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageAAQToPartnerRequestType');
RemClassRegistry.RegisterSerializeOptions(AddMemberMessageAAQToPartnerRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddMemberMessageRTQRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageRTQRequestType');
RemClassRegistry.RegisterSerializeOptions(AddMemberMessageRTQRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetTaxTableRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetTaxTableRequestType');
RemClassRegistry.RegisterSerializeOptions(SetTaxTableRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SendInvoiceRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SendInvoiceRequestType');
RemClassRegistry.RegisterSerializeOptions(SendInvoiceRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetContextualKeywordsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetContextualKeywordsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetContextualKeywordsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(VerifyAddItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddItemRequestType');
RemClassRegistry.RegisterSerializeOptions(VerifyAddItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPromotionRulesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionRulesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetPromotionRulesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPromotionalSaleDetailsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionalSaleDetailsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetPromotionalSaleDetailsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreRequestType');
RemClassRegistry.RegisterSerializeOptions(GetStoreRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreCategoryUpdateStatusRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCategoryUpdateStatusRequestType');
RemClassRegistry.RegisterSerializeOptions(GetStoreCategoryUpdateStatusRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreCustomPageRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCustomPageRequestType');
RemClassRegistry.RegisterSerializeOptions(GetStoreCustomPageRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetVeROReasonCodeDetailsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReasonCodeDetailsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetVeROReasonCodeDetailsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseMyMessagesFoldersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesFoldersRequestType');
RemClassRegistry.RegisterSerializeOptions(ReviseMyMessagesFoldersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddSecondChanceItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddSecondChanceItemRequestType');
RemClassRegistry.RegisterSerializeOptions(AddSecondChanceItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddTransactionConfirmationItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddTransactionConfirmationItemRequestType');
RemClassRegistry.RegisterSerializeOptions(AddTransactionConfirmationItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(IssueRefundRequestType, 'urn:ebay:apis:eBLBaseComponents', 'IssueRefundRequestType');
RemClassRegistry.RegisterSerializeOptions(IssueRefundRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RespondToBestOfferRequestType, 'urn:ebay:apis:eBLBaseComponents', 'RespondToBestOfferRequestType');
RemClassRegistry.RegisterSerializeOptions(RespondToBestOfferRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(VerifyAddSecondChanceItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddSecondChanceItemRequestType');
RemClassRegistry.RegisterSerializeOptions(VerifyAddSecondChanceItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(FetchTokenRequestType, 'urn:ebay:apis:eBLBaseComponents', 'FetchTokenRequestType');
RemClassRegistry.RegisterSerializeOptions(FetchTokenRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAdFormatLeadsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetAdFormatLeadsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetAdFormatLeadsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAllBiddersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetAllBiddersRequestType');
RemClassRegistry.RegisterSerializeOptions(GetAllBiddersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAttributesCSRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesCSRequestType');
RemClassRegistry.RegisterSerializeOptions(GetAttributesCSRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetBidderListRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetBidderListRequestType');
RemClassRegistry.RegisterSerializeOptions(GetBidderListRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoriesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoriesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCategoriesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoryFeaturesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryFeaturesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCategoryFeaturesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCharitiesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCharitiesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCharitiesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetDescriptionTemplatesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetDescriptionTemplatesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetDescriptionTemplatesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemRequestType');
RemClassRegistry.RegisterSerializeOptions(GetItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMessagePreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetMessagePreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetMessagePreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerEventsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerEventsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetSellerEventsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserRequestType');
RemClassRegistry.RegisterSerializeOptions(GetUserRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserPreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserPreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetUserPreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RemoveFromWatchListRequestType, 'urn:ebay:apis:eBLBaseComponents', 'RemoveFromWatchListRequestType');
RemClassRegistry.RegisterSerializeOptions(RemoveFromWatchListRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ValidateChallengeInputRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ValidateChallengeInputRequestType');
RemClassRegistry.RegisterSerializeOptions(ValidateChallengeInputRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ValidateTestUserRegistrationRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ValidateTestUserRegistrationRequestType');
RemClassRegistry.RegisterSerializeOptions(ValidateTestUserRegistrationRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddItemRequestType');
RemClassRegistry.RegisterSerializeOptions(AddItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddLiveAuctionItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddLiveAuctionItemRequestType');
RemClassRegistry.RegisterSerializeOptions(AddLiveAuctionItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RelistItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'RelistItemRequestType');
RemClassRegistry.RegisterSerializeOptions(RelistItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseItemRequestType');
RemClassRegistry.RegisterSerializeOptions(ReviseItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseLiveAuctionItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseLiveAuctionItemRequestType');
RemClassRegistry.RegisterSerializeOptions(ReviseLiveAuctionItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddDisputeResponseRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeResponseRequestType');
RemClassRegistry.RegisterSerializeOptions(AddDisputeResponseRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategorySpecificsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategorySpecificsRequestType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(GetCategorySpecificsRequestType), 'Name_', 'Name');
RemClassRegistry.RegisterSerializeOptions(GetCategorySpecificsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetNotificationsUsageRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationsUsageRequestType');
RemClassRegistry.RegisterSerializeOptions(GetNotificationsUsageRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddDisputeRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeRequestType');
RemClassRegistry.RegisterSerializeOptions(AddDisputeRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddToItemDescriptionRequestType, 'urn:ebay:apis:eBLBaseComponents', 'AddToItemDescriptionRequestType');
RemClassRegistry.RegisterSerializeOptions(AddToItemDescriptionRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(EndItemRequestType, 'urn:ebay:apis:eBLBaseComponents', 'EndItemRequestType');
RemClassRegistry.RegisterSerializeOptions(EndItemRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetApiAccessRulesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetApiAccessRulesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetApiAccessRulesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAttributesXSLRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesXSLRequestType');
RemClassRegistry.RegisterSerializeOptions(GetAttributesXSLRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetBestOffersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetBestOffersRequestType');
RemClassRegistry.RegisterSerializeOptions(GetBestOffersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategory2CSRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategory2CSRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCategory2CSRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoryMappingsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryMappingsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCategoryMappingsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetChallengeTokenRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetChallengeTokenRequestType');
RemClassRegistry.RegisterSerializeOptions(GetChallengeTokenRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCrossPromotionsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetCrossPromotionsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetCrossPromotionsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetDisputeRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetDisputeRequestType');
RemClassRegistry.RegisterSerializeOptions(GetDisputeRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetHighBiddersRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetHighBiddersRequestType');
RemClassRegistry.RegisterSerializeOptions(GetHighBiddersRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemShippingRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemShippingRequestType');
RemClassRegistry.RegisterSerializeOptions(GetItemShippingRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetLiveAuctionCatalogDetailsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionCatalogDetailsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetLiveAuctionCatalogDetailsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetNotificationPreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationPreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetNotificationPreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPictureManagerDetailsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerDetailsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetPictureManagerDetailsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPictureManagerOptionsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerOptionsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetPictureManagerOptionsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductFinderRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderRequestType');
RemClassRegistry.RegisterSerializeOptions(GetProductFinderRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductFinderXSLRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderXSLRequestType');
RemClassRegistry.RegisterSerializeOptions(GetProductFinderXSLRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductSearchPageRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchPageRequestType');
RemClassRegistry.RegisterSerializeOptions(GetProductSearchPageRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetReturnURLRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetReturnURLRequestType');
RemClassRegistry.RegisterSerializeOptions(GetReturnURLRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetRuNameRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetRuNameRequestType');
RemClassRegistry.RegisterSerializeOptions(GetRuNameRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetShippingDiscountProfilesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetShippingDiscountProfilesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetShippingDiscountProfilesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreOptionsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreOptionsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetStoreOptionsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStorePreferencesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetStorePreferencesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetStorePreferencesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSuggestedCategoriesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetSuggestedCategoriesRequestType');
RemClassRegistry.RegisterSerializeOptions(GetSuggestedCategoriesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetTaxTableRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetTaxTableRequestType');
RemClassRegistry.RegisterSerializeOptions(GetTaxTableRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserContactDetailsRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserContactDetailsRequestType');
RemClassRegistry.RegisterSerializeOptions(GetUserContactDetailsRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetWantItNowPostRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowPostRequestType');
RemClassRegistry.RegisterSerializeOptions(GetWantItNowPostRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GeteBayOfficialTimeRequestType, 'urn:ebay:apis:eBLBaseComponents', 'GeteBayOfficialTimeRequestType');
RemClassRegistry.RegisterSerializeOptions(GeteBayOfficialTimeRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RespondToFeedbackRequestType, 'urn:ebay:apis:eBLBaseComponents', 'RespondToFeedbackRequestType');
RemClassRegistry.RegisterSerializeOptions(RespondToFeedbackRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RespondToWantItNowPostRequestType, 'urn:ebay:apis:eBLBaseComponents', 'RespondToWantItNowPostRequestType');
RemClassRegistry.RegisterSerializeOptions(RespondToWantItNowPostRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SellerReverseDisputeRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SellerReverseDisputeRequestType');
RemClassRegistry.RegisterSerializeOptions(SellerReverseDisputeRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetUserNotesRequestType, 'urn:ebay:apis:eBLBaseComponents', 'SetUserNotesRequestType');
RemClassRegistry.RegisterSerializeOptions(SetUserNotesRequestType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(DuplicateInvocationDetailsType, 'urn:ebay:apis:eBLBaseComponents', 'DuplicateInvocationDetailsType');
RemClassRegistry.RegisterXSClass(BotBlockResponseType, 'urn:ebay:apis:eBLBaseComponents', 'BotBlockResponseType');
RemClassRegistry.RegisterXSClass(ErrorParameterType, 'urn:ebay:apis:eBLBaseComponents', 'ErrorParameterType');
RemClassRegistry.RegisterXSClass(ErrorType, 'urn:ebay:apis:eBLBaseComponents', 'ErrorType');
RemClassRegistry.RegisterXSClass(AbstractResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AbstractResponseType');
RemClassRegistry.RegisterExternalPropName(TypeInfo(AbstractResponseType), 'Message_', 'Message');
RemClassRegistry.RegisterXSClass(ValidateTestUserRegistrationResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ValidateTestUserRegistrationResponseType');
RemClassRegistry.RegisterSerializeOptions(ValidateTestUserRegistrationResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetUserPreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetUserPreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetUserPreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetUserNotesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetUserNotesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetUserNotesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetTaxTableResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetTaxTableResponseType');
RemClassRegistry.RegisterSerializeOptions(SetTaxTableResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStorePreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetStorePreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetStorePreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStoreResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetStoreResponseType');
RemClassRegistry.RegisterSerializeOptions(SetStoreResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetShippingDiscountProfilesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetShippingDiscountProfilesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetShippingDiscountProfilesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetReturnURLResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetReturnURLResponseType');
RemClassRegistry.RegisterSerializeOptions(SetReturnURLResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetPromotionalSaleListingsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleListingsResponseType');
RemClassRegistry.RegisterSerializeOptions(SetPromotionalSaleListingsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetPictureManagerDetailsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetPictureManagerDetailsResponseType');
RemClassRegistry.RegisterSerializeOptions(SetPictureManagerDetailsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetNotificationPreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetNotificationPreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetNotificationPreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetMessagePreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetMessagePreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetMessagePreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SendInvoiceResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SendInvoiceResponseType');
RemClassRegistry.RegisterSerializeOptions(SendInvoiceResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SellerReverseDisputeResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SellerReverseDisputeResponseType');
RemClassRegistry.RegisterSerializeOptions(SellerReverseDisputeResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseMyMessagesFoldersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesFoldersResponseType');
RemClassRegistry.RegisterSerializeOptions(ReviseMyMessagesFoldersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseMyMessagesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseMyMessagesResponseType');
RemClassRegistry.RegisterSerializeOptions(ReviseMyMessagesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseCheckoutStatusResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseCheckoutStatusResponseType');
RemClassRegistry.RegisterSerializeOptions(ReviseCheckoutStatusResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RespondToWantItNowPostResponseType, 'urn:ebay:apis:eBLBaseComponents', 'RespondToWantItNowPostResponseType');
RemClassRegistry.RegisterSerializeOptions(RespondToWantItNowPostResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RespondToFeedbackResponseType, 'urn:ebay:apis:eBLBaseComponents', 'RespondToFeedbackResponseType');
RemClassRegistry.RegisterSerializeOptions(RespondToFeedbackResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RemoveFromWatchListResponseType, 'urn:ebay:apis:eBLBaseComponents', 'RemoveFromWatchListResponseType');
RemClassRegistry.RegisterSerializeOptions(RemoveFromWatchListResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(LeaveFeedbackResponseType, 'urn:ebay:apis:eBLBaseComponents', 'LeaveFeedbackResponseType');
RemClassRegistry.RegisterSerializeOptions(LeaveFeedbackResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GeteBayOfficialTimeResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GeteBayOfficialTimeResponseType');
RemClassRegistry.RegisterSerializeOptions(GeteBayOfficialTimeResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreCategoryUpdateStatusResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCategoryUpdateStatusResponseType');
RemClassRegistry.RegisterSerializeOptions(GetStoreCategoryUpdateStatusResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetRuNameResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetRuNameResponseType');
RemClassRegistry.RegisterSerializeOptions(GetRuNameResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductSellingPagesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductSellingPagesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetProductSellingPagesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductFinderResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductFinderResponseType');
RemClassRegistry.RegisterSerializeOptions(GetProductFinderResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetChallengeTokenResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetChallengeTokenResponseType');
RemClassRegistry.RegisterSerializeOptions(GetChallengeTokenResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAttributesCSResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetAttributesCSResponseType');
RemClassRegistry.RegisterSerializeOptions(GetAttributesCSResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(DeleteMyMessagesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'DeleteMyMessagesResponseType');
RemClassRegistry.RegisterSerializeOptions(DeleteMyMessagesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(CompleteSaleResponseType, 'urn:ebay:apis:eBLBaseComponents', 'CompleteSaleResponseType');
RemClassRegistry.RegisterSerializeOptions(CompleteSaleResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddToWatchListResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddToWatchListResponseType');
RemClassRegistry.RegisterSerializeOptions(AddToWatchListResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddToItemDescriptionResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddToItemDescriptionResponseType');
RemClassRegistry.RegisterSerializeOptions(AddToItemDescriptionResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddMemberMessageRTQResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageRTQResponseType');
RemClassRegistry.RegisterSerializeOptions(AddMemberMessageRTQResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddMemberMessageAAQToPartnerResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddMemberMessageAAQToPartnerResponseType');
RemClassRegistry.RegisterSerializeOptions(AddMemberMessageAAQToPartnerResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddDisputeResponseResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeResponseResponseType');
RemClassRegistry.RegisterSerializeOptions(AddDisputeResponseResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddDisputeResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddDisputeResponseType');
RemClassRegistry.RegisterSerializeOptions(AddDisputeResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(VerifyAddSecondChanceItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddSecondChanceItemResponseType');
RemClassRegistry.RegisterSerializeOptions(VerifyAddSecondChanceItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(FetchTokenResponseType, 'urn:ebay:apis:eBLBaseComponents', 'FetchTokenResponseType');
RemClassRegistry.RegisterSerializeOptions(FetchTokenResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(EndItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'EndItemResponseType');
RemClassRegistry.RegisterSerializeOptions(EndItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddTransactionConfirmationItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddTransactionConfirmationItemResponseType');
RemClassRegistry.RegisterSerializeOptions(AddTransactionConfirmationItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddSecondChanceItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddSecondChanceItemResponseType');
RemClassRegistry.RegisterSerializeOptions(AddSecondChanceItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddOrderResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddOrderResponseType');
RemClassRegistry.RegisterSerializeOptions(AddOrderResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemResponseType');
RemClassRegistry.RegisterSerializeOptions(GetItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ValidateChallengeInputResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ValidateChallengeInputResponseType');
RemClassRegistry.RegisterSerializeOptions(ValidateChallengeInputResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(IssueRefundResponseType, 'urn:ebay:apis:eBLBaseComponents', 'IssueRefundResponseType');
RemClassRegistry.RegisterSerializeOptions(IssueRefundResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCrossPromotionsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCrossPromotionsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCrossPromotionsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserResponseType');
RemClassRegistry.RegisterSerializeOptions(GetUserResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemShippingResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemShippingResponseType');
RemClassRegistry.RegisterSerializeOptions(GetItemShippingResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(VeROReportItemsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'VeROReportItemsResponseType');
RemClassRegistry.RegisterSerializeOptions(VeROReportItemsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStoreCategoriesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCategoriesResponseType');
RemClassRegistry.RegisterSerializeOptions(SetStoreCategoriesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetPromotionalSaleResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetPromotionalSaleResponseType');
RemClassRegistry.RegisterSerializeOptions(SetPromotionalSaleResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserContactDetailsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserContactDetailsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetUserContactDetailsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetTaxTableResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetTaxTableResponseType');
RemClassRegistry.RegisterSerializeOptions(GetTaxTableResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(VerifyAddItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'VerifyAddItemResponseType');
RemClassRegistry.RegisterSerializeOptions(VerifyAddItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseLiveAuctionItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseLiveAuctionItemResponseType');
RemClassRegistry.RegisterSerializeOptions(ReviseLiveAuctionItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ReviseItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ReviseItemResponseType');
RemClassRegistry.RegisterSerializeOptions(ReviseItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RelistItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'RelistItemResponseType');
RemClassRegistry.RegisterSerializeOptions(RelistItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddLiveAuctionItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddLiveAuctionItemResponseType');
RemClassRegistry.RegisterSerializeOptions(AddLiveAuctionItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(AddItemResponseType, 'urn:ebay:apis:eBLBaseComponents', 'AddItemResponseType');
RemClassRegistry.RegisterSerializeOptions(AddItemResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(ApproveLiveAuctionBiddersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'ApproveLiveAuctionBiddersResponseType');
RemClassRegistry.RegisterSerializeOptions(ApproveLiveAuctionBiddersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerTransactionsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerTransactionsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSellerTransactionsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemTransactionsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemTransactionsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetItemTransactionsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAccountResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetAccountResponseType');
RemClassRegistry.RegisterSerializeOptions(GetAccountResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAdFormatLeadsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetAdFormatLeadsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetAdFormatLeadsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMemberMessagesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetMemberMessagesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetMemberMessagesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetHighBiddersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetHighBiddersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetHighBiddersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetAllBiddersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetAllBiddersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetAllBiddersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(RespondToBestOfferResponseType, 'urn:ebay:apis:eBLBaseComponents', 'RespondToBestOfferResponseType');
RemClassRegistry.RegisterSerializeOptions(RespondToBestOfferResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetBestOffersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetBestOffersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetBestOffersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(PlaceOfferResponseType, 'urn:ebay:apis:eBLBaseComponents', 'PlaceOfferResponseType');
RemClassRegistry.RegisterSerializeOptions(PlaceOfferResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerListResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerListResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSellerListResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerEventsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerEventsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSellerEventsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetBidderListResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetBidderListResponseType');
RemClassRegistry.RegisterSerializeOptions(GetBidderListResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetCartResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetCartResponseType');
RemClassRegistry.RegisterSerializeOptions(SetCartResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCartResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCartResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCartResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPopularKeywordsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetPopularKeywordsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetPopularKeywordsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoriesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoriesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCategoriesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategory2CSResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategory2CSResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCategory2CSResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoryFeaturesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryFeaturesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCategoryFeaturesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoryListingsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryListingsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCategoryListingsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetCategoryMappingsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetCategoryMappingsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetCategoryMappingsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetDescriptionTemplatesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetDescriptionTemplatesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetDescriptionTemplatesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetDisputeResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetDisputeResponseType');
RemClassRegistry.RegisterSerializeOptions(GetDisputeResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetExpressWishListResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetExpressWishListResponseType');
RemClassRegistry.RegisterSerializeOptions(GetExpressWishListResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetFeedbackResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetFeedbackResponseType');
RemClassRegistry.RegisterSerializeOptions(GetFeedbackResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetItemsAwaitingFeedbackResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetItemsAwaitingFeedbackResponseType');
RemClassRegistry.RegisterSerializeOptions(GetItemsAwaitingFeedbackResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetLiveAuctionBiddersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetLiveAuctionBiddersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetLiveAuctionBiddersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMessagePreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetMessagePreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetMessagePreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyMessagesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyMessagesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetMyMessagesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyeBayBuyingResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayBuyingResponseType');
RemClassRegistry.RegisterSerializeOptions(GetMyeBayBuyingResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyeBayRemindersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBayRemindersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetMyeBayRemindersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetMyeBaySellingResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetMyeBaySellingResponseType');
RemClassRegistry.RegisterSerializeOptions(GetMyeBaySellingResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetNotificationPreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationPreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetNotificationPreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetNotificationsUsageResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetNotificationsUsageResponseType');
RemClassRegistry.RegisterSerializeOptions(GetNotificationsUsageResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetOrdersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetOrdersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetOrdersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetOrderTransactionsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetOrderTransactionsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetOrderTransactionsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPictureManagerDetailsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerDetailsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetPictureManagerDetailsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPictureManagerOptionsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetPictureManagerOptionsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetPictureManagerOptionsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductSearchResultsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchResultsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetProductSearchResultsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductFamilyMembersResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductFamilyMembersResponseType');
RemClassRegistry.RegisterSerializeOptions(GetProductFamilyMembersResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductSearchPageResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductSearchPageResponseType');
RemClassRegistry.RegisterSerializeOptions(GetProductSearchPageResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetProductsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetProductsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetProductsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPromotionRulesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionRulesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetPromotionRulesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetPromotionalSaleDetailsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetPromotionalSaleDetailsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetPromotionalSaleDetailsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetReturnURLResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetReturnURLResponseType');
RemClassRegistry.RegisterSerializeOptions(GetReturnURLResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSearchResultsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSearchResultsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSearchResultsExpressResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSearchResultsExpressResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSearchResultsExpressResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSellerPaymentsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSellerPaymentsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSellerPaymentsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetShippingDiscountProfilesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetShippingDiscountProfilesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetShippingDiscountProfilesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreResponseType');
RemClassRegistry.RegisterSerializeOptions(GetStoreResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreCustomPageResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreCustomPageResponseType');
RemClassRegistry.RegisterSerializeOptions(GetStoreCustomPageResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(SetStoreCustomPageResponseType, 'urn:ebay:apis:eBLBaseComponents', 'SetStoreCustomPageResponseType');
RemClassRegistry.RegisterSerializeOptions(SetStoreCustomPageResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStoreOptionsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetStoreOptionsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetStoreOptionsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetStorePreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetStorePreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetStorePreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetSuggestedCategoriesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetSuggestedCategoriesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetSuggestedCategoriesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserDisputesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserDisputesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetUserDisputesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetUserPreferencesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetUserPreferencesResponseType');
RemClassRegistry.RegisterSerializeOptions(GetUserPreferencesResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetVeROReasonCodeDetailsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReasonCodeDetailsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetVeROReasonCodeDetailsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetVeROReportStatusResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetVeROReportStatusResponseType');
RemClassRegistry.RegisterSerializeOptions(GetVeROReportStatusResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetWantItNowPostResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowPostResponseType');
RemClassRegistry.RegisterSerializeOptions(GetWantItNowPostResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GetWantItNowSearchResultsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GetWantItNowSearchResultsResponseType');
RemClassRegistry.RegisterSerializeOptions(GetWantItNowSearchResultsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(GeteBayDetailsResponseType, 'urn:ebay:apis:eBLBaseComponents', 'GeteBayDetailsResponseType');
RemClassRegistry.RegisterSerializeOptions(GeteBayDetailsResponseType, [xoLiteralParam]);
RemClassRegistry.RegisterXSClass(UploadSiteHostedPicturesResponseType, 'urn:ebay:apis:eBLBaseComponents', 'UploadSiteHostedPicturesResponseType');
RemClassRegistry.RegisterSerializeOptions(UploadSiteHostedPicturesResponseType, [xoLiteralParam]);
end. |
Program Tableau_Voyelles;
Uses Wincrt;
Type
Tab = Array[1..16] Of String;
Var
T: Tab;
n: Integer;
Procedure Colonne(Var N:Integer); {N: nombre des colonnes à saisir}
Begin
Repeat
Write('Saisissez le nombre de colonnes : ');
Readln(n);
Until (n>=5) And (n<=20);
End;
Function verif2(ch:String): Boolean;
{Vérifier s'il existe au moins une lettre, car sinon
on peut accepter une chaine ne contenant que des escpaces}
Var
i,S: Integer;
Begin
S := 0;
For i:=1 To Length(ch) Do
If Upcase(ch[i]) In ['A'..'Z'] Then
S := S+1;
verif2 := S<>0;
End;
Function Verif(ch:String): Boolean;
{Vérifier l'existence des lettres alphabétiques majuscules, et les espaces}
Var
ok: Boolean;
i: Integer;
Begin
i := 1;
ok := True;
Repeat
ok := ((Upcase(ch[i])In['A'..'Z']) Or(ch[i]=' ')) And (Upcase(ch[i])=ch[i]);
i := i+1;
Until (i=Length(ch)) Or Not(ok);
Verif := ok;
End;
Procedure Remplir(Var T:Tab ; N:Integer);
{ici, on assure que chaques chaines vérifie toutes les conditions de l'exercice}
Var
i,j: Integer;
Begin
For j:=1 To N Do
Repeat
Write('T[',j,'] : ');
Readln(T[j]);
Until (Length(T[j])>=1)And(Length(T[j])<=20) And (verif(T[j])) And(verif2(T[j]));
End;
Function Voy(ch:String): Integer; {Renvoie le nombre des voyelles dans une chaine}
Var
i,S: Integer;
Begin
S := 0;
For i:=1 To Length(ch) Do
If ch[i] In ['A','E','I','O','U','Y'] Then
S := S+1;
Voy := S;
End;
Procedure Affich(T:Tab;N:Integer); {évident...}
Var
i,j,max: Integer;
Begin
Max := voy(T[1]);
For i:=2 To N Do
If voy(T[i]) > max Then
Begin
max := voy(T[i]);
Writeln(max);
End;
If max=0 Then
Writeln('Les chaines ne contiennent aucune voyelle.')
Else
Begin
Writeln('le(s) mot(s) contenant le plus grand nombre de voyelle est(sont) : ');
For j:=1 To N Do
If voy(T[j])=max Then
Writeln(T[j]);
End;
End;
Begin
Colonne(N);
Remplir(T,N);
Affich(T,N);
End.
|
unit Expedicao.Services.uCombustivelMock;
interface
uses
Generics.Collections,
Expedicao.Interfaces.uCombustivelPersistencia,
Expedicao.Models.uCombustivel;
type
TCombustivelMock = class (TInterfacedObject, ICombustivelPersistencia)
private
FListaCombustivel: TObjectList<TCombustivel>;
public
constructor Create;
destructor Destroy; override;
function ObterListaCombustivel: TList<TCombustivel>;
function ObterCombustivel(pCombustivelOID: Integer): TCombustivel;
function IncluirCombustivel(pCombustivel: TCombustivel): Boolean;
function AlterarCombustivel(pCombustivel: TCombustivel): Boolean;
function ExcluirCombustivel(pCombustivelOID: Integer): Boolean;
end;
implementation
{ TCombustivelMock }
constructor TCombustivelMock.Create;
var
lCombustivel: TCombustivel;
begin
FListaCombustivel := TObjectList<TCombustivel>.Create;
lCombustivel := TCombustivel.Create;
lCombustivel.CombustivelOID := 1;
lCombustivel.Descricao := 'Gasolina';
lCombustivel.Valor := 4.29;
lCombustivel.UnidadeDeMedidaOID := 1;
FListaCombustivel.Add(lCombustivel);
lCombustivel := TCombustivel.Create;
lCombustivel.CombustivelOID := 2;
lCombustivel.Descricao := 'Alcool';
lCombustivel.Valor := 2.89;
lCombustivel.UnidadeDeMedidaOID := 1;
FListaCombustivel.Add(lCombustivel);
end;
destructor TCombustivelMock.Destroy;
begin
FListaCombustivel.Clear;
FListaCombustivel.Free;
inherited;
end;
function TCombustivelMock.AlterarCombustivel(
pCombustivel: TCombustivel): Boolean;
var
lCombustivel: TCombustivel;
begin
Result := False;
for lCombustivel in FListaCombustivel do
if lCombustivel.CombustivelOID = pCombustivel.CombustivelOID then
begin
lCombustivel.Descricao := pCombustivel.Descricao;
lCombustivel.Valor := pCombustivel.Valor;
lCombustivel.UnidadeDeMedidaOID := pCombustivel.UnidadeDeMedidaOID;
Result := True;
Exit;
end;
end;
function TCombustivelMock.ExcluirCombustivel(pCombustivelOID: Integer): Boolean;
var
lCombustivel: TCombustivel;
begin
Result := False;
for lCombustivel in FListaCombustivel do
if lCombustivel.CombustivelOID = pCombustivelOID then
begin
FListaCombustivel.Remove(lCombustivel);
Result := True;
Exit;
end;
end;
function TCombustivelMock.IncluirCombustivel(
pCombustivel: TCombustivel): Boolean;
begin
pCombustivel.CombustivelOID := FListaCombustivel.Count + 1;
FListaCombustivel.Add(pCombustivel);
Result := True;
end;
function TCombustivelMock.ObterCombustivel(
pCombustivelOID: Integer): TCombustivel;
begin
end;
function TCombustivelMock.ObterListaCombustivel: TList<TCombustivel>;
var
lCombustivel: TCombustivel;
begin
Result := TList<TCombustivel>.Create;
for lCombustivel in FListaCombustivel do
Result.Add(lCombustivel);
end;
end.
|
unit Maze.Cell;
interface
uses
Spring.Collections;
type
TDirection = (North, South, East, West);
TDirections = set of TDirection;
TDirectionHelper = record helper for TDirection
class function All : TDirections; static;
end;
ICell = interface
['{A79F9831-84B9-40A1-84BB-74627213A5CE}']
function Row : Integer;
function Column : Integer;
procedure Link(Cell : ICell; Bidi : Boolean = true);
procedure UnLink(Cell : ICell; Bidi : Boolean = true);
procedure UnLinkAll;
function Links : Spring.Collections.IReadOnlyCollection<ICell>;
function IsLinked(const Cell : ICell) : Boolean;
function Neighbours : Spring.Collections.IReadOnlyList<ICell>;
function GetNeighbour(Direction : TDirection) : ICell;
procedure SetNeighbour(Direction : TDirection; Cell : ICell);
property Neighbour[Direction : TDirection] : ICell read GetNeighbour write SetNeighbour;
function GetDistance : Integer;
procedure SetDistance(Dist : Integer);
property Distance : Integer read GetDistance write SetDistance;
end;
function CreateCell(const ARow, AColumn : Integer) : ICell;
implementation
type
TCell = class(TInterfacedObject, ICell)
private
FRow,
FColumn : Integer;
FLinks : IDictionary<ICell, Boolean>;
FNeighbours : IDictionary<TDirection, ICell>;
FDistance : Integer;
public
constructor Create(const ARow, AColumn : Integer);
function Row : Integer;
function Column : Integer;
procedure Link(Cell : ICell; Bidi : Boolean = true);
procedure UnLink(Cell : ICell; Bidi : Boolean = true);
procedure UnLinkAll;
function Links : Spring.Collections.IReadOnlyCollection<ICell>;
function IsLinked(const Cell : ICell) : Boolean;
function Neighbours : Spring.Collections.IReadOnlyList<ICell>;
function GetNeighbour(Direction : TDirection) : ICell;
procedure SetNeighbour(Direction : TDirection; Cell : ICell);
property Neighbour[Direction : TDirection] : ICell read GetNeighbour write SetNeighbour;
function GetDistance : Integer;
procedure SetDistance(Dist : Integer);
property Distance : Integer read GetDistance write SetDistance;
end;
function CreateCell(const ARow, AColumn : Integer) : ICell;
begin
Result := TCell.Create(ARow, AColumn);
end;
{ TDirectionHelper }
class function TDirectionHelper.All: TDirections;
begin
Result := [North, South, East, West];
end;
{ TCell }
constructor TCell.Create(const ARow, AColumn: Integer);
begin
inherited Create();
FRow := ARow;
FColumn := AColumn;
FLinks := TCollections.CreateDictionary<ICell, Boolean>;
FNeighbours := TCollections.CreateDictionary<TDirection, ICell>;
FDistance := -1;
end;
function TCell.Column: Integer;
begin
Result := FColumn;
end;
function TCell.Row: Integer;
begin
Result := FRow;
end;
procedure TCell.Link(Cell: ICell; Bidi: Boolean);
begin
FLinks[Cell] := true;
if Bidi then
Cell.Link(Self, false);
end;
procedure TCell.UnLink(Cell: ICell; Bidi: Boolean);
begin
FLinks[Cell] := false;
if Bidi then
Cell.UnLink(Self, false);
end;
procedure TCell.UnLinkAll;
begin
// Because IDictionary doesn't support [weak] refs
FLinks.Clear;
FNeighbours.Clear;
end;
function TCell.Links: Spring.Collections.IReadOnlyCollection<ICell>;
begin
Result := FLinks.Keys;
end;
function TCell.IsLinked(const Cell: ICell): Boolean;
begin
if not Assigned(Cell) then
Exit(false); // Common case
Result := Links.Contains(Cell);
end;
function TCell.Neighbours: Spring.Collections.IReadOnlyList<ICell>;
var
List : IList<ICell>;
Dir : TDirection;
begin
List := TCollections.CreateList<ICell>;
for Dir in TDirection.All() do
if Assigned(Neighbour[Dir]) then
List.Add(Neighbour[Dir]);
Result := List.AsReadOnlyList;
end;
function TCell.GetNeighbour(Direction: TDirection): ICell;
begin
Result := FNeighbours[Direction];
end;
procedure TCell.SetNeighbour(Direction: TDirection; Cell: ICell);
begin
FNeighbours.AddOrSetValue(Direction, Cell);
end;
function TCell.GetDistance: Integer;
begin
Result := FDistance;
end;
procedure TCell.SetDistance(Dist: Integer);
begin
FDistance := Dist;
end;
end.
|
unit Unit1;
interface
uses
System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants,
FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics, FMX.Dialogs, FMX.TMSChart,
FMX.Controls.Presentation, FMX.Platform, FMX.StdCtrls;
type
TForm1 = class(TForm)
Chart: TTMSFMXChart;
Button1: TButton;
Button2: TButton;
procedure FormCreate(Sender: TObject);
procedure GenerateValues;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure FormResize(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.fmx}
procedure TForm1.Button1Click(Sender: TObject);
begin
GenerateValues;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Form1.Close;
end;
procedure TForm1.FormCreate(Sender: TObject);
var
i : Integer;
ScreenService: IFMXScreenService;
OrientSet: TScreenOrientations;
begin
if TPlatformServices.Current.SupportsPlatformService(IFMXScreenService, IInterface(ScreenService)) then
begin
OrientSet := [TScreenOrientation.soLandscape];
ScreenService.SetScreenOrientation(OrientSet);
end;
for i := 0 to 1 do
begin
with Chart.Series[i] do
begin
YValues.MajorUnit := StrToTime('1:00');
XValues.MajorUnit := StrToTime('1:00');
MaxY := StrToTime('5:00');
end;
end;
Form1.FullScreen := True;
Chart.Width := Screen.Width;
Chart.Height := Screen.Height;
Chart.Position.X := 0;
Chart.Position.Y := 0;
Button2.Position.X := Form1.Height-Button2.Width;
Button2.Position.Y := 0;
Button1.Position.X := 0;
Button1.Position.Y := 0;
GenerateValues;
Chart.Title.Text := DateToStr(Now);
end;
procedure TForm1.FormResize(Sender: TObject);
begin
Button2.Position.X := Form1.Width-Button2.Width;
Button2.Position.Y := 0;
Chart.Width := Screen.Width;
Chart.Height := Screen.Height;
end;
procedure TForm1.GenerateValues;
var
i, j, count : Integer; hour, min : String; MaxTime, MinTime : TTime;
begin
count := Chart.Series[0].Points.Count;
for j := 0 to 1 do for i := 0 to count-1 do Chart.Series[j].Points[i div count].Free;
MaxTime := StrToTime('0:00');
MinTime := StrToTime('23:00');
count := Random(5)+10;
for i := 0 to count do
begin
hour := IntToStr(random(4));
min := IntToStr(random(60));
if length(min)=1 then min := '0'+min;
if StrToTime(hour+':'+min)<StrToTime('2:01') then
begin
Chart.Series[0].AddPoint(StrToTime(hour+':'+min),0,'');
Chart.Series[1].AddPoint(StrToTime('0:00'),0,'');
end
else
begin
hour := IntToStr(StrToInt(hour)-2);
Chart.Series[0].AddPoint(StrToTime('2:00'),0,'');
Chart.Series[1].AddPoint(StrToTime(hour+':'+min),0,'');
end;
hour := IntToStr(6+random(12));
min := IntToStr(random(60));
if length(min)=1 then min := '0'+min;
if StrToTime(hour+':'+min)<MinTime then MinTime := StrToTime(hour+':'+min);
if StrToTime(hour+':'+min)>MaxTime then MaxTime := StrToTime(hour+':'+min);
Chart.Series[0].Points[i].XValue := StrToTime(hour+':'+min);
Chart.Series[1].Points[i].XValue := StrToTime(hour+':'+min);
end;
for i := 0 to 1 do
begin
Chart.Series[i].MaxX := MaxTime + StrToTime('2:00');
Chart.Series[i].MinX := MinTime - StrToTime('2:00');
end;
end;
end.
|
unit PluginFormFMX;
interface
uses
Winapi.Windows,
System.SysUtils,
System.UITypes,
System.Types,
FMX.Types,
FMX.Forms,
FMX.Platform,
FMX.Platform.Win,
PluginAPI;
type
TCreateMode = (cmDefault, cmStandalone, cmPopup, cmPopupTB);
TCreateParams = record
Style: DWORD;
ExStyle: DWORD;
X, Y: Integer;
Width, Height: Integer;
WndParent: HWnd;
Param: Pointer;
end;
TForm = class(FMX.Forms.TForm)
private
FCore: ICore;
FWnds: IApplicationWindows;
FMode: TCreateMode;
FOwnerWnd: HWND;
procedure SetupWndIcon;
protected
property Core: ICore read FCore;
property Wnds: IApplicationWindows read FWnds;
property Mode: TCreateMode read FMode;
function CreateWindow: TFmxHandle; virtual;
procedure CreateParams(var Params: TCreateParams); virtual;
procedure CreateHandle; override;
public
constructor Create(const ACore: ICore); reintroduce;
constructor CreateStandalone(const ACore: ICore);
constructor CreatePopup(const ACore: ICore; const AOwnerWnd: HWND);
constructor CreatePopupTB(const ACore: ICore; const AOwnerWnd: HWND);
function ShowModal: TModalResult;
end;
implementation
uses
Winapi.Messages;
constructor TForm.Create(const ACore: ICore);
begin
FCore := ACore;
if not Supports(FCore, IApplicationWindows, FWnds) then
Assert(False);
inherited Create(nil);
end;
constructor TForm.CreateStandalone(const ACore: ICore);
begin
FMode := cmStandalone;
Create(ACore);
end;
constructor TForm.CreatePopup(const ACore: ICore; const AOwnerWnd: HWND);
begin
FMode := cmPopup;
FOwnerWnd := AOwnerWnd;
Create(ACore);
end;
constructor TForm.CreatePopupTB(const ACore: ICore; const AOwnerWnd: HWND);
begin
FMode := cmPopupTB;
FOwnerWnd := AOwnerWnd;
Create(ACore);
end;
procedure TForm.CreateHandle;
var
P: Pointer;
begin
// TCommonCustomForm.CreateHandle
Handle := CreateWindow;
if TFmxFormState.fsRecreating in FormState then
Platform.SetWindowRect(Self, RectF(Left, Top, Left + Width, Top + Height));
// TCustomForm.CreateHandle
if DefaultCanvasClass <> nil then
begin
P := @Self.Canvas;
NativeInt(P^) := NativeInt(DefaultCanvasClass.CreateFromWindow(Handle, ClientWidth, ClientHeight));
end;
SetupWndIcon;
end;
function TForm.CreateWindow: TFmxHandle;
var
Params: TCreateParams;
Wnd: HWND;
begin
Result := Platform.CreateWindow(Self);
Wnd := FmxHandleToHWND(Result);
CreateParams(Params);
SetWindowLong(Wnd, GWL_EXSTYLE, NativeInt(Params.ExStyle));
SetWindowLong(Wnd, GWL_HWNDPARENT, NativeInt(Params.WndParent));
end;
procedure TForm.CreateParams(var Params: TCreateParams);
procedure DefaultCreateParams(var Params: TCreateParams);
begin
FillChar(Params, SizeOf(Params), 0);
Params.X := Integer(CW_USEDEFAULT);
Params.Y := Integer(CW_USEDEFAULT);
Params.Width := Integer(CW_USEDEFAULT);
Params.Height := Integer(CW_USEDEFAULT);
// TPlatformWin.CreateWindow
if Transparency then
begin
Params.Style := Params.Style or WS_POPUP;
Params.ExStyle := Params.ExStyle or WS_EX_LAYERED;
if (Application.MainForm <> nil) and (Self <> Application.MainForm) then
Params.ExStyle := Params.ExStyle or WS_EX_TOOLWINDOW; // disable taskbar
end
else
begin
case Self.BorderStyle of
TFmxFormBorderStyle.bsNone:
begin
Params.Style := Params.Style or WS_POPUP or WS_SYSMENU;
Params.ExStyle := Params.ExStyle { or WS_EX_TOOLWINDOW }; // disable taskbar
end;
TFmxFormBorderStyle.bsSingle, TFmxFormBorderStyle.bsToolWindow:
Params.Style := Params.Style or (WS_CAPTION or WS_BORDER);
TFmxFormBorderStyle.bsSizeable, TFmxFormBorderStyle.bsSizeToolWin:
Params.Style := Params.Style or (WS_CAPTION or WS_THICKFRAME);
end;
if Self.BorderStyle in [TFmxFormBorderStyle.bsToolWindow, TFmxFormBorderStyle.bsSizeToolWin] then
begin
Params.ExStyle := Params.ExStyle or WS_EX_TOOLWINDOW;
if (Application.MainForm = nil) or (Application.MainForm = Self) then
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW;
end;
if Self.BorderStyle <> TFmxFormBorderStyle.bsNone then
begin
if TBorderIcon.biMinimize in Self.BorderIcons then
Params.Style := Params.Style or WS_MINIMIZEBOX;
if TBorderIcon.biMaximize in Self.BorderIcons then
Params.Style := Params.Style or WS_MAXIMIZEBOX;
if TBorderIcon.biSystemMenu in Self.BorderIcons then
Params.Style := Params.Style or WS_SYSMENU;
end;
end;
// modal forms must have an owner window
if TFmxFormState.fsModal in Self.FormState then
Params.WndParent := GetActiveWindow
else
Params.WndParent := GetDesktopWindow;
end;
begin
DefaultCreateParams(Params); // inherited;
if Mode = cmStandalone then
Params.WndParent := 0
else
if (Mode = cmPopup) or
(Mode = cmPopupTB) then
begin
Params.WndParent := FOwnerWnd;
if Mode = cmPopupTB then
Params.ExStyle := Params.ExStyle or WS_EX_APPWINDOW
else
Params.ExStyle := Params.ExStyle and (not WS_EX_APPWINDOW);
end;
end;
function TForm.ShowModal: TModalResult;
begin
Wnds.ModalStarted;
try
Result := inherited ShowModal;
finally
Wnds.ModalFinished;
end;
end;
procedure TForm.SetupWndIcon;
var
AppIcon: IAppIcon;
Icon: HICON;
Wnd: HWND;
begin
if Supports(FCore, IAppIcon, AppIcon) then
begin
Wnd := FmxHandleToHWND(Handle);
Icon := AppIcon.Small;
try
Icon := HIcon(SendMessage(Wnd, WM_SETICON, ICON_SMALL, Integer(Icon)));
finally
DestroyIcon(Icon);
end;
Icon := AppIcon.Large;
try
Icon := HIcon(SendMessage(Wnd, WM_SETICON, ICON_BIG, Integer(Icon)));
finally
DestroyIcon(Icon);
end;
end;
end;
end.
|
Unit MsXmlParser;
{
Copyright (c) 2001-2013, Kestral Computing Pty Ltd (http://www.kestral.com.au)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of HL7 nor the names of its contributors may be used to
endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
}
Interface
Uses
Windows, SysUtils, Classes, ComObj, Generics.Collections,
AdvObjects, Advmemories, AdvBuffers, AdvStreams, AdvStringLists, AdvGenerics,
XmlBuilder, MsXml, ParserSupport;
const
MAP_ATTR_NAME = 'B88BF977DA9543B8A5915C84A70F03F7';
Type
TTextAction = (ttAsIs, ttTrim, ttTrimPad);
TMsXmlSaxHandler = class (TinterfacedObject, IVBSAXContentHandler, IVBSAXErrorHandler)
private
FLocator : IVBSAXLocator;
FLocation : TSourceLocation;
FExceptionMessage : String;
protected
FXmlComments : TAdvStringList;
procedure startElement(sourceLocation : TSourceLocation; uri, localname : string; attrs : IVBSAXAttributes); overload; virtual;
procedure endElement(sourceLocation : TSourceLocation); overload; virtual;
procedure text(chars : String; sourceLocation : TSourceLocation); virtual;
public
Constructor create;
destructor Destroy; override;
property ExceptionMessage : String read FExceptionMessage;
{ SAX }
// IDispatch
function GetTypeInfoCount(out Count: Integer): HResult; stdcall;
function GetTypeInfo(Index, LocaleID: Integer; out TypeInfo): HResult; stdcall;
function GetIDsOfNames(const IID: TGUID; Names: Pointer; NameCount, LocaleID: Integer; DispIDs: Pointer): HResult; stdcall;
function Invoke(DispID: Integer; const IID: TGUID; LocaleID: Integer; Flags: Word; var Params; VarResult, ExcepInfo, ArgErr: Pointer): HResult; stdcall;
procedure _Set_documentLocator(const locator: IVBSAXLocator); safecall;
procedure Set_documentLocator(const locator: IVBSAXLocator); safecall;
procedure startDocument; safecall;
procedure endDocument; safecall;
procedure startPrefixMapping(var prefix, uri: widestring); safecall;
procedure endPrefixMapping(var prefix: WideString); safecall;
procedure startElement(var uri, localname, qname : widestring; const attrs: IVBSAXAttributes); overload; safecall;
procedure endElement(var uri, localname, qname : WideString); overload; safecall;
procedure characters(var chars: WideString); safecall;
procedure ignorableWhitespace(var text: WideString); safecall;
procedure processingInstruction(var target, data: WideString); safecall;
procedure skippedEntity(var name: wideString); safecall;
procedure error(const oLocator: IVBSAXLocator; var strErrorMessage: WideString; nErrorCode: Integer); safecall;
procedure fatalError(const oLocator: IVBSAXLocator; var strErrorMessage: WideString; nErrorCode: Integer); safecall;
procedure ignorableWarning(const oLocator: IVBSAXLocator; var strErrorMessage: WideString; nErrorCode: Integer); safecall;
end;
TLocatingSaxToDomParser = class (TMsXmlSaxHandler)
private
FStack : TList<IXMLDOMElement>;
FDom : IXMLDOMDocument2;
FLastStart : TSourceLocation;
FLocations : TAdvList<TSourceLocationObject>;
FTimeToAbort : Cardinal;
public
constructor create(locations : TAdvList<TSourceLocationObject>; timeToAbort : cardinal);
destructor Destroy; override;
property DOm : IXMLDOMDocument2 read FDom;
procedure startElement(sourceLocation : TSourceLocation; uri, localname : string; attrs : IVBSAXAttributes); override;
procedure endElement(sourceLocation : TSourceLocation); overload; override;
procedure text(chars : String; sourceLocation : TSourceLocation); override;
end;
TMsXmlParser = class (TAdvObject)
Private
Public
Class Function Parse(Const sFilename : String) : IXMLDomDocument2; Overload;
Class Function Parse(Const oSource : TStream) : IXMLDomDocument2; Overload;
Class Function Parse(Const oSource : TAdvStream) : IXMLDomDocument2; Overload;
Class Function Parse(Const oSource : TAdvBuffer) : IXMLDomDocument2; Overload;
Class Function Parse(Const bytes : TBytes) : IXMLDomDocument2; Overload;
Class Function ParseString(Const sSource : String) : IXMLDomDocument2; Overload;
Class Function Parse(Const sFilename : String; locations : TAdvList<TSourceLocationObject>) : IXMLDomDocument2; Overload;
Class Function Parse(Const oSource : TStream; locations : TAdvList<TSourceLocationObject>) : IXMLDomDocument2; Overload;
Class Function Parse(Const oSource : TAdvStream; locations : TAdvList<TSourceLocationObject>) : IXMLDomDocument2; Overload;
Class Function Parse(Const oSource : TAdvBuffer; locations : TAdvList<TSourceLocationObject>) : IXMLDomDocument2; Overload;
Class Function Parse(Const bytes : TBytes; locations : TAdvList<TSourceLocationObject>) : IXMLDomDocument2; Overload;
Class Function ParseString(Const sSource : String; locations : TAdvList<TSourceLocationObject>) : IXMLDomDocument2; Overload;
Class Function GetAttribute(oElement : IXMLDOMElement; Const sName : String) : String; overload;
Class Function GetAttribute(oElement : IXMLDOMElement; Const sNamespace, sName : String) : String; overload;
Class Function FirstChild(oElement : IXMLDOMNode) : IXMLDOMElement;
Class Function NextSibling(oElement : IXMLDOMElement) : IXMLDOMElement;
Class Function NamedChild(oElement : IXMLDOMElement; name : String) : IXMLDOMElement;
Class Function TextContent(oElement : IXMLDOMElement; aTextAction : TTextAction) : String;
Class Procedure getNamedChildrenWithWildcard(oElement : IXMLDOMElement; name : string; children : TInterfaceList);
Class Procedure ParseByHandler(Const sFilename : String; handler : TMsXmlSaxHandler); Overload;
Class Procedure ParseByHandler(Const oSource : TStream; handler : TMsXmlSaxHandler); Overload;
Class Procedure ParseByHandler(Const oSource : TAdvStream; handler : TMsXmlSaxHandler); Overload;
Class Procedure ParseByHandler(Const oSource : TAdvBuffer; handler : TMsXmlSaxHandler); Overload;
End;
Procedure DetermineMsXmlProgId;
Function LoadMsXMLDom : IXMLDomDocument2;
Function LoadMsXMLDomV(isFree : boolean = false) : Variant;
Var
GMsXmlProgId_DOM : String;
GMsXmlProgId_FTDOM : String;
GMsXmlProgId_SCHEMA : String;
GMsXmlProgId_XSLT : String;
GMsXmlProgId_XSLP : String;
GMsXmlProgId_SAX : String;
Implementation
Uses
ActiveX,
AdvWinInetClients,
MXmlBuilder,
StringSupport,
AdvVclStreams;
Procedure DetermineMsXmlProgId;
Function TryLoad(sId : String) : Boolean;
Var
ClassID: TCLSID;
iTest : IDispatch;
Res : HResult;
Begin
Result := false;
if Succeeded(CLSIDFromProgID(PWideChar(String('MSXML2.DOMDocument'+sId)), ClassID)) Then
Begin
Res := CoCreateInstance(ClassID, nil, CLSCTX_INPROC_SERVER or CLSCTX_LOCAL_SERVER, IDispatch, iTest);
result := Succeeded(Res);
If result then
Begin
iTest := nil;
GMsXmlProgId_DOM := 'MSXML2.DOMDocument'+sId;
GMsXmlProgId_FTDOM := 'MSXML2.FreeThreadedDOMDocument'+sId;
GMsXmlProgId_SCHEMA := 'MSXML2.XMLSchemaCache'+sId;
GMsXmlProgId_XSLT := 'MSXML2.XSLTemplate'+sId;
GMsXmlProgId_XSLP := 'MSXML2.XSLProcessor'+sId;
GMsXmlProgId_SAX := 'MSXML2.SAXXMLReader'+sId;
End;
End;
End;
Begin
CoInitializeEx(nil, COINIT_MULTITHREADED);
Try
If not TryLoad('.6.0') And not TryLoad('.5.0')
And not TryLoad('.4.0') And not TryLoad('') Then
GMsXmlProgId_DOM := '';
Finally
CoUninitialize;
End;
End;
Function LoadMsXMLDom : IXMLDomDocument2;
Var
LVariant: Variant;
Begin
LVariant := LoadMsXMLDomV;
Result := IUnknown(TVarData(LVariant).VDispatch) as IXMLDomDocument2;
End;
Function LoadMsXMLDomV(isFree : boolean = false) : Variant;
Begin
if GMsXmlProgId_DOM = '' Then
Raise Exception.Create('Unable to load Microsoft XML Services');
if isFree then
Result := CreateOleObject(GMsXmlProgId_FTDOM)
else
Result := CreateOleObject(GMsXmlProgId_DOM);
End;
{ TMsXmlParser }
Class function TMsXmlParser.Parse(const sFilename: String): IXMLDomDocument2;
begin
result := parse(sFileName, nil);
end;
Class function TMsXmlParser.Parse(const sFilename: String; locations : TAdvList<TSourceLocationObject>): IXMLDomDocument2;
var
oFile : TFileStream;
oWeb : TAdvWinInetClient;
begin
if StringStartsWith(sFilename, 'http:') or StringStartsWith(sFilename, 'https:') or StringStartsWith(sFilename, 'ftp:') Then
Begin
oWeb := TAdvWinInetClient.Create;
Try
// oWeb.SetAddress(sFilename);
oWeb.RequestMethod := 'GET';
oWeb.Request := TAdvBuffer.Create;
oWeb.Response := TAdvBuffer.Create;
oWeb.Execute;
if oWeb.ResponseCode <> '200' Then
Raise Exception.Create('HTTP Error '+oWeb.ResponseCode);
result := Parse(oWeb.Response, locations);
Finally
oWeb.Free;
End;
End
Else
Begin
oFile := TFileStream.Create(sFilename, fmOpenRead + fmShareDenyWrite);
Try
Result := Parse(oFile, locations);
Finally
oFile.Free;
End;
End;
end;
Class function TMsXmlParser.Parse(const oSource: TStream): IXMLDomDocument2;
begin
result := parse(oSource, nil);
end;
Class function TMsXmlParser.Parse(const oSource: TStream; locations : TAdvList<TSourceLocationObject>): IXMLDomDocument2;
Var
iDom : IXMLDomDocument2;
vAdapter : Variant;
sError : String;
ms : TMsXmlParser;
sax : TLocatingSaxToDomParser;
begin
if (locations = nil) then
begin
CoInitializeEx(nil, COINIT_MULTITHREADED);
iDom := LoadMsXMLDom;
iDom.validateOnParse := False;
iDom.preserveWhiteSpace := True;
iDom.resolveExternals := False;
iDom.setProperty('NewParser', True);
iDom.setProperty('ProhibitDTD', false);
vAdapter := TStreamAdapter.Create(oSource) As IStream;
if not iDom.load(vAdapter) Then
Begin
sError := iDom.parseError.reason + ' at line '+IntToStr(iDom.parseError.line)+' row '+IntToStr(iDom.parseError.linepos);
if iDom.parseError.url <> '' Then
sError := sError + '. url="'+ iDom.parseError.url+'"';
sError := sError + '. source = '+ iDom.parseError.srcText+'"';
raise Exception.Create(sError);
End;
Result := iDom;
end
else
begin
ms := TMsXmlParser.Create;
try
sax := TLocatingSaxToDomParser.create(locations.Link, 0); // no try...finally..., this is interfaced
iDom := sax.DOM;
ms.ParseByHandler(oSource, sax);
result := iDom;
finally
ms.Free;
end;
end;
end;
class function TMsXmlParser.Parse(const oSource: TAdvStream): IXMLDomDocument2;
begin
result := parse(oSource, nil);
end;
class function TMsXmlParser.Parse(const oSource: TAdvStream; locations : TAdvList<TSourceLocationObject>): IXMLDomDocument2;
Var
oWrapper : TVCLStream;
begin
oWrapper := TVCLStream.Create;
Try
oWrapper.Stream := oSource.Link;
Result := Parse(oWrapper, locations);
Finally
oWrapper.Free;
End;
end;
Class Function TMsXmlParser.GetAttribute(oElement : IXMLDOMElement; Const sName : String) : String;
Var
LAttr : IXMLDOMNamedNodeMap;
LNode : IXMLDOMAttribute;
Begin
LAttr := oElement.attributes;
LNode := LAttr.getQualifiedItem(sName, '') As IXMLDOMAttribute;
If Assigned(Lnode) Then
Result := LNode.text
Else
Begin
LNode := LAttr.getNamedItem(sName) As IXMLDOMAttribute;
If Assigned(Lnode) Then
Result := LNode.text;
End;
End;
Class Function TMsXmlParser.GetAttribute(oElement : IXMLDOMElement; Const sNamespace, sName : String) : String;
Var
LAttr : IXMLDOMNamedNodeMap;
LNode : IXMLDOMAttribute;
Begin
LAttr := oElement.attributes;
LNode := LAttr.getQualifiedItem(sName, sNamespace) As IXMLDOMAttribute;
If Assigned(Lnode) Then
Result := LNode.text
else
Result := '';
End;
class procedure TMsXmlParser.getNamedChildrenWithWildcard(oElement: IXMLDOMElement; name: string; children: TInterfaceList);
var
c : IXMLDOMElement;
n : string;
begin
c := FirstChild(oElement);
while (c <> nil) do
begin
if c.baseName <> '' then
n := c.baseName
else
n := c.NodeName;
if (name = n) or (name.endsWith('[x]') and n.startsWith(name.substring(0, name.length-3))) then
children.add(c);
c := NextSibling(c);
end;
end;
Class Function TMsXmlParser.FirstChild(oElement : IXMLDOMNode) : IXMLDOMElement;
Var
oNode : IXMLDOMNode;
Begin
result := Nil;
oNode := oElement.firstChild;
While Assigned(oNode) And not Assigned(result) Do
Begin
If oNode.nodeType = NODE_ELEMENT Then
result := oNode as IXMLDOMElement;
oNode := oNode.nextSibling;
End;
End;
class function TMsXmlParser.NamedChild(oElement: IXMLDOMElement; name: String): IXMLDOMElement;
var
n : IXMLDOMElement;
begin
result := nil;
n := FirstChild(oElement);
while (n <> nil) do
begin
if n.nodeName = name then
exit(n);
n := NextSibling(n);
end;
end;
Class Function TMsXmlParser.NextSibling(oElement : IXMLDOMElement) : IXMLDOMElement;
Var
oNode : IXMLDOMNode;
Begin
result := Nil;
oNode := oElement.nextSibling;
While Assigned(oNode) And not Assigned(result) Do
Begin
If oNode.nodeType = NODE_ELEMENT Then
result := oNode as IXMLDOMElement;
oNode := oNode.nextSibling;
End;
End;
class procedure TMsXmlParser.ParseByHandler(const oSource: TStream; handler: TMsXmlSaxHandler);
var
v : variant;
sax : IVBSAXXMLReader ;
begin
v := CreateOleObject(GMsXmlProgId_SAX);
sax := IUnknown(TVarData(v).VDispatch) as IVBSAXXMLReader ;
sax.PutFeature('prohibit-dtd', false);
sax.contentHandler := handler;
sax.errorHandler := handler;
v := TStreamAdapter.Create(oSource) As IStream;
sax.parse(v);
if handler.ExceptionMessage <> '' then
raise Exception.create(handler.ExceptionMessage);
end;
class procedure TMsXmlParser.ParseByHandler(const sFilename: String; handler: TMsXmlSaxHandler);
var
oFile : TFileStream;
oWeb : TAdvWinInetClient;
begin
if StringStartsWith(sFilename, 'http:') or StringStartsWith(sFilename, 'https:') or StringStartsWith(sFilename, 'ftp:') Then
Begin
oWeb := TAdvWinInetClient.Create;
Try
// oWeb.SetAddress(sFilename);
oWeb.RequestMethod := 'GET';
oWeb.Request := TAdvBuffer.Create;
oWeb.Response := TAdvBuffer.Create;
oWeb.Execute;
if oWeb.ResponseCode <> '200' Then
Raise Exception.Create('HTTP Error '+oWeb.ResponseCode);
ParseByHandler(oWeb.Response, handler);
Finally
oWeb.Free;
End;
End
Else
Begin
oFile := TFileStream.Create(sFilename, fmOpenRead + fmShareDenyWrite);
Try
ParseByHandler(oFile, handler);
Finally
oFile.Free;
End;
End;
end;
class procedure TMsXmlParser.ParseByHandler(const oSource: TAdvBuffer; handler: TMsXmlSaxHandler);
var
oMem : TAdvMemoryStream;
begin
oMem := TAdvMemoryStream.Create;
try
oMem.Buffer := oSource.Link;
ParseByHandler(oMem, handler);
Finally
oMem.Free;
End;
end;
class function TMsXmlParser.ParseString(const sSource: String): IXMLDomDocument2;
begin
result := parseString(sSource, nil);
end;
class function TMsXmlParser.ParseString(const sSource: String; locations : TAdvList<TSourceLocationObject>): IXMLDomDocument2;
var
oMem : TBytesStream;
begin
oMem := TBytesStream.Create(TEncoding.UTF8.GetBytes(sSource));
try
result := Parse(oMem, locations);
Finally
oMem.Free;
End;
end;
class procedure TMsXmlParser.ParseByHandler(const oSource: TAdvStream; handler: TMsXmlSaxHandler);
Var
oWrapper : TVCLStream;
begin
oWrapper := TVCLStream.Create;
Try
oWrapper.Stream := oSource.Link;
ParseByHandler(oWrapper, handler);
Finally
oWrapper.Free;
End;
end;
Function Trim(Const sValue : WideString; bWhitespaceWithMeaning : Boolean):WideString;
Begin
result := StringTrimWhitespace(sValue);
If bWhitespaceWithMeaning And (Result = '') Then
result := ' ';
End;
class function TMsXmlParser.TextContent(oElement: IXMLDOMElement; aTextAction: TTextAction): String;
Var
oNode : IXMLDOMNode;
Begin
result := '';
if oElement <> nil Then
Begin
oNode := oElement.firstChild;
While Assigned(oNode) Do
Begin
If (oNode.nodeType = NODE_TEXT) Then
result := result + oNode.text;
oNode := oNode.nextSibling;
End;
if (aTextAction <> ttAsIs) Then
Result := Trim(result, aTextAction = ttTrimPad);
End;
end;
class function TMsXmlParser.Parse(const oSource: TAdvBuffer): IXMLDomDocument2;
begin
result := parse(oSource, nil);
end;
class function TMsXmlParser.Parse(const oSource: TAdvBuffer; locations : TAdvList<TSourceLocationObject>): IXMLDomDocument2;
var
oMem : TAdvMemoryStream;
begin
oMem := TAdvMemoryStream.Create;
try
oMem.Buffer := oSource.Link;
result := Parse(oMem, locations);
Finally
oMem.Free;
End;
end;
class function TMsXmlParser.Parse(const bytes: TBytes): IXMLDomDocument2;
begin
result := parse(bytes, nil);
end;
class function TMsXmlParser.Parse(const bytes: TBytes; locations: TAdvList<TSourceLocationObject>): IXMLDomDocument2;
var
b : TBytesStream;
begin
b := TBytesStream.Create(bytes);
try
result := parse(b, locations);
finally
b.Free;
end;
end;
{ TMsXmlSaxHandler }
procedure TMsXmlSaxHandler.characters(var chars: WideString);
begin
FLocation.Line := FLocator.lineNumber;
FLocation.col := FLocator.columnNumber;
text(chars, FLocation);
end;
constructor TMsXmlSaxHandler.create;
begin
inherited;
FXmlComments := TAdvStringList.create;
end;
destructor TMsXmlSaxHandler.destroy;
begin
FXmlComments.Free;
inherited;
end;
procedure TMsXmlSaxHandler.endDocument;
begin
// nothing
end;
procedure TMsXmlSaxHandler.endElement(var uri, localname, qname: WideString);
begin
FLocation.Line := FLocator.lineNumber;
FLocation.col := FLocator.columnNumber;
endElement(FLocation);
end;
procedure TMsXmlSaxHandler.endElement(sourceLocation : TSourceLocation);
begin
// nothing - override in descendent
end;
procedure TMsXmlSaxHandler.endPrefixMapping(var prefix: WideString);
begin
// nothing
end;
procedure TMsXmlSaxHandler.error(const oLocator: IVBSAXLocator; var strErrorMessage: WideString; nErrorCode: Integer);
begin
FExceptionMessage := strErrorMessage+' at line '+inttostr(oLocator.lineNumber);
end;
procedure TMsXmlSaxHandler.fatalError(const oLocator: IVBSAXLocator; var strErrorMessage: WideString; nErrorCode: Integer);
begin
FExceptionMessage := strErrorMessage+' at line '+inttostr(oLocator.lineNumber);
end;
function TMsXmlSaxHandler.GetIDsOfNames(const IID: TGUID; Names: Pointer; NameCount, LocaleID: Integer; DispIDs: Pointer): HResult;
begin
Result := E_NOTIMPL;
end;
function TMsXmlSaxHandler.GetTypeInfo(Index, LocaleID: Integer; out TypeInfo): HResult;
begin
Result := E_NOTIMPL;
end;
function TMsXmlSaxHandler.GetTypeInfoCount(out Count: Integer): HResult;
begin
Result := E_NOTIMPL;
end;
procedure TMsXmlSaxHandler.ignorableWarning(const oLocator: IVBSAXLocator;
var strErrorMessage: WideString; nErrorCode: Integer);
begin
raise Exception.Create('todo');
end;
procedure TMsXmlSaxHandler.ignorableWhitespace(var text: WideString);
begin
// nothing
end;
function TMsXmlSaxHandler.Invoke(DispID: Integer; const IID: TGUID; LocaleID: Integer; Flags: Word; var Params; VarResult, ExcepInfo, ArgErr: Pointer): HResult;
begin
Result := E_NOTIMPL;
end;
procedure TMsXmlSaxHandler.processingInstruction(var target, data: WideString);
begin
// nothing
end;
procedure TMsXmlSaxHandler.Set_documentLocator(const locator: IVBSAXLocator);
begin
FLocator := locator;
end;
procedure TMsXmlSaxHandler.skippedEntity(var name: wideString);
begin
// ignore
end;
procedure TMsXmlSaxHandler.startDocument;
begin
// ignore
end;
procedure TMsXmlSaxHandler.startElement(sourceLocation : TSourceLocation; uri, localname: string; attrs: IVBSAXAttributes);
begin
// override in descendants
end;
procedure TMsXmlSaxHandler.startElement(var uri, localname, qname: widestring; const attrs: IVBSAXAttributes);
begin
FLocation.Line := FLocator.lineNumber;
FLocation.col := FLocator.columnNumber;
startElement(FLocation, uri, localname, attrs);
end;
procedure TMsXmlSaxHandler.startPrefixMapping(var prefix, uri: widestring);
begin
// ignore
end;
procedure TMsXmlSaxHandler.text(chars: String; sourceLocation : TSourceLocation);
begin
// for descendants
end;
procedure TMsXmlSaxHandler._Set_documentLocator(const locator: IVBSAXLocator);
begin
Set_documentLocator(locator);
end;
{ TLocatingSaxToDomParser }
constructor TLocatingSaxToDomParser.create(locations : TAdvList<TSourceLocationObject>; timeToAbort : cardinal);
begin
FStack := TList<IXMLDOMElement>.create;
FDom := CoDOMDocument.Create;
FLocations := locations;
FTimeToAbort := timeToAbort;
end;
destructor TLocatingSaxToDomParser.destroy;
begin
FStack.Free;
FDom := nil;
FLocations.Free;
inherited;
end;
procedure TLocatingSaxToDomParser.startElement(sourceLocation: TSourceLocation; uri,localname: string; attrs: IVBSAXAttributes);
var
ts : cardinal;
focus : IXMLDOMElement;
loc : TSourceLocationObject;
i : integer;
begin
ts := GetTickCount;
if (FTimeToAbort > 0) and (FTimeToAbort < ts) then
abort;
focus := FDom.createNode(NODE_ELEMENT, localname, uri) as IXMLDOMElement;
if FStack.Count = 0 then
FDom.documentElement := focus
else
FStack[FStack.Count-1].appendChild(focus);
FStack.Add(focus);
loc := TSourceLocationObject.Create;
focus.setAttribute(MAP_ATTR_NAME, inttostr(FLocations.Add(loc)));
// SAX reports that the element 'starts' at the end of the element.
// which is where we want to end it. So we store the last location
// we saw anything at, and use that instead
if isNullLoc(FLastStart) then
loc.locationStart := sourceLocation
else
loc.locationStart := FLastStart;
loc.locationEnd := nullLoc;
for i := 0 to attrs.length - 1 do
focus.setAttribute(attrs.getQName(i), attrs.getValue(i));
FLastStart := nullLoc;
end;
procedure TLocatingSaxToDomParser.text(chars: String; sourceLocation: TSourceLocation);
var
sl : TSourceLocationObject;
begin
// we consider that an element 'ends' where the text or next element
// starts. That's not strictly true, but gives a better output
if FStack.Count > 0 then
begin
sl := FLocations[StrToInt(FStack[FStack.Count-1].getAttribute(MAP_ATTR_NAME))];
if isNullLoc(sl.LocationEnd) then
sl.LocationEnd := sourceLocation;
FStack[FStack.Count-1].appendChild(FDom.createTextNode(chars));
end;
FLastStart := sourceLocation;
end;
procedure TLocatingSaxToDomParser.endElement(sourceLocation: TSourceLocation);
var
sl : TSourceLocationObject;
begin
// we consider that an element 'ends' where the text or next element
// starts. That's not strictly true, but gives a better output
sl := FLocations[StrToInt(FStack[FStack.Count-1].getAttribute(MAP_ATTR_NAME))];
if isNullLoc(sl.LocationEnd) then
sl.LocationEnd := sourceLocation;
FStack.Delete(FStack.Count-1);
FLastStart := sourceLocation;
end;
Initialization
DetermineMsXmlProgId;
End.
|
{-------------------------------------------------------------------------------
The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/
Software distributed under the License is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
the specific language governing rights and limitations under the License.
Code template generated with SynGen.
The original code is: SynHighlighterR.pas, released 2003-01-22.
Description: Syntax Parser/Highlighter
The initial author of this file is Stefan Ascher.
Copyright (c) 2003, all rights reserved.
Contributors to the SynEdit and mwEdit projects are listed in the
Contributors.txt file.
Alternatively, the contents of this file may be used under the terms of the
GNU General Public License Version 2 or later (the "GPL"), in which case
the provisions of the GPL are applicable instead of those above.
If you wish to allow use of your version of this file only under the terms
of the GPL and not to allow others to use your version of this file
under the MPL, indicate your decision by deleting the provisions above and
replace them with the notice and other provisions required by the GPL.
If you do not delete the provisions above, a recipient may use your version
of this file under either the MPL or the GPL.
$Id: SynHighlighterR.pas,v 1.8.2.10 2003/09/23 20:39:03 stievie Exp $
You may retrieve the latest version of this file at the SynEdit home page,
located at http://SynEdit.SourceForge.net
-------------------------------------------------------------------------------}
unit SynHighlighterR;
{$I SynEdit.inc}
interface
uses
SysUtils,
Classes,
{$IFDEF SYN_CLX}
QControls,
QGraphics,
{$ELSE}
Windows,
Controls,
Graphics,
{$ENDIF}
SynEditTypes,
SynEditHighlighter;
type
TtkTokenKind = (
tkComment,
tkNote,
tkIdentifier,
tkKey,
tkConstant,
tkNull,
tkNumber,
tkFloat,
tkComplex,
tkSpace,
tkString,
tkOperator,
tkSymbol,
tkUnknown);
TRangeState = (rsUnKnown, rsComment, rsNote, rsString);
TProcTableProc = procedure of object;
PIdentFuncTableFunc = ^TIdentFuncTableFunc;
TIdentFuncTableFunc = function: TtkTokenKind of object;
const
MaxKey = 110;
type
TSynRSyn = class(TSynCustomHighlighter)
private
fLine: PChar;
fLineNumber: Integer;
fProcTable: array[#0..#255] of TProcTableProc;
fRange: TRangeState;
Run: LongInt;
fStringLen: Integer;
fToIdent: PChar;
fTokenPos: Integer;
fTokenID: TtkTokenKind;
fIdentFuncTable: array[0 .. MaxKey] of TIdentFuncTableFunc;
fCommentAttri: TSynHighlighterAttributes;
fNoteAttri: TSynHighlighterAttributes;
fIdentifierAttri: TSynHighlighterAttributes;
fKeyAttri: TSynHighlighterAttributes;
fSpaceAttri: TSynHighlighterAttributes;
fStringAttri: TSynHighlighterAttributes;
fOperatorAttri: TSynHighlighterAttributes;
fSymbolAttri: TSynHighlighterAttributes;
fNumberAttri: TSynHighlighterAttributes;
fFloatAttri: TSynHighlighterAttributes;
fComplexAttri: TSynHighlighterAttributes;
fConstAttri: TSynHighlighterAttributes;
function KeyHash(ToHash: PChar): Integer;
function KeyComp(const aKey: string): Boolean;
function Func6: TtkTokenKind;
function Func15: TtkTokenKind;
function Func17: TtkTokenKind;
function Func20: TtkTokenKind;
function Func21: TtkTokenKind;
function Func25: TtkTokenKind;
function Func30: TtkTokenKind;
function Func31: TtkTokenKind;
function Func42: TtkTokenKind;
function Func43: TtkTokenKind;
function Func45: TtkTokenKind;
function Func51: TtkTokenKind;
function Func59: TtkTokenKind;
function Func62: TtkTokenKind;
function Func64: TtkTokenKind;
function Func67: TtkTokenKind;
function Func71: TtkTokenKind;
function Func88: TtkTokenKind;
function Func96: TtkTokenKind;
function Func102: TtkTokenKind;
function Func110: TtkTokenKind;
procedure IdentProc;
procedure UnknownProc;
function AltFunc: TtkTokenKind;
procedure InitIdent;
function IdentKind(MayBe: PChar): TtkTokenKind;
procedure MakeMethodTables;
procedure NullProc;
procedure SpaceProc;
procedure CRProc;
procedure LFProc;
procedure CommentProc;
procedure StringOpenProc;
procedure StringProc;
procedure PercentProc;
procedure OperatorProc;
procedure SymbolProc;
procedure NumberProc;
procedure PointProc;
protected
function GetIdentChars: TSynIdentChars; override;
function GetSampleSource: string; override;
function IsFilterStored: Boolean; override;
public
constructor Create(AOwner: TComponent); override;
{$IFNDEF SYN_CPPB_1} class {$ENDIF}
function GetLanguageName: string; override;
function GetRange: Pointer; override;
procedure ResetRange; override;
procedure SetRange(Value: Pointer); override;
function GetDefaultAttribute(Index: integer): TSynHighlighterAttributes; override;
function GetEol: Boolean; override;
function GetKeyWords: string;
function GetTokenID: TtkTokenKind;
procedure SetLine(NewValue: String; LineNumber: Integer); override;
function GetToken: String; override;
function GetTokenAttribute: TSynHighlighterAttributes; override;
function GetTokenKind: integer; override;
function GetTokenPos: Integer; override;
procedure Next; override;
published
property CommentAttri: TSynHighlighterAttributes read fCommentAttri write fCommentAttri;
property NoteAttri: TSynHighlighterAttributes read fNoteAttri write fNoteAttri;
property IdentifierAttri: TSynHighlighterAttributes read fIdentifierAttri write fIdentifierAttri;
property KeyAttri: TSynHighlighterAttributes read fKeyAttri write fKeyAttri;
property ConstAttri: TSynHighlighterAttributes read fConstAttri write fConstAttri;
property SpaceAttri: TSynHighlighterAttributes read fSpaceAttri write fSpaceAttri;
property StringAttri: TSynHighlighterAttributes read fStringAttri write fStringAttri;
property OperatorAttri: TSynHighlighterAttributes read fOperatorAttri write fOperatorAttri;
property SymbolAttri: TSynHighlighterAttributes read fSymbolAttri write fSymbolAttri;
property NumberAttri: TSynHighlighterAttributes read fNumberAttri write fNumberAttri;
property FloatAttri: TSynHighlighterAttributes read fFloatAttri write fFloatAttri;
property ComplexAttri: TSynHighlighterAttributes read fComplexAttri write fComplexAttri;
end;
procedure Register;
implementation
uses
SynEditStrConst;
{$IFDEF SYN_COMPILER_3_UP}
resourcestring
{$ELSE}
const
{$ENDIF}
SYNS_FilterR = 'R files (*.r, *q)|*.r;*.q';
SYNS_LangR = 'R';
SYNS_AttrConstant = 'Constant';
SYNS_AttrComplex = 'Complex Number';
SYNS_AttrNote = 'Note';
var
Identifiers: array[#0..#255] of ByteBool;
mHashTable : array[#0..#255] of Integer;
procedure Register;
begin
RegisterComponents(SYNS_HighlightersPage, [TSynRSyn]);
end;
procedure MakeIdentTable;
var
I: Char;
begin
for I := #0 to #255 do
begin
case I of
'a'..'z', 'A'..'Z', '0'..'9': Identifiers[I] := True;
else
Identifiers[I] := False;
end;
case I in ['A'..'Z', 'a'..'z'] of
True:
begin
if (I > #64) and (I < #91) then
mHashTable[I] := Ord(I) - 64
else if (I > #96) then
mHashTable[I] := Ord(I) - 95;
end;
else
mHashTable[I] := 0;
end;
end;
end;
procedure TSynRSyn.InitIdent;
var
I: Integer;
pF: PIdentFuncTableFunc;
begin
pF := PIdentFuncTableFunc(@fIdentFuncTable);
for I := Low(fIdentFuncTable) to High(fIdentFuncTable) do
begin
pF^ := AltFunc;
Inc(pF);
end;
fIdentFuncTable[6] := Func6;
fIdentFuncTable[15] := Func15;
fIdentFuncTable[17] := Func17;
fIdentFuncTable[20] := Func20;
fIdentFuncTable[21] := Func21;
fIdentFuncTable[25] := Func25;
fIdentFuncTable[30] := Func30;
fIdentFuncTable[31] := Func31;
fIdentFuncTable[42] := Func42;
fIdentFuncTable[43] := Func43;
fIdentFuncTable[45] := Func45;
fIdentFuncTable[51] := Func51;
fIdentFuncTable[59] := Func59;
fIdentFuncTable[62] := Func62;
fIdentFuncTable[64] := Func64;
fIdentFuncTable[67] := Func67;
fIdentFuncTable[71] := Func71;
fIdentFuncTable[88] := Func88;
fIdentFuncTable[96] := Func96;
fIdentFuncTable[102] := Func102;
fIdentFuncTable[110] := Func110;
end;
function TSynRSyn.KeyHash(ToHash: PChar): Integer;
begin
Result := 0;
while ToHash^ in ['a'..'z', 'A'..'Z'] do
begin
inc(Result, mHashTable[ToHash^]);
inc(ToHash);
end;
fStringLen := ToHash - fToIdent;
end;
function TSynRSyn.KeyComp(const aKey: String): Boolean;
var
I: Integer;
Temp: PChar;
begin
Temp := fToIdent;
if Length(aKey) = fStringLen then
begin
Result := True;
for i := 1 to fStringLen do
begin
if Temp^ <> aKey[i] then
begin
Result := False;
break;
end;
inc(Temp);
end;
end else
Result := False;
end;
function TSynRSyn.Func6: TtkTokenKind;
begin
if KeyComp('F') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func15: TtkTokenKind;
begin
if KeyComp('NA') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func17: TtkTokenKind;
begin
if KeyComp('if') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func20: TtkTokenKind;
begin
if KeyComp('T') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func21: TtkTokenKind;
begin
if KeyComp('do') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func25: TtkTokenKind;
begin
if KeyComp('in') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func30: TtkTokenKind;
begin
if KeyComp('NaN') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func31: TtkTokenKind;
begin
if KeyComp('Inf') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func42: TtkTokenKind;
begin
if KeyComp('break') then Result := tkKey else
if KeyComp('done') then Result := tkKey else
if KeyComp('for') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func43: TtkTokenKind;
begin
if KeyComp('FALSE') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func45: TtkTokenKind;
begin
if KeyComp('else') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func51: TtkTokenKind;
begin
if KeyComp('then') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func59: TtkTokenKind;
begin
if KeyComp('class') then Result := tkKey else
if KeyComp('NULL') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func62: TtkTokenKind;
begin
if KeyComp('while') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func64: TtkTokenKind;
begin
if KeyComp('TRUE') then Result := tkConstant else Result := tkIdentifier;
end;
function TSynRSyn.Func67: TtkTokenKind;
begin
if KeyComp('next') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func71: TtkTokenKind;
begin
if KeyComp('repeat') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func88: TtkTokenKind;
begin
if KeyComp('switch') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func96: TtkTokenKind;
begin
if KeyComp('unclass') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func102: TtkTokenKind;
begin
if KeyComp('return') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.Func110: TtkTokenKind;
begin
if KeyComp('function') then Result := tkKey else
if KeyComp('inherits') then Result := tkKey else Result := tkIdentifier;
end;
function TSynRSyn.AltFunc: TtkTokenKind;
begin
Result := tkIdentifier;
end;
function TSynRSyn.IdentKind(MayBe: PChar): TtkTokenKind;
var
HashKey: Integer;
begin
fToIdent := MayBe;
HashKey := KeyHash(MayBe);
if HashKey <= MaxKey then
Result := fIdentFuncTable[HashKey]
else
Result := tkIdentifier;
end;
procedure TSynRSyn.MakeMethodTables;
var
I: Char;
begin
for I := #0 to #255 do
case I of
#0: fProcTable[I] := NullProc;
#10: fProcTable[I] := LFProc;
#13: fProcTable[I] := CRProc;
'"', '''': fProcTable[I] := StringOpenProc;
'#': fProcTable[I] := CommentProc;
'0'..'9': fProcTable[I] := NumberProc;
'.': fProcTable[I] := PointProc;
#1..#9,
#11,
#12,
#14..#32 : fProcTable[I] := SpaceProc;
'A'..'Z', 'a'..'z': fProcTable[I] := IdentProc;
'%': fProcTable[I] := PercentProc;
'~', '$', '?', '!', '=', '|', '^', '*', '+', '-', '&', '<', '>', ':', '_': fProcTable[I] := OperatorProc;
'{', '}', '(', ')', '[', ']', ';', ',': fProcTable[I] := SymbolProc;
else
fProcTable[I] := UnknownProc;
end;
end;
procedure TSynRSyn.SpaceProc;
begin
fTokenID := tkSpace;
repeat
inc(Run);
until not (fLine[Run] in [#1..#32]);
end;
procedure TSynRSyn.NullProc;
begin
fTokenID := tkNull;
end;
procedure TSynRSyn.CRProc;
begin
fTokenID := tkSpace;
inc(Run);
if fLine[Run] = #10 then
inc(Run);
end;
procedure TSynRSyn.LFProc;
begin
fTokenID := tkSpace;
inc(Run);
end;
procedure TSynRSyn.CommentProc;
begin
Inc(Run);
if fLine[Run] <> '!' then begin
fRange := rsComment;
fTokenID := tkComment;
end else begin
fRange := rsNote;
fTokenID := tkNote;
end;
repeat
if not (fLine[Run] in [#0, #10, #13]) then
Inc(Run);
until fLine[Run] in [#0, #10, #13];
end;
procedure TSynRSyn.StringOpenProc;
begin
Inc(Run);
fRange := rsString;
StringProc;
fTokenID := tkString;
end;
procedure TSynRSyn.StringProc;
var
DelimChar: Char;
Escape: boolean;
begin
fTokenID := tkString;
DelimChar := fLine[Run - 1];
Escape := false;
repeat
if fLine[Run] = '\' then
Escape := not Escape
else
Escape := false;
if Escape and (fLine[Run+1] = DelimChar) then
Inc(Run);
if (fLine[Run] = DelimChar) and not Escape then
begin
Inc(Run);
fRange := rsUnKnown;
Break;
end;
if not (fLine[Run] in [#0, #10, #13]) then
Inc(Run);
until fLine[Run] in [#0, #10, #13];
end;
procedure TSynRSyn.PercentProc;
begin
Inc(Run);
fTokenID := tkOperator;
repeat
if (fLine[Run] = '%') then begin
Inc(Run);
fRange := rsUnknown;
Break;
end;
if not (fLine[Run] in [#0, #10, #13]) then
Inc(Run);
until fLine[Run] in [#0, #10, #13];
end;
procedure TSynRSyn.OperatorProc;
begin
fTokenID := tkOperator;
inc(Run);
end;
procedure TSynRSyn.SymbolProc;
begin
fTokenID := tkSymbol;
inc(Run);
end;
procedure TSynRSyn.NumberProc;
var
idx1: Integer; // token[1]
i: Integer;
begin
idx1 := Run;
Inc(Run);
fTokenID := tkNumber;
while FLine[Run] in ['0'..'9', 'i', 'E', 'e', '-', '+', '.'] do begin
case FLine[Run] of
'.':
if FLine[Succ(Run)] = '.' then
Break
else
fTokenID := tkFloat;
'-', '+':
begin
if fTokenID <> tkFloat then // number <> float. an arithmetic operator
Exit;
if not (FLine[Pred(Run)] in ['E', 'e']) then
Exit; // number = float, but no exponent. an arithmetic operator
if not (FLine[Succ(Run)] in ['0'..'9', '+', '-']) then // invalid
begin
Inc(Run);
fTokenID := tkUnknown;
Exit;
end
end;
'E', 'e':
if FLine[Pred(Run)] in ['0'..'9'] then // exponent
begin
for i := idx1 to Pred(Run) do
if FLine[i] in ['E', 'e'] then // too many exponents
begin
//Run := i;
fTokenID := tkUnknown;
Exit;
end;
if not (FLine[Succ(Run)] in ['0'..'9', '+', '-']) then
Break
else
fTokenID := tkFloat
end else begin // invalid char
fTokenID := tkUnknown;
Break;
end;
'i': // Complex number
begin
Inc(Run);
fTokenID := tkComplex;
Break; // must be the last character of a number
end;
end; // case
Inc(Run);
end; // while
if FLine[Run] in ['A'..'Z', 'a'..'z'] then
fTokenID := tkUnknown;
end;
procedure TSynRSyn.PointProc;
begin
if FLine[Run + 1] in ['0'..'9'] then // float
begin
Dec(Run); // numberproc must see the point
NumberProc;
end
else {point}
begin
Inc(Run);
fTokenID := tkSymbol; {Dot is always a Symbol, isn't it?}
end;
end;
constructor TSynRSyn.Create(AOwner: TComponent);
begin
inherited Create(AOwner);
fCommentAttri := TSynHighLighterAttributes.Create(SYNS_AttrComment);
fCommentAttri.Style := [fsItalic];
fCommentAttri.Foreground := clGreen;
AddAttribute(fCommentAttri);
fNoteAttri := TSynHighLighterAttributes.Create(SYNS_AttrNote);
fNoteAttri.Style := [fsItalic];
fNoteAttri.Foreground := clTeal;
AddAttribute(fNoteAttri);
fIdentifierAttri := TSynHighLighterAttributes.Create(SYNS_AttrIdentifier);
AddAttribute(fIdentifierAttri);
fKeyAttri := TSynHighLighterAttributes.Create(SYNS_AttrReservedWord);
fKeyAttri.Style := [fsBold];
fKeyAttri.Foreground := clNavy;
AddAttribute(fKeyAttri);
fConstAttri := TSynHighLighterAttributes.Create(SYNS_AttrConstant);
fConstAttri.Style := [fsBold];
AddAttribute(fConstAttri);
fOperatorAttri := TSynHighLighterAttributes.Create(SYNS_AttrOperator);
AddAttribute(fOperatorAttri);
fSymbolAttri := TSynHighLighterAttributes.Create(SYNS_AttrSymbol);
AddAttribute(fSymbolAttri);
fSpaceAttri := TSynHighLighterAttributes.Create(SYNS_AttrSpace);
AddAttribute(fSpaceAttri);
fStringAttri := TSynHighLighterAttributes.Create(SYNS_AttrString);
fStringAttri.Foreground := clMaroon;
AddAttribute(fStringAttri);
fNumberAttri := TSynHighLighterAttributes.Create(SYNS_AttrNumber);
AddAttribute(fNumberAttri);
fFloatAttri := TSynHighlighterAttributes.Create(SYNS_AttrFloat);
AddAttribute(fFloatAttri);
fComplexAttri := TSynHighlighterAttributes.Create(SYNS_AttrComplex);
AddAttribute(fComplexAttri);
SetAttributesOnChange(DefHighlightChange);
InitIdent;
MakeMethodTables;
fDefaultFilter := SYNS_FilterR;
fRange := rsUnknown;
end;
procedure TSynRSyn.SetLine(NewValue: String; LineNumber: Integer);
begin
fLine := PChar(NewValue);
Run := 0;
fLineNumber := LineNumber;
Next;
end;
procedure TSynRSyn.IdentProc;
begin
fTokenID := IdentKind((fLine + Run));
inc(Run, fStringLen);
while Identifiers[fLine[Run]] do
Inc(Run);
end;
procedure TSynRSyn.UnknownProc;
begin
{$IFDEF SYN_MBCSSUPPORT}
if FLine[Run] in LeadBytes then
Inc(Run,2)
else
{$ENDIF}
inc(Run);
fTokenID := tkUnknown;
end;
procedure TSynRSyn.Next;
begin
fTokenPos := Run;
fRange := rsUnknown;
fProcTable[fLine[Run]];
end;
function TSynRSyn.GetDefaultAttribute(Index: integer): TSynHighLighterAttributes;
begin
case Index of
SYN_ATTR_COMMENT : Result := fCommentAttri;
SYN_ATTR_IDENTIFIER : Result := fIdentifierAttri;
SYN_ATTR_KEYWORD : Result := fKeyAttri;
SYN_ATTR_STRING : Result := fStringAttri;
SYN_ATTR_WHITESPACE : Result := fSpaceAttri;
else
Result := nil;
end;
end;
function TSynRSyn.GetEol: Boolean;
begin
Result := fTokenID = tkNull;
end;
function TSynRSyn.GetKeyWords: string;
begin
Result :=
'break,class,do,done,else,for,function,if,in,next' +
'repeat,return,switch,then,while';
end;
function TSynRSyn.GetToken: String;
var
Len: LongInt;
begin
Len := Run - fTokenPos;
SetString(Result, (FLine + fTokenPos), Len);
end;
function TSynRSyn.GetTokenID: TtkTokenKind;
begin
Result := fTokenId;
end;
function TSynRSyn.GetTokenAttribute: TSynHighLighterAttributes;
begin
case GetTokenID of
tkComment: Result := fCommentAttri;
tkNote: Result := fNoteAttri;
tkIdentifier: Result := fIdentifierAttri;
tkKey: Result := fKeyAttri;
tkConstant: Result := fConstAttri;
tkSpace: Result := fSpaceAttri;
tkString: Result := fStringAttri;
tkOperator: Result := fOperatorAttri;
tkSymbol: Result := fSymbolAttri;
tkNumber: Result := fNumberAttri;
tkFloat: Result := fFloatAttri;
tkComplex: Result := fComplexAttri;
tkUnknown: Result := fIdentifierAttri;
else
Result := nil;
end;
end;
function TSynRSyn.GetTokenKind: integer;
begin
Result := Ord(fTokenId);
end;
function TSynRSyn.GetTokenPos: Integer;
begin
Result := fTokenPos;
end;
function TSynRSyn.GetIdentChars: TSynIdentChars;
begin
Result := ['a'..'z', 'A'..'Z', '0'..'9'];
end;
function TSynRSyn.GetSampleSource: string;
begin
Result :=
'#! Syntax highlighting'#13#10 +
'my.method <- function(p1, p2) {'#13#10 +
' i <- 123456'#13#10 +
' for (j in i) {'#13#10 +
' if (j = p1) {'#13#10 +
' p2 <- 2i # Complex Number'#13#10 +
' p1 <- 3.5E2 # Float Number with exponent'#13#10 +
' somestr <- "This is a string"'#13#10 +
' return(TRUE)'#13#10 +
' }'#13#10 +
' }'#13#10 +
' return(FALSE)'#13#10 +
'}';
end;
function TSynRSyn.IsFilterStored: Boolean;
begin
Result := fDefaultFilter <> SYNS_FilterR;
end;
{$IFNDEF SYN_CPPB_1} class {$ENDIF}
function TSynRSyn.GetLanguageName: string;
begin
Result := SYNS_LangR;
end;
procedure TSynRSyn.ResetRange;
begin
fRange := rsUnknown;
end;
procedure TSynRSyn.SetRange(Value: Pointer);
begin
fRange := TRangeState(Value);
end;
function TSynRSyn.GetRange: Pointer;
begin
Result := Pointer(fRange);
end;
initialization
MakeIdentTable;
{$IFNDEF SYN_CPPB_1}
RegisterPlaceableHighlighter(TSynRSyn);
{$ENDIF}
end.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.