buyer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActiveFilter

type ActiveFilter string
const (
	ActiveFilterAll ActiveFilter = "All"

	ActiveFilterActive ActiveFilter = "Active"

	ActiveFilterInactive ActiveFilter = "Inactive"
)

type AddToMemorylist

type AddToMemorylist struct {
	XMLName xml.Name `xml:"http://api.tradera.com AddToMemorylist"`

	ItemIds *ArrayOfInt `xml:"itemIds,omitempty" json:"itemIds,omitempty"`
}

type AddToMemorylistResponse

type AddToMemorylistResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com AddToMemorylistResponse"`
}

type AnyType

type AnyType struct {
	InnerXML string `xml:",innerxml"`
}

type AnyURI

type AnyURI string

type ArrayOfAuctionBiddingInfo

type ArrayOfAuctionBiddingInfo struct {
	AuctionBiddingInfo []*AuctionBiddingInfo `xml:"AuctionBiddingInfo,omitempty" json:"AuctionBiddingInfo,omitempty"`
}

type ArrayOfDecimal

type ArrayOfDecimal struct {
	Decimal []float64 `xml:"decimal,omitempty" json:"decimal,omitempty"`
}

type ArrayOfInt

type ArrayOfInt struct {
	// contains filtered or unexported fields
}

type ArrayOfItem

type ArrayOfItem struct {
	Item []*Item `xml:"Item,omitempty" json:"Item,omitempty"`
}

type ArrayOfMarkTransactionsPaidRequest

type ArrayOfMarkTransactionsPaidRequest struct {
	MarkTransactionsPaidRequest []*MarkTransactionsPaidRequest `xml:"MarkTransactionsPaidRequest,omitempty" json:"MarkTransactionsPaidRequest,omitempty"`
}

type ArrayOfNumberAttributeValue

type ArrayOfNumberAttributeValue struct {
	NumberAttributeValue []*NumberAttributeValue `xml:"NumberAttributeValue,omitempty" json:"NumberAttributeValue,omitempty"`
}

type ArrayOfString

type ArrayOfString struct {
	Astring []*string `xml:"string,omitempty" json:"string,omitempty"`
}

type ArrayOfTermAttributeValue

type ArrayOfTermAttributeValue struct {
	TermAttributeValue []*TermAttributeValue `xml:"TermAttributeValue,omitempty" json:"TermAttributeValue,omitempty"`
}

type ArrayOfTransaction

type ArrayOfTransaction struct {
	Transaction []*Transaction `xml:"Transaction,omitempty" json:"Transaction,omitempty"`
}

type AttributeValues

type AttributeValues struct {
	TermAttributeValues *ArrayOfTermAttributeValue `xml:"TermAttributeValues,omitempty" json:"TermAttributeValues,omitempty"`

	NumberAttributeValues *ArrayOfNumberAttributeValue `xml:"NumberAttributeValues,omitempty" json:"NumberAttributeValues,omitempty"`
}

type AuctionBiddingInfo

type AuctionBiddingInfo struct {
	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	ShortDescription string `xml:"ShortDescription,omitempty" json:"ShortDescription,omitempty"`

	SellerId int32 `xml:"SellerId,omitempty" json:"SellerId,omitempty"`

	EndDate soap.XSDDateTime `xml:"EndDate,omitempty" json:"EndDate,omitempty"`

	ThumbnailLink string `xml:"ThumbnailLink,omitempty" json:"ThumbnailLink,omitempty"`

	ReservePriceReached bool `xml:"ReservePriceReached,omitempty" json:"ReservePriceReached,omitempty"`

	HasBuyItNowOption bool `xml:"HasBuyItNowOption,omitempty" json:"HasBuyItNowOption,omitempty"`

	BuyItNowPrice int32 `xml:"BuyItNowPrice,omitempty" json:"BuyItNowPrice,omitempty"`

	IsEnded bool `xml:"IsEnded,omitempty" json:"IsEnded,omitempty"`

	NextBid int32 `xml:"NextBid,omitempty" json:"NextBid,omitempty"`

	MaxBid int32 `xml:"MaxBid,omitempty" json:"MaxBid,omitempty"`

	MaxBidderId int32 `xml:"MaxBidderId,omitempty" json:"MaxBidderId,omitempty"`

	TotalBids int32 `xml:"TotalBids,omitempty" json:"TotalBids,omitempty"`

	MaxAutoBid int32 `xml:"MaxAutoBid,omitempty" json:"MaxAutoBid,omitempty"`
}

