ebay

package
v0.0.0-...-afd2f52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 4, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Version = "933"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type GetOrdersRequest

type GetOrdersRequest struct {
	Xmlns string `xml:"xmlns,attr"`

	RequesterCredentials Legacy_RequesterCredentials `xml:"RequesterCredentials"`

	CreateTimeFrom       string
	CreateTimeTo         string
	IncludeFinalValueFee string
	ListingType          string
	ModTimeFrom          string
	ModTimeTo            string
	NumberOfDays         string
	OrderRole            string
	OrderStatus          string
	SortingOrder         string
	DetailLevel          string
	ErrorLanguage        string
	MessageID            string
	OutputSelector       string
	Version              string
	WarningLevel         string
	Pagination           Legacy_Pagination
	OrderIDArray         Legacy_OrderIDArray
}

type Legacy_Amount

type Legacy_Amount struct {
}

type Legacy_BuyerPackageEnclosure

type Legacy_BuyerPackageEnclosure struct {
	BuyerPackageEnclosureType string
}

type Legacy_BuyerPackageEnclosures

type Legacy_BuyerPackageEnclosures struct {
}

type Legacy_BuyerTaxIdentifier

type Legacy_BuyerTaxIdentifier struct {
	Attribute string
	ID        string
	Type      string
}

type Legacy_CalculatedShippingRate

type Legacy_CalculatedShippingRate struct {
	InternationalPackagingHandlingCosts string
	OriginatingPostalCode               string
	PackageDepth                        string
	PackageLength                       string
	PackageWidth                        string
	PackagingHandlingCosts              string
	ShippingIrregular                   string
	ShippingPackage                     string
	WeightMajor                         string
	WeightMinor                         string
}

type Legacy_CancelDetail

type Legacy_CancelDetail struct {
	CancelCompleteDate  string
	CancelIntiationDate string
	CancelIntiator      string
	CancelReason        string
	CancelReasonDetails string
}

type Legacy_CheckoutStatus

type Legacy_CheckoutStatus struct {
	IntegratedMerchantCreditCardEnabled string
	LastModifiedTime                    string
	PaymentInstrument                   string
	PaymentMethod                       string
	Status                              string
	// contains filtered or unexported fields
}

type Legacy_EBay

type Legacy_EBay struct {
	ApplicationId string
}

func Legacy_New

func Legacy_New(application_id string) *Legacy_EBay

type Legacy_Error

type Legacy_Error struct {
	ErrorId      string `xml:"errorId"`
	Domain       string `xml:"domain"`
	SeverityCode string `xml:"SeverityCode"`
	Severity     string `xml:"Severity"`
	Line         string `xml:"Line"`
	Column       string `xml:"Column"`
	Category     string `xml:"Category"`
	Message      string `xml:"ShortMessage"`
	SubDomain    string `xml:"subdomain"`
}

type Legacy_ErrorMessage

type Legacy_ErrorMessage struct {
	XmlName xml.Name `xml:"errorMessage"`
	Error   Error    `xml:"error"`
}

type Legacy_Errors

type Legacy_Errors struct {
	XmlName      xml.Name `xml:"Errors"`
	ShortMessage string   `xml:"ShortMessage"`
	LongMessage  string   `xml:"LongMessage"`
	ErrorCode    string   `xml:"ErrorCode"`
}

type Legacy_ExternalTransaction

type Legacy_ExternalTransaction struct {
	ExternalTransactionID     string
	ExternalTransactionStatus string
	ExternalTransactionTime   string
	FeeOrCreditAmount         string
	PaymentOrRefundAmount     string
}

type Legacy_GetMemberMessagesRequest

type Legacy_GetMemberMessagesRequest struct {
	Xmlns string `xml:"xmlns,attr"`

	RequesterCredentials Legacy_RequesterCredentials `xml:"RequesterCredentials"`

	DisplayToPublic string
	EndCreationTime string
	//	ItemID            string
	MailMessageType   string
	MemberMessageID   string
	MessageStatus     string
	SenderID          string
	StartCreationTime string
	ErrorLanguage     string
	MessageID         string
	OutputSelector    string
	Version           string
	WarningLevel      string

	Pagination Legacy_Pagination
}

