Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- final ProductBody body = new ProductBody();
- if (mActiveProduct != null) {
- body.setProductId(mActiveProduct.getId());
- if (mCurrentOffer != null) {
- body.setOfferCode(mCurrentOffer.getCode());
- if (mCurrentOffer == mSmsOffer) {
- body.setOpCodes(mCurrentOffer.getCode());
- }
- }
- } else if (mBlockedProduct != null) {
- body.setProductId(mBlockedProduct.getId());
- }
- ((MainActivity) getContext()).apiCallPostProduct(body);
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement