// Generated by Create API
// https://github.com/CreateAPI/CreateAPI

import Foundation

/// Schema representing the proration details for plan changes.
public struct ProrationSchema: Codable, Equatable {
    public var currency: String
    public var discount: Double
    public var price: Double
    public var subtotal: Double

    public init(currency: String, discount: Double, price: Double, subtotal: Double) {
        self.currency = currency
        self.discount = discount
        self.price = price
        self.subtotal = subtotal
    }
}