type Legacy_GetMemberMessagesRequestResponse

type Legacy_GetMemberMessagesRequestResponse struct {
	Xmlns                 string `xml:"xmlns,attr"`
	Timestamp             string
	Ack                   string
	Version               string
	Build                 string
	Errors                Errors
	HasMoreMessages       bool
	CorrelationID         string
	HardExpirationWarning string

	Pagination            Legacy_Pagination
	MemberMessageExchange Legacy_MemberMessageExchange
}

type Legacy_GetOrdersRequestResponse

type Legacy_GetOrdersRequestResponse struct {
	Xmlns         string `xml:"xmlns,attr"`
	Timestamp     string `xml:"Timestamp"`
	Ack           string `xml:"Ack"`
	Build         string `xml:"Build"`
	Errors        Errors `xml:"Errors"`
	HasMoreOrders bool   `xml:"HasMoreOrders"`

	CorrelationID         string `xml:"CorrelationID"`
	HardExpirationWarning string `xml:"HardExpirationWarning"`

	Paginations Legacy_Pagination `xml:"PaginationResult"`
	OrdersArray Legacy_OrderArray `xml:"OrderArray"`

	OrdersPerPage            int `xml:"OrdersPerPage"`
	PageNumber               int `xml:"PageNumber"`
	ReturnedOrderCountActual int `xml:"ReturnedOrderCountActual"`
}

type Legacy_InternationalShippingServiceOption

type Legacy_InternationalShippingServiceOption struct {
}

type Legacy_Item

type Legacy_Item struct {
	ItemITitleD string
	ItemID      string
	ListingDetails
	SellingStatus
}

type Legacy_ListingDetails

type Legacy_ListingDetails struct {
	EndTime   string
	StartTime string
}

type Legacy_MemberMessage

type Legacy_MemberMessage struct {
	MediaName string
	MediaURL  string
}

type Legacy_MemberMessageExchange

type Legacy_MemberMessageExchange struct {
	Item             []Legacy_Item
	LastModifiedDate string
	MessageStatus    string
	Response         string
	MessageMedia     []Legacy_MessageMedia
	Question         Legacy_Question
}

type Legacy_MessageMedia

type Legacy_MessageMedia struct {
	MemberMessageExchange []Legacy_MemberMessageExchange
}

type Legacy_MonetaryDetails

type Legacy_MonetaryDetails struct {
	Payments Legacy_Payments
	Refunds  legacy_Refunds
}

type Legacy_MultiLegShippingDetails

type Legacy_MultiLegShippingDetails struct {
	SellerShipmentToLogisticsProvider Legacy_SellerShipmentToLogisticsProvider
}

type Legacy_Order

type Legacy_Order struct {
	XMLName                             xml.Name `xml:"Order"`
	OrderID                             string
	OrderStatus                         string
	BuyerCheckoutMessage                string
	AmountSaved                         string
	BuyerPackageEnclosures              Legacy_BuyerPackageEnclosure `xml:"BuyerPackageEnclosure"`
	BuyerTaxIdentifiers                 Legacy_BuyerTaxIdentifier    `xml:"BuyerTaxIdentifier"`
	BuyerUserID                         string
	CancelDetails                       Legacy_CancelDetail `xml:"CancelDetail"`
	CancelReason                        string
	CancelReasonDetails                 string
	CancelStatus                        string
	CheckoutStatuss                     Legacy_CheckoutStatus `xml:"CheckoutStatus"`
	ContainseBayPlusTransaction         bool
	CreatedTime                         string
	ModifiedTime                        string
	CreatingUserRole                    string
	EIASToken                           string
	ExtendedOrderID                     string
	ExternalTransactions                Legacy_ExternalTransaction `xml:"ExternalTransaction"`
	IntegratedMerchantCreditCardEnabled string
	IsMultiLegShipping                  string
	LogisticsPlanType                   string
	MonetaryDetailss                    Legacy_MonetaryDetails         `xml:"MonetaryDetails"`
	MultiLegShippingDetailss            Legacy_MultiLegShippingDetails `xml:"MultiLegShippingDetails"`
	PaidTime                            string
	PaymentHoldDetailss                 Legacy_PaymentHoldDetails `xml:"PaymentHoldDetails"`
	PaymentHoldStatus                   string
	PaymentMethods                      string
	PickupDetailss                      Legacy_PickupDetails `xml:"PickupDetails"`
	PickupMethodSelected
	RefundArrays    Legacy_RefundArray `xml:"RefundArray"`
	SellerEIASToken string
	SellerEmail     string
	SellerUserID    string
	ShippedTime     string
	//	ShippingAddress
	ShippingConvenienceCharge string
	ShippingDetailss          Legacy_ShippingDetails `xml:"ShippingDetails"`
	ShippingServiceSelected   string
	Subtotal                  string
	Total                     float64
	TransactionArrays         Legacy_TransactionArray `xml:"TransactionArray"`
}

