instance = $instance; } /** * Initializes a new platform fee Builder object. */ public static function init(Money $amount): self { return new self(new PlatformFee($amount)); } /** * Sets payee field. */ public function payee(?PayeeBase $value): self { $this->instance->setPayee($value); return $this; } /** * Initializes a new platform fee object. */ public function build(): PlatformFee { return CoreHelper::clone($this->instance); } }