type AuthenticationHeader

type AuthenticationHeader struct {
	AppId int32 `xml:"AppId,omitempty" json:"AppId,omitempty"`

	AppKey string `xml:"AppKey,omitempty" json:"AppKey,omitempty"`
}

type AuthorizationHeader

type AuthorizationHeader struct {
	UserId int32 `xml:"UserId,omitempty" json:"UserId,omitempty"`

	Token string `xml:"Token,omitempty" json:"Token,omitempty"`
}

type Buy

type Buy struct {
	XMLName xml.Name `xml:"http://api.tradera.com Buy"`

	ItemId int32 `xml:"itemId,omitempty" json:"itemId,omitempty"`

	BuyAmount int32 `xml:"buyAmount,omitempty" json:"buyAmount,omitempty"`
}

type BuyResponse

type BuyResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com BuyResponse"`

	BuyResult *BuyResult `xml:"BuyResult,omitempty" json:"BuyResult,omitempty"`
}

type BuyResult

type BuyResult struct {
	NextBid int32 `xml:"NextBid,omitempty" json:"NextBid,omitempty"`

	Status *BuyStatus `xml:"Status,omitempty" json:"Status,omitempty"`
}

type BuyStatus

type BuyStatus string
const (
	BuyStatusBought BuyStatus = "Bought"

	BuyStatusEnded BuyStatus = "Ended"

	BuyStatusNotStarted BuyStatus = "NotStarted"

	BuyStatusNotAllowed BuyStatus = "NotAllowed"

	BuyStatusPurchaseOwnItem BuyStatus = "PurchaseOwnItem"

	BuyStatusRegionNotAccepted BuyStatus = "RegionNotAccepted"

	BuyStatusUnexpectedError BuyStatus = "UnexpectedError"

	BuyStatusBuyItNowNoLongerAvailable BuyStatus = "BuyItNowNoLongerAvailable"

	BuyStatusPriceChanged BuyStatus = "PriceChanged"

	BuyStatusItemNotFound BuyStatus = "ItemNotFound"

	BuyStatusNumberOfBuysLimitReached BuyStatus = "NumberOfBuysLimitReached"

	BuyStatusBuyNotAvailableOnItem BuyStatus = "BuyNotAvailableOnItem"
)

type BuyerServiceHttpGet

type BuyerServiceHttpGet interface {
	Buy(request *string) (*BuyResult, error)

	BuyContext(ctx context.Context, request *string) (*BuyResult, error)

	AddToMemorylist(request *StringArray) error

	AddToMemorylistContext(ctx context.Context, request *StringArray) error

	RemoveFromMemorylist(request *StringArray) error

	RemoveFromMemorylistContext(ctx context.Context, request *StringArray) error

	GetSellerInfo(request *string) (*SellerInfo, error)

	GetSellerInfoContext(ctx context.Context, request *string) (*SellerInfo, error)

	SendQuestionToSeller(request *string) (*ContactSellerResult, error)

	SendQuestionToSellerContext(ctx context.Context, request *string) (*ContactSellerResult, error)
}

func NewBuyerServiceHttpGet

func NewBuyerServiceHttpGet(client *soap.Client) BuyerServiceHttpGet

type BuyerServiceHttpPost

type BuyerServiceHttpPost interface {
	Buy(request *string) (*BuyResult, error)

	BuyContext(ctx context.Context, request *string) (*BuyResult, error)

	AddToMemorylist(request *StringArray) error

	AddToMemorylistContext(ctx context.Context, request *StringArray) error

	RemoveFromMemorylist(request *StringArray) error

	RemoveFromMemorylistContext(ctx context.Context, request *StringArray) error

	GetSellerInfo(request *string) (*SellerInfo, error)

	GetSellerInfoContext(ctx context.Context, request *string) (*SellerInfo, error)

	SendQuestionToSeller(request *string) (*ContactSellerResult, error)

	SendQuestionToSellerContext(ctx context.Context, request *string) (*ContactSellerResult, error)
}

func NewBuyerServiceHttpPost

func NewBuyerServiceHttpPost(client *soap.Client) BuyerServiceHttpPost

type BuyerServiceSoap

type BuyerServiceSoap interface {
	Buy(request *Buy) (*BuyResponse, error)

	BuyContext(ctx context.Context, request *Buy) (*BuyResponse, error)

	GetMemorylistItems(request *GetMemorylistItems) (*GetMemorylistItemsResponse, error)

	GetMemorylistItemsContext(ctx context.Context, request *GetMemorylistItems) (*GetMemorylistItemsResponse, error)

	AddToMemorylist(request *AddToMemorylist) (*AddToMemorylistResponse, error)

	AddToMemorylistContext(ctx context.Context, request *AddToMemorylist) (*AddToMemorylistResponse, error)

	RemoveFromMemorylist(request *RemoveFromMemorylist) (*RemoveFromMemorylistResponse, error)

	RemoveFromMemorylistContext(ctx context.Context, request *RemoveFromMemorylist) (*RemoveFromMemorylistResponse, error)

	GetBuyerTransactions(request *GetBuyerTransactions) (*GetBuyerTransactionsResponse, error)

	GetBuyerTransactionsContext(ctx context.Context, request *GetBuyerTransactions) (*GetBuyerTransactionsResponse, error)

	GetBiddingInfo(request *GetBiddingInfo) (*GetBiddingInfoResponse, error)

	GetBiddingInfoContext(ctx context.Context, request *GetBiddingInfo) (*GetBiddingInfoResponse, error)

	GetSellerInfo(request *GetSellerInfo) (*GetSellerInfoResponse, error)

	GetSellerInfoContext(ctx context.Context, request *GetSellerInfo) (*GetSellerInfoResponse, error)

	MarkTransactionsPaid(request *MarkTransactionsPaid) (*MarkTransactionsPaidResponse, error)

	MarkTransactionsPaidContext(ctx context.Context, request *MarkTransactionsPaid) (*MarkTransactionsPaidResponse, error)

	SendQuestionToSeller(request *SendQuestionToSeller) (*SendQuestionToSellerResponse, error)

	SendQuestionToSellerContext(ctx context.Context, request *SendQuestionToSeller) (*SendQuestionToSellerResponse, error)
}

func NewBuyerServiceSoap

func NewBuyerServiceSoap(client *soap.Client) BuyerServiceSoap

type ConfigurationHeader

type ConfigurationHeader struct {
	Sandbox int32 `xml:"Sandbox,omitempty" json:"Sandbox,omitempty"`

	MaxResultAge int32 `xml:"MaxResultAge,omitempty" json:"MaxResultAge,omitempty"`
}

type ContactSellerResult

type ContactSellerResult struct {
	Status string `xml:"Status,omitempty" json:"Status,omitempty"`
}

type DetailedSellerRating

type DetailedSellerRating struct {
	ItemAsDescribedCount *int32 `xml:"ItemAsDescribedCount,omitempty" json:"ItemAsDescribedCount,omitempty"`

	ItemAsDescribedAverage *float64 `xml:"ItemAsDescribedAverage,omitempty" json:"ItemAsDescribedAverage,omitempty"`

	CommResponsivenessCount *int32 `xml:"CommResponsivenessCount,omitempty" json:"CommResponsivenessCount,omitempty"`

	CommResponsivenessAverage *float64 `xml:"CommResponsivenessAverage,omitempty" json:"CommResponsivenessAverage,omitempty"`

	ShippingTimeCount *int32 `xml:"ShippingTimeCount,omitempty" json:"ShippingTimeCount,omitempty"`

	ShippingTimeAverage *float64 `xml:"ShippingTimeAverage,omitempty" json:"ShippingTimeAverage,omitempty"`

	ShippingHandlingChargesCount *int32 `xml:"ShippingHandlingChargesCount,omitempty" json:"ShippingHandlingChargesCount,omitempty"`

	ShippingHandlingChargesAverage *float64 `xml:"ShippingHandlingChargesAverage,omitempty" json:"ShippingHandlingChargesAverage,omitempty"`
}

