SCPSurchargeConfigurationBuilder
Objective-C
@interface SCPSurchargeConfigurationBuilder
: SCPBuilder <SCPSurchargeConfiguration *>
Swift
class SurchargeConfigurationBuilder : SCPBuilder<SurchargeConfiguration>
The SurchargeConfigurationBuilder is used to create a SurchargeConfiguration object.
-
Set the amount property for the
SurchargeConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPSurchargeConfigurationBuilder *)setAmount:(NSUInteger)amount;Swift
func setAmount(_ amount: UInt) -> SurchargeConfigurationBuilder -
Set the surchargeConsent property for the
SurchargeConfigurationobject that will be built.Declaration
Objective-C
- (nonnull SCPSurchargeConfigurationBuilder *)setSurchargeConsent: (nonnull SCPSurchargeConsent *)surchargeConsent;Swift
func setSurchargeConsent(_ surchargeConsent: SurchargeConsent) -> SurchargeConfigurationBuilder