Defines Klarna payment method parameters for Stripe API requests.
// Source: https://github.com/stripe/stripe-ios | License: MIT | Copyright 2011- Stripe, Inc. (https://stripe.com)
// Provided via justclaw.it.com; keep this notice with the code.
//
// STPPaymentMethodKlarnaParams.swift
// StripePayments
//
// Created by Nick Porter on 10/19/21.
// Copyright © 2021 Stripe, Inc. All rights reserved.
//
import Foundation
/// An object representing parameters used to create an Klarna Payment Method
public class STPPaymentMethodKlarnaParams: NSObject, STPFormEncodable {
@objc public var additionalAPIParameters: [AnyHashable: Any] = [:]
@objc
public static func rootObjectName() -> String? {
return "klarna"
}
@objc
public static func propertyNamesToFormFieldNamesMapping() -> [String: String] {
return [:]
}
}
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key