Package | Description |
---|---|
com.scvngr.levelup.core.net | |
com.scvngr.levelup.core.net.request.factory | |
com.scvngr.levelup.core.service |
Modifier and Type | Class and Description |
---|---|
class |
LevelUpRequest
Class representing a request to the LevelUp web service using the API v14 and above standards.
|
Modifier and Type | Method and Description |
---|---|
LevelUpResponse |
LevelUpConnection.send(AbstractRequest request)
Performs the request.
|
static StreamingResponse |
NetworkConnection.send(Context context,
AbstractRequest request)
Send the
AbstractRequest using HTTP and create a AbstractResponse . |
Modifier and Type | Method and Description |
---|---|
AbstractRequest |
UserRequestFactory.UserInfoRequestBuilder.build()
Builds the request which updates the User's information.
|
AbstractRequest |
BeaconCheckInRequestFactory.buildBeaconCheckInRequest(String majorId,
String minorId)
Build a beacon check in request.
|
AbstractRequest |
ClaimRequestFactory.buildClaimCampaignRequest(String code)
Build a request to claim a generic campaign by its cohort code.
|
AbstractRequest |
ClaimRequestFactory.buildClaimLegacyLoyaltyRequest(int loyaltyCampaignId,
String loyaltyId)
Build a request to claim a "Legacy Loyalty" campaign.
|
AbstractRequest |
CreditCardRequestFactory.buildCreateCardRequest(String cardNumber,
String cvv,
String expirationMonth,
String expirationYear,
String postalCode)
Builds a request to the server which will add a credit card for the current user.
|
AbstractRequest |
GiftCardOrderRequestFactory.buildCreateGiftCardOrderRequest(GiftCardValueOrder giftCardValueOrder) |
AbstractRequest |
CreditCardRequestFactory.buildDeleteCardRequest(CreditCard card)
Builds a request to delete a credit card.
|
AbstractRequest |
AccessTokenRequestFactory.buildDowngradeRequest(Collection<Permission> permissions)
Build a request for a downgraded scoped access token.
|
AbstractRequest |
AccessTokenRequestFactory.buildDowngradeRequest(Permission... permissions)
Build a request for a downgraded scoped access token.
|
AbstractRequest |
AccessTokenRequestFactory.buildDowngradeRequest(String... permissionKeyNames)
Build a request for a downgraded scoped access token.
|
AbstractRequest |
UserRequestFactory.buildFacebookConnectRequest(String facebookAccessToken)
Builds a request to connect a user to Facebook.
|
AbstractRequest |
UserRequestFactory.buildFacebookDisconnectRequest()
Builds a request to disconnect a user from Facebook.
|
AbstractRequest |
AccessTokenRequestFactory.buildFacebookLoginRequest(String facebookAccessToken)
Build a request to perform a login with Facebook.
|
AbstractRequest |
UserRequestFactory.buildFacebookRegisterRequest(String facebookAccessToken)
Build a request to register a new User via a facebook access token.
|
AbstractRequest |
FeedbackRequestFactory.buildFeedbackRequest(String orderUuid,
Feedback feedback)
Builds a request for posting feedback for a given order.
|
AbstractRequest |
UserRequestFactory.buildForgotPasswordRequest(String email)
Get a request that will allow the user to reset their password.
|
AbstractRequest |
AppConstantsRequestFactory.buildGetAppConstantsRequest(String apiKey,
int id)
Build a request to retrieve the App Constants information.
|
AbstractRequest |
LocationRequestFactory.buildGetAppLocationsListRequest(long appId,
Location location)
Deprecated.
|
AbstractRequest |
CampaignRequestFactory.buildGetCampaignDetailsByRepresentationType(CampaignMetadata metadata,
CampaignRepresentationType representationType) |
AbstractRequest |
CampaignRequestFactory.buildGetCampaignIcon(long campaignWebServiceId,
CampaignRequestFactory.IconSize iconSize) |
AbstractRequest |
CampaignRequestFactory.buildGetCampaignImageRequest(Context context,
long campaignWebServiceId) |
AbstractRequest |
CampaignRequestFactory.buildGetCampaignMerchantsRequest(long campaignWebServiceId) |
AbstractRequest |
CampaignRequestFactory.buildGetCampaignRequest(int campaignId)
Build a request to get the details of a campaign.
|
AbstractRequest |
CreditCardRequestFactory.buildGetCardsRequest()
Builds a request to get the credit cards for a user.
|
AbstractRequest |
CarrierAccountsRequestFactory.buildGetCarrierAccountsRequest(long webServiceId) |
AbstractRequest |
LocationCampaignsRequestFactory.buildGetLocationCampaignsRequest(long locationWebServiceId) |
AbstractRequest |
LocationRequestFactory.buildGetLocationDetailsRequest(long locationWebServiceId) |
AbstractRequest |
LocationRequestFactory.buildGetLocationImageRequest(Context context,
long locationWebServiceId) |
AbstractRequest |
LoyaltyRequestFactory.buildGetLoyaltyForMerchantRequest(long merchantWebServiceId) |
AbstractRequest |
MerchantCampaignsRequestFactory.buildGetMerchantCampaignsRequest(long merchantWebServiceId) |
AbstractRequest |
PaymentMethodRequestFactory.buildGetPaymentMethodRequest()
Builds a request to retrieve the current user's payment method.
|
AbstractRequest |
PaymentTokenRequestFactory.buildGetPaymentTokenRequest() |
AbstractRequest |
UserRequestFactory.buildGetUserInfoRequest()
Build a request to retrieve the User information.
|
AbstractRequest |
WebLinkRequestFactory.buildGetWebLinksForLocationRequest(long locationWebServiceId) |
AbstractRequest |
InterstitialRequestFactory.buildInterstitialForOrderRequest(String orderUuid)
Build a request to get the
Interstitial for the order passed. |
AbstractRequest |
InterstitialRequestFactory.buildInterstitialImageRequest(Interstitial interstitial)
Build a request to get the image for the
Interstitial passed. |
AbstractRequest |
WebLinkTypeRequestFactory.buildLinkIconImageRequest(WebLink webLink)
Build a request to get the icon image for the
WebLink passed. |
AbstractRequest |
LocationCreditRequestFactory.buildLocationCreditRequest(Location location)
Build a request to request credit at a given location.
|
AbstractRequest |
AccessTokenRequestFactory.buildLoginRequest(String email,
String password)
Build a request to perform a login with email/password.
|
AbstractRequest |
PaymentPreferenceRequestFactory.buildPaymentOptionsSummaryRequest()
Build a request to get
PaymentOptionsSummary . |
AbstractRequest |
CarrierAccountsRequestFactory.buildPostCarrierAccountsRequest() |
AbstractRequest |
CreditCardRequestFactory.buildPromoteCardRequest(CreditCard card)
Builds a request to promote (set as default) a credit card.
|
AbstractRequest |
CarrierAccountsRequestFactory.buildPutCarrierAccountsRequest(long webServiceId,
String carrier,
String mobileDeviceNumber) |
AbstractRequest |
GcmDeviceRequestFactory.buildRegisterGcmDeviceRequest(String registrationId)
Builds a request which associates a GCM registration ID with a mobile device.
|
AbstractRequest |
UserRequestFactory.buildRegisterRequest(String firstName,
String lastName,
String email,
List<String> permissions)
Build a request to create a new user.
|
AbstractRequest |
UserRequestFactory.buildRegisterRequest(String firstName,
String lastName,
String email,
String password,
Location location)
Build a request to create a new user.
|
AbstractRequest |
RegistrationRequestFactory.buildRegistrationRequest(String email)
Build a request to get the
Registration for the email
passed. |
AbstractRequest |
PaymentPreferenceRequestFactory.buildSetPaymentPreferenceRequest(PaymentPreference paymentPreference)
Build a request to set a user's
PaymentPreference . |
AbstractRequest |
TicketRequestFactory.buildSupportRequest(String messageBody,
String category)
Build a request to submit a support request for the current user.
|
AbstractRequest |
GcmDeviceRequestFactory.buildUnregisterGcmDeviceRequest(String registrationId)
Builds a request which dissociates a GCM registration ID from the platform.
|
AbstractRequest |
CategoryRequestFactory.getCategories() |
abstract AbstractRequest |
AbstractPagingRequestFactory.getFirstPageRequest()
Subclasses must implement this to construct a new request for the first page.
|
AbstractRequest |
AppLocationListRequestFactory.getFirstPageRequest() |
AbstractRequest |
LocationListRequestFactory.getFirstPageRequest() |
AbstractRequest |
AbstractPagingRequestFactory.getNextPageRequest()
Gets the next page.
|
abstract AbstractRequest |
AbstractPagingRequestFactory.getPageRequest(Uri page)
Subclasses must implement this to construct a new request for the given next page.
|
AbstractRequest |
AppLocationListRequestFactory.getPageRequest(Uri page) |
AbstractRequest |
LocationListRequestFactory.getPageRequest(Uri page) |
AbstractRequest |
OrderRequestFactory.newGetAppOrdersRequest(int page)
Builds a request to get a list of orders for the current user.
|
AbstractRequest |
OrderRequestFactory.newGetAppOrdersRequest(long appId,
int page)
Deprecated.
|
AbstractRequest |
OrderRequestFactory.newGetOrderRequest(String orderUuid)
Builds a request to get a single order.
|
Modifier and Type | Method and Description |
---|---|
protected AbstractRequest |
AbstractNetworkRequestService.getRequest(Intent intent)
Get the request to send with this service.
|
Modifier and Type | Method and Description |
---|---|
static void |
AbstractNetworkRequestService.putExtras(Intent intent,
AbstractRequest request,
String token) |
static void |
SilentNetworkRequestService.startService(Context context,
AbstractRequest request)
Starts the
SilentNetworkRequestService with the request passed. |