// Template for PaddleConfig.swift
//
// Copy this file to PaddleConfig.swift and fill in the credentials.
// The real PaddleConfig.swift is gitignored — DO NOT commit it.

import Foundation

struct PaddleSDKConfiguration {
    let vendorID: String
    let apiKey: String
    let productID: String
    let productName: String
    let vendorName: String

    var isConfigured: Bool {
        !vendorID.isEmpty && !apiKey.isEmpty && !productID.isEmpty
    }

    static func current() -> PaddleSDKConfiguration {
        return PaddleSDKConfiguration(
            vendorID: "<VENDOR_ID>",     // MacPlus shared vendor id (e.g. "10020")
            apiKey: "<API_KEY>",         // MacPlus shared api key
            productID: "<PRODUCT_ID>",   // per-app, from Paddle vendor dashboard
            productName: "<App Name>",   // shown inside Paddle dialogs
            vendorName: "MacPlus Software"
        )
    }
}
