---
# System prepended metadata

title: Untitled

---


```swift
class PaymentButton {
    init(fundingSource: color: edge: size:)
}

enum PaymentButtonColor: Int {
    case gold = 0
    case 
    
    var color {
        case gold:
            return UIColor()
    }
}

class PaymentButton {
    enum DefaultColor: Int {
        case gold = 1
        case white = 2
        case black 
        case blue
    }
    
    class Credit: PaymentButton {
        enum Color {
            case white = 2
            case black
            case darkBlue
        }
        
        init(color: edge: size: )
    }
    
    class BNPL {    
        init(color: edge: size: )
    }
    
    class PayPal {
        init(color: PaymentButton.DefaultColor, edge: size: )
    }
    
    
}
```

let button 

incorrect match between color and funding source 