protocol IPayment {
func setPaymentName()
func setAmount()
func bankID()
func virtualBankID()
func accountID()
}
class Gopay : IPayment {
func setPaymentName() {
// Implementation code
}
func setAmount(){
// Implementation code
}
func bankID(){
// Implementation code
}
func virtualBankID(){
// Implementation code
}
func accountID(){
// Implementation code
}
}
class Mandiri : IPayment {
func setPaymentName() {
// Implementation code
}
func setAmount(){
// Implementation code
}
func bankID(){
// Implementation code
}
func virtualBankID(){
// Implementation code
}
func accountID(){
// Implementation code
}
}
class BNI : IPayment {
func setPaymentName() {
// Implementation code
}
func setAmount(){
// Implementation code
}
func bankID(){
// Implementation code
}
func virtualBankID(){
// Implementation code
}
func accountID(){
// Implementation code
}
}