Skip to content

Commit

Permalink
Add member based settlement delay count (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlicanAkkus committed May 16, 2024
1 parent 25d0f7f commit 138ce70
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions adapter/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -1398,6 +1398,7 @@ type CreateMemberRequest struct {
IsBuyer bool `json:"isBuyer,omitempty"`
IsSubMerchant bool `json:"isSubMerchant,omitempty"`
SubMerchantMaximumAllowedNegativeBalance float64 `json:"subMerchantMaximumAllowedNegativeBalance,omitempty"`
SettlementDelayCount int64 `json:"settlementDelayCount,omitempty"`
}

type UpdateMemberRequest struct {
Expand All @@ -1416,6 +1417,7 @@ type UpdateMemberRequest struct {
IsBuyer bool `json:"isBuyer,omitempty"`
IsSubMerchant bool `json:"isSubMerchant,omitempty"`
SubMerchantMaximumAllowedNegativeBalance float64 `json:"subMerchantMaximumAllowedNegativeBalance,omitempty"`
SettlementDelayCount int64 `json:"settlementDelayCount,omitempty"`
}

type SearchMembersRequest struct {
Expand Down Expand Up @@ -1449,6 +1451,7 @@ type MemberResponse struct {
TaxNumber *string `json:"taxNumber"`
SettlementEarningsDestination *SettlementEarningsDestination `json:"settlementEarningsDestination"`
Iban *string `json:"iban"`
SettlementDelayCount *int64 `json:"settlementDelayCount"`
}

type CreateProductRequest struct {
Expand Down

0 comments on commit 138ce70

Please sign in to comment.