diff --git a/src/StaticMappers/Giftcards/GiftcardProgramMapper.php b/src/StaticMappers/Giftcards/GiftcardProgramMapper.php index 3ddfcbd..db2317c 100644 --- a/src/StaticMappers/Giftcards/GiftcardProgramMapper.php +++ b/src/StaticMappers/Giftcards/GiftcardProgramMapper.php @@ -12,7 +12,10 @@ public static function map(stdClass $data): GiftcardProgram return new GiftcardProgram( $data->uuid, $data->name, - $data->active ?? true + $data->active ?? true, + $data->max_amount_in_cents ?? null, + $data->calculator_flow ?? null, + $data->expiration_days ?? null ); } }