type GetBiddingInfo

type GetBiddingInfo struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetBiddingInfo"`

	Request *GetBiddingInfoRequest `xml:"request,omitempty" json:"request,omitempty"`
}

type GetBiddingInfoRequest

type GetBiddingInfoRequest struct {
	MinDate *soap.XSDDateTime `xml:"MinDate,omitempty" json:"MinDate,omitempty"`

	MaxDate *soap.XSDDateTime `xml:"MaxDate,omitempty" json:"MaxDate,omitempty"`

	FilterActive *ActiveFilter `xml:"FilterActive,omitempty" json:"FilterActive,omitempty"`

	IncludeHidden *bool `xml:"IncludeHidden,omitempty" json:"IncludeHidden,omitempty"`

	FilterLeading *LeadingFilter `xml:"FilterLeading,omitempty" json:"FilterLeading,omitempty"`
}

type GetBiddingInfoResponse

type GetBiddingInfoResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetBiddingInfoResponse"`

	GetBiddingInfoResult *ArrayOfAuctionBiddingInfo `xml:"GetBiddingInfoResult,omitempty" json:"GetBiddingInfoResult,omitempty"`
}

type GetBuyerTransactions

type GetBuyerTransactions struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetBuyerTransactions"`

	Request *GetBuyerTransactionsRequest `xml:"request,omitempty" json:"request,omitempty"`
}

type GetBuyerTransactionsRequest

type GetBuyerTransactionsRequest struct {
	MinTransactionDate *soap.XSDDateTime `xml:"MinTransactionDate,omitempty" json:"MinTransactionDate,omitempty"`

	MaxTransactionDate *soap.XSDDateTime `xml:"MaxTransactionDate,omitempty" json:"MaxTransactionDate,omitempty"`
}

type GetBuyerTransactionsResponse

type GetBuyerTransactionsResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetBuyerTransactionsResponse"`

	GetBuyerTransactionsResult *ArrayOfTransaction `xml:"GetBuyerTransactionsResult,omitempty" json:"GetBuyerTransactionsResult,omitempty"`
}

type GetMemorylistItems

type GetMemorylistItems struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetMemorylistItems"`

	FilterActive *ActiveFilter `xml:"filterActive,omitempty" json:"filterActive,omitempty"`

	MinEndDate *soap.XSDDateTime `xml:"minEndDate,omitempty" json:"minEndDate,omitempty"`

	MaxEndDate *soap.XSDDateTime `xml:"maxEndDate,omitempty" json:"maxEndDate,omitempty"`
}

type GetMemorylistItemsResponse

type GetMemorylistItemsResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetMemorylistItemsResponse"`

	GetMemorylistItemsResult *ArrayOfItem `xml:"GetMemorylistItemsResult,omitempty" json:"GetMemorylistItemsResult,omitempty"`
}

type GetSellerInfo

type GetSellerInfo struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetSellerInfo"`

	UserId int32 `xml:"userId,omitempty" json:"userId,omitempty"`
}

type GetSellerInfoResponse

type GetSellerInfoResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com GetSellerInfoResponse"`

	GetSellerInfoResult *SellerInfo `xml:"GetSellerInfoResult,omitempty" json:"GetSellerInfoResult,omitempty"`
}
type ImageLink struct {
	Url string `xml:"Url,omitempty" json:"Url,omitempty"`

	Format string `xml:"Format,omitempty" json:"Format,omitempty"`
}

type Item

type Item struct {
	ShippingOptions []*ItemShipping `xml:"ShippingOptions,omitempty" json:"ShippingOptions,omitempty"`

	PaymentOptions *ArrayOfInt `xml:"PaymentOptions,omitempty" json:"PaymentOptions,omitempty"`

	ImageLinks *ArrayOfString `xml:"ImageLinks,omitempty" json:"ImageLinks,omitempty"`

	Buyers []*User `xml:"Buyers,omitempty" json:"Buyers,omitempty"`

	Status *ItemStatus `xml:"Status,omitempty" json:"Status,omitempty"`

	StartQuantity int32 `xml:"StartQuantity,omitempty" json:"StartQuantity,omitempty"`

	RemainingQuantity int32 `xml:"RemainingQuantity,omitempty" json:"RemainingQuantity,omitempty"`

	ItemType *ItemType `xml:"ItemType,omitempty" json:"ItemType,omitempty"`

	DetailedImageLinks []*ImageLink `xml:"DetailedImageLinks,omitempty" json:"DetailedImageLinks,omitempty"`

	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	VAT *int32 `xml:"VAT,omitempty" json:"VAT,omitempty"`

	ShortDescription string `xml:"ShortDescription,omitempty" json:"ShortDescription,omitempty"`

	OwnReferences *ArrayOfString `xml:"OwnReferences,omitempty" json:"OwnReferences,omitempty"`

	AttributeValues *AttributeValues `xml:"AttributeValues,omitempty" json:"AttributeValues,omitempty"`

	ItemAttributes *ArrayOfInt `xml:"ItemAttributes,omitempty" json:"ItemAttributes,omitempty"`

	LongDescription string `xml:"LongDescription,omitempty" json:"LongDescription,omitempty"`

	StartDate soap.XSDDateTime `xml:"StartDate,omitempty" json:"StartDate,omitempty"`

	EndDate soap.XSDDateTime `xml:"EndDate,omitempty" json:"EndDate,omitempty"`

	CategoryId int32 `xml:"CategoryId,omitempty" json:"CategoryId,omitempty"`

	OpeningBid int32 `xml:"OpeningBid,omitempty" json:"OpeningBid,omitempty"`

	ReservePrice *int32 `xml:"ReservePrice,omitempty" json:"ReservePrice,omitempty"`

	ReservePriceReached *bool `xml:"ReservePriceReached,omitempty" json:"ReservePriceReached,omitempty"`

	BuyItNowPrice *int32 `xml:"BuyItNowPrice,omitempty" json:"BuyItNowPrice,omitempty"`

	NextBid int32 `xml:"NextBid,omitempty" json:"NextBid,omitempty"`

	PaymentCondition string `xml:"PaymentCondition,omitempty" json:"PaymentCondition,omitempty"`

	ShippingCondition string `xml:"ShippingCondition,omitempty" json:"ShippingCondition,omitempty"`

	AcceptsPickup bool `xml:"AcceptsPickup,omitempty" json:"AcceptsPickup,omitempty"`

	TotalBids int32 `xml:"TotalBids,omitempty" json:"TotalBids,omitempty"`

	MaxBid int32 `xml:"MaxBid,omitempty" json:"MaxBid,omitempty"`

	Bold bool `xml:"Bold,omitempty" json:"Bold,omitempty"`

	Thumbnail bool `xml:"Thumbnail,omitempty" json:"Thumbnail,omitempty"`

	Highlight bool `xml:"Highlight,omitempty" json:"Highlight,omitempty"`

	FeaturedItem bool `xml:"FeaturedItem,omitempty" json:"FeaturedItem,omitempty"`

	ItemLink string `xml:"ItemLink,omitempty" json:"ItemLink,omitempty"`

	ThumbnailLink string `xml:"ThumbnailLink,omitempty" json:"ThumbnailLink,omitempty"`

	AcceptedBuyerId int32 `xml:"AcceptedBuyerId,omitempty" json:"AcceptedBuyerId,omitempty"`

	Paypal bool `xml:"Paypal,omitempty" json:"Paypal,omitempty"`

	PaymentTypeId int32 `xml:"PaymentTypeId,omitempty" json:"PaymentTypeId,omitempty"`

	Seller *User `xml:"Seller,omitempty" json:"Seller,omitempty"`

	MaxBidder *User `xml:"MaxBidder,omitempty" json:"MaxBidder,omitempty"`

	UserSelectedEndDate bool `xml:"UserSelectedEndDate,omitempty" json:"UserSelectedEndDate,omitempty"`

	Restarts int32 `xml:"Restarts,omitempty" json:"Restarts,omitempty"`

	Duration int32 `xml:"Duration,omitempty" json:"Duration,omitempty"`

	ReservePriceManuallySet bool `xml:"ReservePriceManuallySet,omitempty" json:"ReservePriceManuallySet,omitempty"`
}

