Skip to content

Commit cd3e4e9

Browse files
committed
fix: Ajuste no mapProperty para Billing
1 parent 0c4d92a commit cd3e4e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Rede/CreateTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ private static function mapPropertyToObject($property, mixed $value): mixed
3535
return match ($property) {
3636
'requestDateTime', 'dateTime', 'refundDateTime' => new DateTime($value),
3737
'brand' => Brand::create($value),
38-
'billing' => Address::create($value),
38+
'billing' => Billing::create($value),
3939
default => $value,
4040
};
4141
}

0 commit comments

Comments
 (0)