The FMPDSS.Builder class is a builder for the FMPDSS class.
class Builder
Method | Description |
password(_:) |
Save DSS user password to variable. func password(_ password: String) -> Builder Parameters:
|
certificate(_:) | Save DSS certificate to variable. func certificate(_ certificate: FMPDSS.Certificate?) -> Builder Parameters:
|
build() | Build an instance of the FMPDSS class. It returns the object of the FMPDSS type. func build() -> FMPDSS |
Build an instance of the FMPDSS class:
// Build an instance of the FMPDSS.Certificate class. For details see examples for FMPDSS.Certificate.Builder.
let certificate: FMPDSS.Certificate = fmp.certificate
// Build an instance of the FMPDSS class with various settings
let dss: FMPDSS = fmp.dss
.password("password") // By default ""
.certificate(certificate) // By default nil
.build()
See also: