SCPSurchargeConsentBuilder

Objective-C


@interface SCPSurchargeConsentBuilder : SCPBuilder <SCPSurchargeConsent *>

Swift

class SurchargeConsentBuilder : SCPBuilder<SurchargeConsent>

The SurchargeConsentBuilder is used to create a SurchargeConsent object.

  • Set the collection property for the SurchargeConsent object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPSurchargeConsentBuilder *)setCollection:
        (SCPSurchargeConsentCollection)collection;

    Swift

    func setCollection(_ collection: SurchargeConsentCollection) -> SurchargeConsentBuilder
  • Set the notice property for the SurchargeConsent object that will be built.

    Declaration

    Objective-C

    - (nonnull SCPSurchargeConsentBuilder *)setNotice:(nonnull NSString *)notice;

    Swift

    func setNotice(_ notice: String) -> SurchargeConsentBuilder