instance = $instance; } /** * Initializes a new bancontact payment object Builder object. */ public static function init(): self { return new self(new BancontactPaymentObject()); } /** * Sets name field. */ public function name(?string $value): self { $this->instance->setName($value); return $this; } /** * Sets country code field. */ public function countryCode(?string $value): self { $this->instance->setCountryCode($value); return $this; } /** * Sets bic field. */ public function bic(?string $value): self { $this->instance->setBic($value); return $this; } /** * Sets iban last chars field. */ public function ibanLastChars(?string $value): self { $this->instance->setIbanLastChars($value); return $this; } /** * Sets card last digits field. */ public function cardLastDigits(?string $value): self { $this->instance->setCardLastDigits($value); return $this; } /** * Initializes a new bancontact payment object object. */ public function build(): BancontactPaymentObject { return CoreHelper::clone($this->instance); } }