Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Sources/ProcessOut/ProcessOut.docc/ProcessOut.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ All errors that could happen as a result of interaction with the SDK are represe
- ``PONativeAlternativePaymentMethodTransactionDetailsRequest``
- ``PONativeAlternativePaymentMethodParameterValues``
- ``PONativeAlternativePaymentMethodState``
<!--- ``PODynamicCheckoutPaymentMethod``-->
- ``PODynamicCheckoutPaymentMethod``

### Appearance

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated using Sourcery 2.2.4 — https://github.com/krzysztofzablocki/Sourcery
// Generated using Sourcery 2.2.5 — https://github.com/krzysztofzablocki/Sourcery
// DO NOT EDIT

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import UIKit
import PassKit

/// Dynamic checkout payment method description.
@_spi(PO)
public enum PODynamicCheckoutPaymentMethod {

// MARK: - Apple Pay
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ public struct POInvoice: Decodable {
public let returnUrl: URL?

/// Dynamic checkout details resolved for specific invoice.
@_spi(PO)
public let paymentMethods: [PODynamicCheckoutPaymentMethod]?
}
23 changes: 11 additions & 12 deletions Sources/ProcessOutUI/ProcessOutUI.docc/ProcessOutUI.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,17 @@
- ``PONativeAlternativePaymentDelegate``
- ``PONativeAlternativePaymentEvent``

<!--### Dynamic Checkout-->
<!---->
<!--- ``PODynamicCheckoutView``-->
<!--- ``PODynamicCheckoutViewController``-->
<!--- ``PODynamicCheckoutStyle``-->
<!--- ``SwiftUI/View/dynamicCheckoutStyle(_:)``-->
<!--- ``PODynamicCheckoutConfiguration``-->
<!--- ``PODynamicCheckoutCardConfiguration``-->
<!--- ``PODynamicCheckoutCardBillingAddressConfiguration``-->
<!--- ``PODynamicCheckoutAlternativePaymentConfiguration``-->
<!--- ``PODynamicCheckoutDelegate``-->
<!--- ``PODynamicCheckoutEvent``-->
### Dynamic Checkout

- ``PODynamicCheckoutView``
- ``PODynamicCheckoutViewController``
- ``PODynamicCheckoutStyle``
- ``SwiftUI/View/dynamicCheckoutStyle(_:)``
- ``PODynamicCheckoutConfiguration``
- ``PODynamicCheckoutCardConfiguration``
- ``PODynamicCheckoutAlternativePaymentConfiguration``
- ``PODynamicCheckoutDelegate``
- ``PODynamicCheckoutEvent``

### Web Authentication

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import Foundation

/// Alternative payment specific dynamic checkout configuration.
@_spi(PO)
public struct PODynamicCheckoutAlternativePaymentConfiguration {

public struct PaymentConfirmation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import ProcessOut

/// Card specific dynamic checkout configuration.
@_spi(PO)
public struct PODynamicCheckoutCardConfiguration {

/// Billing address collection configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import PassKit

/// Dynamic checkout configuration.
@_spi(PO)
public struct PODynamicCheckoutConfiguration {

public struct PaymentSuccess {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import PassKit
import ProcessOut

/// Dynamic checkout module delegate.
@_spi(PO)
public protocol PODynamicCheckoutDelegate: AnyObject {

/// Invoked when module emits dynamic checkout event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import ProcessOut

/// Events emitted by dynamic checkout module during its lifecycle.
@_spi(PO)
public enum PODynamicCheckoutEvent {

/// Initial event that is sent prior any other event.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import SwiftUI
/// For more information about styling specific components, see
/// [the dedicated documentation.](https://swiftpackageindex.com/processout/processout-ios/documentation/processoutcoreui)
@available(iOS 14, *)
@_spi(PO)
public struct PODynamicCheckoutStyle {

public struct RegularPaymentMethod {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ import SwiftUI

extension View {

/// Sets the style for card tokenization views within this view.
/// Sets the style for dynamic checkout views within this view.
@available(iOS 14, *)
@_spi(PO)
public func dynamicCheckoutStyle(_ style: PODynamicCheckoutStyle) -> some View {
environment(\.dynamicCheckoutStyle, style)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import SwiftUI

/// Dynamic checkout root view.
@available(iOS 14, *)
@_spi(PO)
public struct PODynamicCheckoutView: View {

init(viewModel: @autoclosure @escaping () -> some ViewModel<DynamicCheckoutViewModelState>) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import ProcessOut

/// View controller hosting `PODynamicCheckoutView`.
@available(iOS 14, *)
@_spi(PO)
public final class PODynamicCheckoutViewController: UIHostingController<AnyView> {

/// Creates dynamic checkout view controller.
Expand Down