ch something
This commit is contained in:
1 parent
3b33e25703
commit
60787c8149
8 files changed
+383
-23
No files matched your search
@@ -107,24 +107,31 @@ type UpdateVisaMasterPaymentOrderDTO struct {
|
||||
}
|
||||
|
||||
type ListFilter struct {
|
||||
Name string
|
||||
Status *string
|
||||
BranchId *int64
|
||||
BranchIds []int64
|
||||
UserId *int64
|
||||
Region string
|
||||
Page int
|
||||
Limit int
|
||||
Name string
|
||||
// Type narrows to one order type; ExcludeType drops one (the Visa/Master
|
||||
// page hides sber, which has its own page).
|
||||
Type string
|
||||
ExcludeType string
|
||||
Status *string
|
||||
BranchId *int64
|
||||
BranchIds []int64
|
||||
UserId *int64
|
||||
Region string
|
||||
Page int
|
||||
Limit int
|
||||
}
|
||||
|
||||
// VisaMasterPaymentOrderListItemDTO is the list row (visa/master and sber);
|
||||
// sender, receiver, documents and amounts come from GET /visa-master-payment-orders/:id.
|
||||
type VisaMasterPaymentOrderListItemDTO struct {
|
||||
Id int64 `json:"id"`
|
||||
Type *string `json:"type"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
Region string `json:"region"`
|
||||
Branch *shared.NamedInfo `json:"branch,omitempty"`
|
||||
Id int64 `json:"id"`
|
||||
UniqueId *string `json:"uniqueId"`
|
||||
Type *string `json:"type"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
Region string `json:"region"`
|
||||
// RegionName is the welaýat of the branch's province (Mary, Lebap, ...).
|
||||
RegionName shared.LocalizedText `json:"regionName"`
|
||||
Branch *shared.NamedInfo `json:"branch,omitempty"`
|
||||
// ProvinceName is the branch's province (etrap).
|
||||
ProvinceName shared.LocalizedText `json:"provinceName"`
|
||||
PassportName string `json:"passportName"`
|
||||
@@ -132,6 +139,9 @@ type VisaMasterPaymentOrderListItemDTO struct {
|
||||
Phone string `json:"phone"`
|
||||
Status *string `json:"status"`
|
||||
Paid bool `json:"paid"`
|
||||
// PaidThisMonth: a successful payment exists for the current month's
|
||||
// payment period (Ashgabat time).
|
||||
PaidThisMonth bool `json:"paidThisMonth"`
|
||||
}
|
||||
|
||||
type ListVisaMasterPaymentOrderDTO struct {
|
||||
|
||||
Reference in new issue
Block a user