type Legacy_OrderArray

type Legacy_OrderArray struct {
	XMLName xml.Name       `xml:"OrderArray"`
	Orders  []Legacy_Order `xml:"Order"`
}

type Legacy_OrderIDArray

type Legacy_OrderIDArray struct {
	OrderID     string
	BuyerUserID string
}

func (*Legacy_OrderIDArray) Legacy_GetOrderId

func (o *Legacy_OrderIDArray) Legacy_GetOrderId(orderid string)

type Legacy_Pagination

type Legacy_Pagination struct {
	EntriesPerPage       string
	OrdersPerPage        string
	PageNumber           string
	TotalNumberOfEntries int
	TotalNumberOfPages   int
}

func (*Legacy_Pagination) Legacy_Setpagination

func (p *Legacy_Pagination) Legacy_Setpagination(entriesperpage, pagenumber string)

type Legacy_Payment

type Legacy_Payment struct {
	FeeOrCreditAmount  string
	Payee              string
	Payer              string
	PaymentAmount      string
	PaymentReferenceID string
	PaymentStatus      string
	PaymentTime        string
}

type Legacy_PaymentHoldDetails

type Legacy_PaymentHoldDetails struct {
	ExpectedReleaseDate        string
	NumOfReqSellerActions      string
	PaymentHoldReason          string
	RequiredSellerActionArrays Legacy_RequiredSellerActionArray
}

type Legacy_PaymentInstructionCode

type Legacy_PaymentInstructionCode struct {
}

type Legacy_Payments

type Legacy_Payments struct {
	Payment []Legacy_Payment
}

type Legacy_PickupDetails

type Legacy_PickupDetails struct {
	PickupOptions Legacy_PickupOptions
}

type Legacy_PickupMethodSelected

type Legacy_PickupMethodSelected struct {
	XMLName               xml.Name `xml:"PickupMethodSelected"`
	MerchantPickupCode    string
	PickupFulfillmentTime string
	PickupLocationUUID    string
	PickupMethod          string
	PickupStatus          string
	PickupStoreID         string
}

type Legacy_PickupOptions

type Legacy_PickupOptions struct {
	PickupMethod   string
	PickupPriority string
}

type Legacy_Question

type Legacy_Question struct {
	Body            string
	DisplayToPublic string
	MessageID       string
	MessageMedia    []Legacy_MessageMedia
	MessageType     string
	QuestionType    string
	RecipientID     string
	SenderEmail     string
	SenderID        string
	Subject         string
}

type Legacy_Refund

type Legacy_Refund struct {
	FeeOrCreditAmount string
	//ReferenceID       string
	RefundAmount string
	RefundStatus string
	RefundTime   string
	RefundTo     string
	RefundType   string

	//RefundAmount string
	RefundFromSeller string
	//	RefundID string
	//	RefundStatus string
	//	RefundTime string
	TotalRefundToBuyer string
}

type Legacy_RefundArray

type Legacy_RefundArray struct{}

type Legacy_Refunds

type Legacy_Refunds struct {
	Refund Legacy_Refund
}

type Legacy_RequesterCredentials

type Legacy_RequesterCredentials struct {
	RequestToken string `xml:"eBayAuthToken"`
}

func (*Legacy_RequesterCredentials) Legacy_SetToken

