You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

47 lines
1.2 KiB

//
// SaveRecipientModel.swift
// GME Remit
//
// Created by InKwon James Kim on 22/08/2019.
// Copyright © 2019 Gobal Money Express Co. Ltd. All rights reserved.
//
struct ValidateAccountRequest {
let firstName: String
let lastName: String
let accountNumber: String
let accountType: String
let amount: String
let processID: String
let payoutPartner: String
var country: CountryAndServiceModel?
var paymentMethod: PaymentServiceType?
var bank: SendMoneyBank?
// let idType: ReceiverIdType
init(
firstName: String,
lastName: String,
accountType: String,
accountNumber: String,
amount: String = "10000.0",
processID: String = "",
payoutPartner: String,
country: CountryAndServiceModel?,
paymentMethod: PaymentServiceType?,
bank: SendMoneyBank?
// idType: ReceiverIdType
) {
self.firstName = firstName
self.lastName = lastName
// self.idType = idType
self.accountType = accountType
self.accountNumber = accountNumber
self.country = country
self.paymentMethod = paymentMethod
self.bank = bank
self.amount = amount
self.processID = processID
self.payoutPartner = payoutPartner
}
}