Skip to content

Commit

Permalink
add settlement earnings destination field to create member request
Browse files Browse the repository at this point in the history
  • Loading branch information
tuncaserhat committed Aug 16, 2023
1 parent 8b5db10 commit 698a6a2
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions adapter/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -993,21 +993,22 @@ type RetrieveBinNumberResponse struct {
}

type CreateMemberRequest struct {
MemberExternalId string `json:"memberExternalId,omitempty"`
Name string `json:"name,omitempty"`
Address string `json:"address,omitempty"`
Email string `json:"email,omitempty"`
PhoneNumber string `json:"phoneNumber,omitempty"`
IdentityNumber string `json:"identityNumber,omitempty"`
ContactName string `json:"contactName,omitempty"`
ContactSurname string `json:"contactSurname,omitempty"`
MemberType MemberType `json:"memberType,omitempty"`
LegalCompanyTitle string `json:"legalCompanyTitle,omitempty"`
TaxOffice string `json:"taxOffice,omitempty"`
TaxNumber string `json:"taxNumber,omitempty"`
Iban string `json:"iban,omitempty"`
IsBuyer bool `json:"isBuyer,omitempty"`
IsSubMerchant bool `json:"isSubMerchant,omitempty"`
MemberExternalId string `json:"memberExternalId,omitempty"`
Name string `json:"name,omitempty"`
Address string `json:"address,omitempty"`
Email string `json:"email,omitempty"`
PhoneNumber string `json:"phoneNumber,omitempty"`
IdentityNumber string `json:"identityNumber,omitempty"`
ContactName string `json:"contactName,omitempty"`
ContactSurname string `json:"contactSurname,omitempty"`
MemberType MemberType `json:"memberType,omitempty"`
LegalCompanyTitle string `json:"legalCompanyTitle,omitempty"`
TaxOffice string `json:"taxOffice,omitempty"`
TaxNumber string `json:"taxNumber,omitempty"`
Iban string `json:"iban,omitempty"`
SettlementEarningsDestination SettlementEarningsDestination `json:"settlementEarningsDestination,omitempty"`
IsBuyer bool `json:"isBuyer,omitempty"`
IsSubMerchant bool `json:"isSubMerchant,omitempty"`
}

type UpdateMemberRequest struct {
Expand Down

0 comments on commit 698a6a2

Please sign in to comment.