func (r *Legacy_RequesterCredentials) Legacy_SetToken(token string)

type Legacy_RequiredSellerActionArray

type Legacy_RequiredSellerActionArray struct {
	RequiredSellerAction string
}

type Legacy_SalesTax

type Legacy_SalesTax struct {
	SalesTaxAmount        string
	SalesTaxPercent       string
	SalesTaxState         string
	ShippingIncludedInTax string
}

type Legacy_SellerShipmentToLogisticsProvider

type Legacy_SellerShipmentToLogisticsProvider struct {
	ShippingServiceDetails Legacy_ShippingServiceDetails
	ShipToAddress          Legacy_ShipToAddress
	ShippingTimeMax        int
	ShippingTimeMin        int
}

type Legacy_SellingStatus

type Legacy_SellingStatus struct {
	CurrentPrice string
}

type Legacy_ShipToAddress

type Legacy_ShipToAddress struct {
	XMLName           xml.Name `xml:"ShipToAddress"`
	AddressAttribute  string
	AddressID         string
	AddressOwner      string
	CityName          string
	Country           string
	CountryName       string
	ExternalAddressID string
	Name              string
	Phone             string
	PostalCode        string
	//ReferenceID       string
	StateOrProvince string
	Street1         string
	Street2         string
}

type Legacy_ShipmentTrackingDetails

type Legacy_ShipmentTrackingDetails struct {
	ShipmentTrackingNumber string
	ShippingCarrierUsed    string
}

type Legacy_ShippingDetails

type Legacy_ShippingDetails struct {
	CalculatedShippingRate Legacy_CalculatedShippingRate
	CODCost                string
	InsuranceFee           string
	InsuranceOption        string
	InsuranceWanted        string

	InternationalShippingServiceOption Legacy_InternationalShippingServiceOption
	//SellingManagerSalesRecordNumber
	ShipmentTrackingDetails Legacy_ShipmentTrackingDetails
	ShippingServiceOptions  Legacy_ShippingServiceOptions
	TaxTable                Legacy_TaxTable
}

type Legacy_ShippingPackageInfo

type Legacy_ShippingPackageInfo struct {
	ActualDeliveryTime       string
	ScheduledDeliveryTimeMax string
	ScheduledDeliveryTimeMin string
	ShippingTrackingEvent    string
	StoreID                  string
}

type Legacy_ShippingServiceDetails

type Legacy_ShippingServiceDetails struct {
	ShippingService   string
	TotalShippingCost string
}

type Legacy_ShippingServiceOptions

type Legacy_ShippingServiceOptions struct {
	ExpeditedService              string
	ImportCharge                  string
	LogisticPlanType              string
	ShippingInsuranceCost         string
	ShippingService               string
	ShippingServiceAdditionalCost string
	ShippingServiceCost           string
	ShippingServicePriority       int
}

type Legacy_TaxIdentifierAttributeCode

type Legacy_TaxIdentifierAttributeCode struct {
}

type Legacy_TaxJurisdiction

type Legacy_TaxJurisdiction struct {
	JurisdictionID        string
	SalesTaxPercent       string
	ShippingIncludedInTax string
}

type Legacy_TaxTable

type Legacy_TaxTable struct {
	TaxJurisdiction Legacy_TaxJurisdiction
}

type Legacy_Transaction

type Legacy_Transaction struct {
	//Buyer  Buyer
	ShippingDetails   Legacy_ShippingDetails
	CreatedDate       Legacy_string
	Item              Legacy_Item
	QuantityPurchased string
	//	Status Status
	TransactionID    string
	TransactionPrice string
	//ShippingServiceSelected ShippingServiceSelected
	FinalValueFee     string
	TransactionSiteID string
	Platform          string
	//Taxes Taxes
	ActualShippingCost float32
	ActualHandlingCost float32
	OrderLineItemID    string
	ExtendedOrderID    string
	// contains filtered or unexported fields
}

type Legacy_TransactionArray

type Legacy_TransactionArray struct {
	XMLName      xml.Name `xml:"TransactionArray"`
	Transactions []Legacy_Transaction
}

type Legacy_ValueTypeCode

type Legacy_ValueTypeCode struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL