Added Gift Card Endpoints Support
Summary:
- Implemented Gift Card endpoints in BinanceRestClientGeneralApiGiftCard class
Added:
- Interfaces:
- IBinanceRestClientGeneralApiGiftCard
- Models:
- BinanceGiftCardData
- BinanceGiftCardRedeemData
- BinanceGiftCardResponse
- BinanceGiftCardTokenLimit
- BinanceGiftCardValidity
The RSA encryption for gift card redemption is implemented directly within the RedeemGiftCard method rather than in a separate utility class or method. This approach was chosen because:
- This is the only place in our codebase where this specific encryption is needed (as far as I am concerned)
- It keeps the related code together in one place, improving readability
- The encryption is relatively simple and self-contained
Have a look at the warnings please
Have a look at the warnings please
Can you be a bit more specific please, I do not have any in my IDE, what should I look at?
If you look at the Files Changed here in the Github PR you'll see 2 warnings
If you look at the Files Changed here in the Github PR you'll see 2 warnings
both are fixed now