type ItemShipping

type ItemShipping struct {
	ShippingOptionId *int32 `xml:"ShippingOptionId,omitempty" json:"ShippingOptionId,omitempty"`

	Cost int32 `xml:"Cost,omitempty" json:"Cost,omitempty"`

	ShippingWeight *float64 `xml:"ShippingWeight,omitempty" json:"ShippingWeight,omitempty"`

	ShippingProductId *int32 `xml:"ShippingProductId,omitempty" json:"ShippingProductId,omitempty"`

	ShippingProviderId *int32 `xml:"ShippingProviderId,omitempty" json:"ShippingProviderId,omitempty"`
}

type ItemStatus

type ItemStatus struct {
	Ended bool `xml:"Ended,omitempty" json:"Ended,omitempty"`

	GotBidders bool `xml:"GotBidders,omitempty" json:"GotBidders,omitempty"`

	GotWinner bool `xml:"GotWinner,omitempty" json:"GotWinner,omitempty"`
}

type ItemType

type ItemType string
const (
	ItemTypeAuction ItemType = "Auction"

	ItemTypePureBuyItNow ItemType = "PureBuyItNow"

	ItemTypeShopItem ItemType = "ShopItem"
)

type LeadingFilter

type LeadingFilter string
const (
	LeadingFilterAll LeadingFilter = "All"

	LeadingFilterOnlyLeading LeadingFilter = "OnlyLeading"

	LeadingFilterOnlyNotLeading LeadingFilter = "OnlyNotLeading"
)

type MarkTransactionsPaid

type MarkTransactionsPaid struct {
	XMLName xml.Name `xml:"http://api.tradera.com MarkTransactionsPaid"`

	Request *ArrayOfMarkTransactionsPaidRequest `xml:"request,omitempty" json:"request,omitempty"`
}

type MarkTransactionsPaidRequest

type MarkTransactionsPaidRequest struct {
	TransactionId int32 `xml:"TransactionId,omitempty" json:"TransactionId,omitempty"`

	MarkedAsPaidValue bool `xml:"MarkedAsPaidValue,omitempty" json:"MarkedAsPaidValue,omitempty"`
}

type MarkTransactionsPaidResponse

type MarkTransactionsPaidResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com MarkTransactionsPaidResponse"`
}

type NCName

type NCName string

type NumberAttributeValue

type NumberAttributeValue struct {
	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	Name string `xml:"Name,omitempty" json:"Name,omitempty"`

	Values *ArrayOfDecimal `xml:"Values,omitempty" json:"Values,omitempty"`
}

type RemoveFromMemorylist

type RemoveFromMemorylist struct {
	XMLName xml.Name `xml:"http://api.tradera.com RemoveFromMemorylist"`

	ItemIds *ArrayOfInt `xml:"itemIds,omitempty" json:"itemIds,omitempty"`
}

type RemoveFromMemorylistResponse

type RemoveFromMemorylistResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com RemoveFromMemorylistResponse"`
}

type SellerInfo

type SellerInfo struct {
	DetailedSellerRating *DetailedSellerRating `xml:"DetailedSellerRating,omitempty" json:"DetailedSellerRating,omitempty"`

	TotalRating int32 `xml:"TotalRating,omitempty" json:"TotalRating,omitempty"`

	PositiveFeedbackPercent *int32 `xml:"PositiveFeedbackPercent,omitempty" json:"PositiveFeedbackPercent,omitempty"`

	PersonalMessage string `xml:"PersonalMessage,omitempty" json:"PersonalMessage,omitempty"`

	IsCompany bool `xml:"IsCompany,omitempty" json:"IsCompany,omitempty"`

	HasShop bool `xml:"HasShop,omitempty" json:"HasShop,omitempty"`
}

type SendQuestionToSeller

type SendQuestionToSeller struct {
	XMLName xml.Name `xml:"http://api.tradera.com SendQuestionToSeller"`

	ItemId int32 `xml:"itemId,omitempty" json:"itemId,omitempty"`

	Question string `xml:"question,omitempty" json:"question,omitempty"`

	SendCopyToSender bool `xml:"sendCopyToSender,omitempty" json:"sendCopyToSender,omitempty"`
}

