SCPConfirmConfigurationBuilder

Objective-C


@interface SCPConfirmConfigurationBuilder
    : SCPBuilder <SCPConfirmConfiguration *>

Swift

class ConfirmConfigurationBuilder : SCPBuilder<ConfirmConfiguration>

The ConfirmConfigurationBuilder is used to create a ConfirmConfiguration object.

  • Set the amountSurcharge property for the ConfirmConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPConfirmConfigurationBuilder *)setAmountSurcharge:
        (NSUInteger)amountSurcharge;

    Swift

    func setAmountSurcharge(_ amountSurcharge: UInt) -> ConfirmConfigurationBuilder
  • Set the returnUrl property for the ConfirmConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPConfirmConfigurationBuilder *)setReturnUrl:
        (nonnull NSString *)returnUrl;

    Swift

    func setReturnUrl(_ returnUrl: String) -> ConfirmConfigurationBuilder