SCPRefundConfigurationBuilder

Objective-C


@interface SCPRefundConfigurationBuilder : SCPBuilder <SCPRefundConfiguration *>

Swift

class RefundConfigurationBuilder : SCPBuilder<RefundConfiguration>

The RefundConfigurationBuilder is used to create a RefundConfiguration object.

  • Set the enableCustomerCancellation property for the RefundConfiguration object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPRefundConfigurationBuilder *)setEnableCustomerCancellation:
        (BOOL)enableCustomerCancellation;

    Swift

    func setEnableCustomerCancellation(_ enableCustomerCancellation: Bool) -> RefundConfigurationBuilder