3declare(strict_types=1);
93 if (is_null($this->paymentInterface)) {
95 $data = $this->
raw(self::FIELD_PAYMENT_INTERFACE);
99 $this->paymentInterface = (string) $data;
113 if (is_null($this->method)) {
115 $data = $this->
raw(self::FIELD_METHOD);
116 if (is_null($data)) {
119 $this->method = (string) $data;
133 if (is_null($this->name)) {
135 $data = $this->
raw(self::FIELD_NAME);
136 if (is_null($data)) {
140 $this->name = LocalizedStringModel::of($data);
154 if (is_null($this->token)) {
156 $data = $this->
raw(self::FIELD_TOKEN);
157 if (is_null($data)) {
161 $this->token = PaymentMethodTokenModel::of($data);
175 if (is_null($this->interfaceAccount)) {
177 $data = $this->
raw(self::FIELD_INTERFACE_ACCOUNT);
178 if (is_null($data)) {
181 $this->interfaceAccount = (string) $data;
195 if (is_null($this->custom)) {
197 $data = $this->
raw(self::FIELD_CUSTOM);
198 if (is_null($data)) {
202 $this->custom = CustomFieldsModel::of($data);