Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectionOrders ¶ added in v1.0.1
Types ¶
type Applicant ¶ added in v1.0.1
type Applicant struct { FirstName string `bson:"firstName" json:"firstName"` LastName string `bson:"lastName" json:"lastName"` DateOfBirth string `bson:"dateOfBirth" json:"dateOfBirth"` Sex string `bson:"sex" json:"sex"` Nationality string `bson:"nationality" json:"nationality"` PassportNumber string `bson:"passportNumber" json:"passportNumber"` PassportExpiry string `bson:"passportExpiry" json:"passportExpiry"` }
type Order ¶ added in v1.0.1
type Order struct { ID primitive.ObjectID `bson:"_id" json:"id"` OrderID int `bson:"orderId" json:"orderId"` Total string `bson:"total" json:"total"` OrderKey string `bson:"orderKey" json:"orderKey"` Billing Billing `bson:"billing" json:"billing"` PaymentMethodTitle string `bson:"paymentMethodTitle" json:"paymentMethodTitle"` Number string `bson:"number" json:"number"` Trip Trip `bson:"trip" json:"trip"` Applicants []Applicant `bson:"applicants" json:"applicants"` CreatedAt time.Time `bson:"createdAt" json:"createdAt"` UpdatedAt time.Time `bson:"updatedAt" json:"updatedAt"` }
type Trip ¶ added in v1.0.1
type Trip struct { ArrivalDate string `bson:"arrivalDate" json:"arrivalDate"` Checkpoint string `bson:"checkpoint" json:"checkpoint"` ProcessingTime string `bson:"processingTime" json:"processingTime"` FastTrack string `bson:"fastTrack" json:"fastTrack"` CarPickup bool `bson:"carPickup" json:"carPickup"` Flight string `bson:"flight" json:"flight"` CarPickupAddress string `bson:"carPickupAddress" json:"carPickupAddress"` }
Click to show internal directories.
Click to hide internal directories.