type SendQuestionToSellerResponse

type SendQuestionToSellerResponse struct {
	XMLName xml.Name `xml:"http://api.tradera.com SendQuestionToSellerResponse"`

	SendQuestionToSellerResult *ContactSellerResult `xml:"SendQuestionToSellerResult,omitempty" json:"SendQuestionToSellerResult,omitempty"`
}

type StringArray

type StringArray struct {
}

type TermAttributeValue

type TermAttributeValue struct {
	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	Name string `xml:"Name,omitempty" json:"Name,omitempty"`

	Values *ArrayOfString `xml:"Values,omitempty" json:"Values,omitempty"`
}

type Transaction

type Transaction struct {
	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	Date soap.XSDDateTime `xml:"Date,omitempty" json:"Date,omitempty"`

	Amount int32 `xml:"Amount,omitempty" json:"Amount,omitempty"`

	LastUpdatedDate soap.XSDDateTime `xml:"LastUpdatedDate,omitempty" json:"LastUpdatedDate,omitempty"`

	IsMarkedAsPaidConfirmed bool `xml:"IsMarkedAsPaidConfirmed,omitempty" json:"IsMarkedAsPaidConfirmed,omitempty"`

	IsMarkedAsShipped bool `xml:"IsMarkedAsShipped,omitempty" json:"IsMarkedAsShipped,omitempty"`

	IsShippingBooked bool `xml:"IsShippingBooked,omitempty" json:"IsShippingBooked,omitempty"`

	IsFeedbackLeftBySeller bool `xml:"IsFeedbackLeftBySeller,omitempty" json:"IsFeedbackLeftBySeller,omitempty"`

	IsFeedbackLeftByBuyer bool `xml:"IsFeedbackLeftByBuyer,omitempty" json:"IsFeedbackLeftByBuyer,omitempty"`

	Buyer *User `xml:"Buyer,omitempty" json:"Buyer,omitempty"`

	Seller *User `xml:"Seller,omitempty" json:"Seller,omitempty"`

	Item *TransactionItem `xml:"Item,omitempty" json:"Item,omitempty"`

	IsMarkedAsPaid bool `xml:"IsMarkedAsPaid,omitempty" json:"IsMarkedAsPaid,omitempty"`
}

type TransactionItem

type TransactionItem struct {
	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	Type *ItemType `xml:"Type,omitempty" json:"Type,omitempty"`

	Title string `xml:"Title,omitempty" json:"Title,omitempty"`

	OwnReferences *ArrayOfString `xml:"OwnReferences,omitempty" json:"OwnReferences,omitempty"`
}

type User

type User struct {
	Id int32 `xml:"Id,omitempty" json:"Id,omitempty"`

	Alias string `xml:"Alias,omitempty" json:"Alias,omitempty"`

	FirstName string `xml:"FirstName,omitempty" json:"FirstName,omitempty"`

	LastName string `xml:"LastName,omitempty" json:"LastName,omitempty"`

	Email string `xml:"Email,omitempty" json:"Email,omitempty"`

	TotalRating int32 `xml:"TotalRating,omitempty" json:"TotalRating,omitempty"`

	PhoneNumber string `xml:"PhoneNumber,omitempty" json:"PhoneNumber,omitempty"`

	MobilePhoneNumber string `xml:"MobilePhoneNumber,omitempty" json:"MobilePhoneNumber,omitempty"`

	Address string `xml:"Address,omitempty" json:"Address,omitempty"`

	ZipCode string `xml:"ZipCode,omitempty" json:"ZipCode,omitempty"`

	City string `xml:"City,omitempty" json:"City,omitempty"`

	CountryName string `xml:"CountryName,omitempty" json:"CountryName,omitempty"`

	PersonalNumber string `xml:"PersonalNumber,omitempty" json:"PersonalNumber,omitempty"`

	TransactionId int32 `xml:"TransactionId,omitempty" json:"TransactionId,omitempty"`
}

Jump to

Keyboard shortcuts

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