Der-Henning / tgtg

Scanner for Too Good To Go Notifications
https://github.com/Der-Henning/tgtg/wiki
GNU General Public License v3.0
370 stars 61 forks source link

Possible to add reserve function(not payment) #171

Open swiezaczek opened 1 year ago

swiezaczek commented 1 year ago

I wonder if its possible to add "automatic reserve and send link to payment page" function?

p3t3r commented 1 year ago

That would be awesome, still missing out a lot of times now.

Not sure it is possible because of the steps you need to take in the app.

Der-Henning commented 1 year ago

This could be possible but I don't have the time for the research at the moment. I guess the problem is that you have to pay directly after the reservation and there is no link to the payment page.

If you find any information regarding the API and the payment process feel free to post it here or try an implementation yourself and contribute to the project.

p3t3r commented 1 year ago

Reservation would be enough, because you have claimed the box. Then you would need a method to cancel this reservation, after that you could claim it in the app (when everbody else has given up trying to get the box)

swiezaczek commented 1 year ago

Here was some work done towards auto reserve: maxux .

Another nice function would be mac address change and adapter restart to change ip after error 403 received. This way we could scrap with interval as low as 1sec. Now I use TMAC on Windows manually for this, but I believe its possible to script it to launch tmac automatically after 403 received.

Another useful, but least useful enhancement would be to add foodsi api (polish TGTG alternative, like here kacpi2442/ambot

P.S. I need to find time to learn Python and start coding myself instead of asking people, but day is so short and I haveso many things on my head

---edit: I now heave raspberry pi.

It would be better to implement this into the scrapper to make it change mac when 403 error detected, but I don't know how

import subprocess as sp
import optparse as op
import random
import re

def rand_mac():
    mac = [ 0x00, 0x16, 0x3e,
    random.randint(0x00, 0x7f),
    random.randint(0x00, 0xff),
    random.randint(0x00, 0xff) ]
    return ':'.join(map(lambda x: "%02x" % x, mac))

def change_mac(interface, new_mac):
    mac = get_output(interface)
    if mac:
        sp.call(['sudo', 'ifconfig', interface, 'down'])
        sp.call(['sudo', 'ifconfig', interface, 'hw', 'ether', new_mac])
        sp.call(['sudo', 'ifconfig', interface, 'up'])
        mac = get_output(interface).decode()
        print("Your new MAC address is " +mac)
    else:
        exit()

def get_args():
    parser = op.OptionParser()
    parser.add_option('-i', '--interface', dest='interface', help="[Interface to change its MAC address. ]")
    parser.add_option('-m', '--mac', dest='new_mac', help="[New MAC address you want to assign.  ]")
    option,arguments = parser.parse_args()
    if not option.interface:
        parser.error("[-] Please specify an interface, use --help for more information.")
        exit()
    if not option.new_mac:
        change_mac(option.interface,rand_mac())
        exit()
    else:
        return parser.parse_args()

def get_output(interface):
    return sp.check_output('cat /sys/class/net/'+interface+'/address', shell=True)

option,argument = get_args()
change_mac(option.interface, option.new_mac)
Der-Henning commented 1 year ago

Is the new mac address actually resolving the ban? I will test it and if it works integrate an optional mac changer.

swiezaczek commented 1 year ago

@Der-Henning Yes, it does.

Der-Henning commented 1 year ago

Small update: I tried to add an item to the basket for automated reservation with the endpoint @POST("api/item/v7/{itemId}/basket") but received an 404 not found error. The endpoint is mentioned here and here but doesn't seem to exist.

swiezaczek commented 1 year ago

I think (but I am unsure) this is the correct endpoint for making reservation:

api/order/v6/create/{itemId}

all endpoints from TGTG 22.10.1 :


package p265l7;

import com.app.tgtg.model.remote.AbortOrderResponse;
import com.app.tgtg.model.remote.AppSettings;
import com.app.tgtg.model.remote.CancelOrderResponse;
import com.app.tgtg.model.remote.EnvironmentListResult;
import com.app.tgtg.model.remote.OrderListMonthlyResult;
import com.app.tgtg.model.remote.OrderListResult;
import com.app.tgtg.model.remote.PushToken;
import com.app.tgtg.model.remote.RedeemResponse;
import com.app.tgtg.model.remote.RefreshToken;
import com.app.tgtg.model.remote.RefreshTokenResult;
import com.app.tgtg.model.remote.StoreLocationListResult;
import com.app.tgtg.model.remote.UserData;
import com.app.tgtg.model.remote.UserItemPreferences;
import com.app.tgtg.model.remote.UserSettings;
import com.app.tgtg.model.remote.discover.request.DiscoverAllBucketsRequest;
import com.app.tgtg.model.remote.discover.request.DiscoverSingleBucketRequest;
import com.app.tgtg.model.remote.discover.response.DiscoverAllBucketsResponse;
import com.app.tgtg.model.remote.discover.response.DiscoverSingleBucketResponse;
import com.app.tgtg.model.remote.feedback.request.UserFeedbackRequest;
import com.app.tgtg.model.remote.hiddenstores.request.RemoveHiddenStoreRequest;
import com.app.tgtg.model.remote.hiddenstores.request.UnlockHiddenStoreRequest;
import com.app.tgtg.model.remote.hiddenstores.response.RemoveHiddenStoreResponse;
import com.app.tgtg.model.remote.hiddenstores.response.UnlockHiddenStoreResponse;
import com.app.tgtg.model.remote.item.StoreInformation;
import com.app.tgtg.model.remote.item.requests.BulkFavoriteRequest;
import com.app.tgtg.model.remote.item.requests.ConsentScreenEventRequest;
import com.app.tgtg.model.remote.item.requests.FavouritePromptItemsRequest;
import com.app.tgtg.model.remote.item.requests.GetPriceCalculationsRequest;
import com.app.tgtg.model.remote.item.requests.ItemRequest;
import com.app.tgtg.model.remote.item.requests.ListItemRequest;
import com.app.tgtg.model.remote.item.requests.SetFavoriteRequest;
import com.app.tgtg.model.remote.item.requests.TrackingEventsRequest;
import com.app.tgtg.model.remote.item.response.FavouritePromptItemsResponse;
import com.app.tgtg.model.remote.item.response.Item;
import com.app.tgtg.model.remote.item.response.ListItemResponse;
import com.app.tgtg.model.remote.manufacturer.request.ManufacturerConsentRequest;
import com.app.tgtg.model.remote.manufacturer.request.ManufacturerItemsRequest;
import com.app.tgtg.model.remote.manufacturer.response.ManufacturerItemsResponse;
import com.app.tgtg.model.remote.mapService.GeoLocation;
import com.app.tgtg.model.remote.mapService.request.LocationRequest;
import com.app.tgtg.model.remote.mapService.response.ReverseLookupResponse;
import com.app.tgtg.model.remote.mapService.response.SearchLocationResponse;
import com.app.tgtg.model.remote.order.AdditionalAuthRequest;
import com.app.tgtg.model.remote.order.OrderInfo;
import com.app.tgtg.model.remote.order.OrderRatingItem;
import com.app.tgtg.model.remote.order.OrderResult;
import com.app.tgtg.model.remote.order.request.CancelOrderRequest;
import com.app.tgtg.model.remote.order.request.CreateOrderRequest;
import com.app.tgtg.model.remote.order.request.CreatePaymentRequest;
import com.app.tgtg.model.remote.order.request.ListActiveOrdersRequest;
import com.app.tgtg.model.remote.order.request.ListOrdersRequest;
import com.app.tgtg.model.remote.order.request.OrderConfirmedEmailRequest;
import com.app.tgtg.model.remote.order.request.WouldBuyAgainRequest;
import com.app.tgtg.model.remote.order.response.CreateOrderResponse;
import com.app.tgtg.model.remote.order.response.PaymentResponse;
import com.app.tgtg.model.remote.payment.PriceCalculation;
import com.app.tgtg.model.remote.payment.request.DeleteCardRequest;
import com.app.tgtg.model.remote.payment.request.PaymentMethodsRequest;
import com.app.tgtg.model.remote.payment.response.BiometricsResponse;
import com.app.tgtg.model.remote.payment.response.DeleteCardResponse;
import com.app.tgtg.model.remote.payment.response.PaymentMethodsResponse;
import com.app.tgtg.model.remote.privacy.DeleteUserRequest;
import com.app.tgtg.model.remote.privacy.ExportUserRequest;
import com.app.tgtg.model.remote.store.requests.StoreRequest;
import com.app.tgtg.model.remote.support.request.BusinessSupportRequest;
import com.app.tgtg.model.remote.support.request.ConsumerSupportRequest;
import com.app.tgtg.model.remote.support.response.ConsumerRefundChoiceRequest;
import com.app.tgtg.model.remote.support.response.ConsumerSupportResponse;
import com.app.tgtg.model.remote.support.response.SupportPictureUploadResponse;
import com.app.tgtg.model.remote.user.requests.AuthByRequestPinRequest;
import com.app.tgtg.model.remote.user.requests.AuthByRequestPollingIdRequest;
import com.app.tgtg.model.remote.user.requests.AuthByRequestTokenRequest;
import com.app.tgtg.model.remote.user.requests.DirectWebToAppLoginRequest;
import com.app.tgtg.model.remote.user.requests.EmailAuthenticateRequest;
import com.app.tgtg.model.remote.user.requests.EmailChangeRequest;
import com.app.tgtg.model.remote.user.requests.LoginByThirdPartyRequest;
import com.app.tgtg.model.remote.user.requests.ResendWelcomeEmailRequest;
import com.app.tgtg.model.remote.user.requests.SelfOnboardRequest;
import com.app.tgtg.model.remote.user.requests.SignUpByEmailRequest;
import com.app.tgtg.model.remote.user.requests.SignUpByThirdPartyRequest;
import com.app.tgtg.model.remote.user.requests.UserAddress;
import com.app.tgtg.model.remote.user.response.Co2eSavedResponse;
import com.app.tgtg.model.remote.user.response.EmailAuthenticateResponse;
import com.app.tgtg.model.remote.user.response.EmailSignupResponse;
import com.app.tgtg.model.remote.user.response.EmailStatusResponse;
import com.app.tgtg.model.remote.user.response.Impact;
import com.app.tgtg.model.remote.user.response.LoginResponse;
import com.app.tgtg.model.remote.user.response.MoneySavedResponse;
import com.app.tgtg.model.remote.voucher.request.AddVoucherRequest;
import com.app.tgtg.model.remote.voucher.request.VoucherDetailRequest;
import com.app.tgtg.model.remote.voucher.request.VoucherFilterRequest;
import com.app.tgtg.model.remote.voucher.request.VoucherListRequest;
import com.app.tgtg.model.remote.voucher.response.AddVoucherResponse;
import com.app.tgtg.model.remote.voucher.response.VoucherDetails;
import com.app.tgtg.model.remote.voucher.response.VoucherFilterResponse;
import com.app.tgtg.model.remote.voucher.response.VoucherList;
import com.appboy.Constants;
import com.google.firebase.messaging.FirebaseMessagingService;
import fk.Unit;
import java.util.List;
import kotlin.Metadata;
import p215ik.Continuation;
import p350pj.Maybe;
import p487wn.C7510y;
import p559zn.Body;
import p559zn.GET;
import p559zn.InterfaceC8249k;
import p559zn.Multipart;
import p559zn.POST;
import p559zn.Part;
import p559zn.Path;
import tl.AbstractC6763c0;
import tl.MultipartBody;

@Metadata(m6129bv = {}, m6128d1 = {"\u0000¸\u0005\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0010 \n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0004\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\bf\u0018\u00002\u00020\u0001J\u0013\u0010\u0003\u001a\u00020\u0002H§@ø\u0001\u0000¢\u0006\u0004\b\u0003\u0010\u0004J\u0013\u0010\u0006\u001a\u00020\u0005H§@ø\u0001\u0000¢\u0006\u0004\b\u0006\u0010\u0004J#\u0010\u000b\u001a\b\u0012\u0004\u0012\u00020\n0\t2\b\b\u0001\u0010\b\u001a\u00020\u0007H§@ø\u0001\u0000¢\u0006\u0004\b\u000b\u0010\fJ\u0013\u0010\u000e\u001a\u00020\rH§@ø\u0001\u0000¢\u0006\u0004\b\u000e\u0010\u0004J\u001d\u0010\u0012\u001a\u00020\u00112\b\b\u0001\u0010\u0010\u001a\u00020\u000fH§@ø\u0001\u0000¢\u0006\u0004\b\u0012\u0010\u0013J%\u0010\u0016\u001a\n\u0012\u0006\u0012\u0004\u0018\u00010\u00150\t2\b\b\u0001\u0010\u0010\u001a\u00020\u0014H§@ø\u0001\u0000¢\u0006\u0004\b\u0016\u0010\u0017J\u001d\u0010\u0019\u001a\u00020\u00152\b\b\u0001\u0010\u0010\u001a\u00020\u0018H§@ø\u0001\u0000¢\u0006\u0004\b\u0019\u0010\u001aJ\u001d\u0010\u001c\u001a\u00020\u00152\b\b\u0001\u0010\u0010\u001a\u00020\u001bH§@ø\u0001\u0000¢\u0006\u0004\b\u001c\u0010\u001dJ\u001d\u0010\u001f\u001a\u00020\u00152\b\b\u0001\u0010\u0010\u001a\u00020\u001eH§@ø\u0001\u0000¢\u0006\u0004\b\u001f\u0010 J\u001d\u0010\"\u001a\u00020\u00152\b\b\u0001\u0010\u0010\u001a\u00020!H§@ø\u0001\u0000¢\u0006\u0004\b\"\u0010#J\u001d\u0010&\u001a\u00020%2\b\b\u0001\u0010\u0010\u001a\u00020$H§@ø\u0001\u0000¢\u0006\u0004\b&\u0010'J\u001d\u0010*\u001a\u00020\u00152\b\b\u0001\u0010)\u001a\u00020(H§@ø\u0001\u0000¢\u0006\u0004\b*\u0010+J\u0013\u0010-\u001a\u00020,H§@ø\u0001\u0000¢\u0006\u0004\b-\u0010\u0004J)\u00102\u001a\u0002012\n\b\u0001\u0010/\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010\u0010\u001a\u000200H§@ø\u0001\u0000¢\u0006\u0004\b2\u00103J\u001d\u00104\u001a\u00020\r2\b\b\u0001\u0010\u0010\u001a\u00020\rH§@ø\u0001\u0000¢\u0006\u0004\b4\u00105J\u001d\u00107\u001a\u00020\n2\b\b\u0001\u0010\u0010\u001a\u000206H§@ø\u0001\u0000¢\u0006\u0004\b7\u00108J\u001f\u0010;\u001a\u00020:2\n\b\u0001\u00109\u001a\u0004\u0018\u00010.H§@ø\u0001\u0000¢\u0006\u0004\b;\u0010<J)\u0010=\u001a\u00020:2\n\b\u0001\u00109\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010\u0010\u001a\u00020:H§@ø\u0001\u0000¢\u0006\u0004\b=\u0010>J)\u0010A\u001a\u00020\n2\n\b\u0001\u0010?\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010\u0010\u001a\u00020@H§@ø\u0001\u0000¢\u0006\u0004\bA\u0010BJ)\u0010D\u001a\u00020\n2\n\b\u0001\u00109\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010\u0010\u001a\u00020CH§@ø\u0001\u0000¢\u0006\u0004\bD\u0010EJ)\u0010G\u001a\u00020\n2\n\b\u0001\u00109\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010\u0010\u001a\u00020FH§@ø\u0001\u0000¢\u0006\u0004\bG\u0010HJ\u001d\u0010K\u001a\u00020J2\b\b\u0001\u0010\u0010\u001a\u00020IH§@ø\u0001\u0000¢\u0006\u0004\bK\u0010LJ\u001d\u0010O\u001a\u00020N2\b\b\u0001\u0010\u0010\u001a\u00020MH§@ø\u0001\u0000¢\u0006\u0004\bO\u0010PJ\u001d\u0010S\u001a\u00020R2\b\b\u0001\u0010\u0010\u001a\u00020QH§@ø\u0001\u0000¢\u0006\u0004\bS\u0010TJ\u001d\u0010W\u001a\u00020V2\b\b\u0001\u0010\u0010\u001a\u00020UH§@ø\u0001\u0000¢\u0006\u0004\bW\u0010XJ\u001e\u0010]\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\\0\t0[2\b\b\u0001\u0010Z\u001a\u00020YH'J#\u0010^\u001a\b\u0012\u0004\u0012\u00020\\0\t2\b\b\u0001\u0010Z\u001a\u00020YH§@ø\u0001\u0000¢\u0006\u0004\b^\u0010_J\u001d\u0010c\u001a\u00020b2\b\b\u0001\u0010a\u001a\u00020`H§@ø\u0001\u0000¢\u0006\u0004\bc\u0010dJ\u001d\u0010g\u001a\u00020f2\b\b\u0001\u0010a\u001a\u00020eH§@ø\u0001\u0000¢\u0006\u0004\bg\u0010hJ)\u0010l\u001a\u00020k2\n\b\u0001\u0010i\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010a\u001a\u00020jH§@ø\u0001\u0000¢\u0006\u0004\bl\u0010mJ)\u0010p\u001a\u00020o2\n\b\u0001\u0010i\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010a\u001a\u00020nH§@ø\u0001\u0000¢\u0006\u0004\bp\u0010qJ+\u0010s\u001a\u0004\u0018\u00010\n2\n\b\u0001\u0010/\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010\u0010\u001a\u00020rH§@ø\u0001\u0000¢\u0006\u0004\bs\u0010tJ\u001f\u0010v\u001a\u0004\u0018\u00010\n2\b\b\u0001\u0010\u0010\u001a\u00020uH§@ø\u0001\u0000¢\u0006\u0004\bv\u0010wJ\u001d\u0010z\u001a\u00020y2\b\b\u0001\u0010a\u001a\u00020xH§@ø\u0001\u0000¢\u0006\u0004\bz\u0010{J)\u0010~\u001a\u00020}2\n\b\u0001\u0010/\u001a\u0004\u0018\u00010.2\b\b\u0001\u0010a\u001a\u00020|H§@ø\u0001\u0000¢\u0006\u0004\b~\u0010\u007fJ;\u0010\u0083\u0001\u001a\u0010\u0012\f\u0012\n\u0012\u0005\u0012\u00030\u0082\u00010\u0081\u00010\t2\n\b\u0001\u0010/\u001a\u0004\u0018\u00010.2\t\b\u0001\u0010a\u001a\u00030\u0080\u0001H§@ø\u0001\u0000¢\u0006\u0006\b\u0083\u0001\u0010\u0084\u0001J/\u0010\u0088\u0001\u001a\u00030\u0087\u00012\u000b\b\u0001\u0010\u0085\u0001\u001a\u0004\u0018\u00010.2\t\b\u0001\u0010a\u001a\u00030\u0086\u0001H§@ø\u0001\u0000¢\u0006\u0006\b\u0088\u0001\u0010\u0089\u0001J\u001c\u0010\u008d\u0001\u001a\t\u0012\u0005\u0012\u00030\u008c\u00010[2\n\b\u0001\u0010\u008b\u0001\u001a\u00030\u008a\u0001H'J\u0016\u0010\u008f\u0001\u001a\u00030\u008e\u0001H§@ø\u0001\u0000¢\u0006\u0005\b\u008f\u0001\u0010\u0004J#\u0010\u0093\u0001\u001a\u00030\u0092\u00012\n\b\u0001\u0010\u0091\u0001\u001a\u00030\u0090\u0001H§@ø\u0001\u0000¢\u0006\u0006\b\u0093\u0001\u0010\u0094\u0001J$\u0010\u0097\u0001\u001a\u0005\u0018\u00010\u0096\u00012\t\b\u0001\u0010a\u001a\u00030\u0095\u0001H§@ø\u0001\u0000¢\u0006\u0006\b\u0097\u0001\u0010\u0098\u0001J#\u0010\u009a\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010a\u001a\u00030\u0099\u0001H§@ø\u0001\u0000¢\u0006\u0006\b\u009a\u0001\u0010\u009b\u0001J#\u0010\u009d\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010a\u001a\u00030\u009c\u0001H§@ø\u0001\u0000¢\u0006\u0006\b\u009d\u0001\u0010\u009e\u0001J.\u0010¢\u0001\u001a\u0005\u0018\u00010¡\u00012\u0013\b\u0001\u0010 \u0001\u001a\f\u0012\u0005\u0012\u00030\u009f\u0001\u0018\u00010\u0081\u0001H§@ø\u0001\u0000¢\u0006\u0006\b¢\u0001\u0010£\u0001J\u001b\u0010¦\u0001\u001a\t\u0012\u0005\u0012\u00030¥\u00010[2\t\b\u0001\u0010a\u001a\u00030¤\u0001H'J$\u0010©\u0001\u001a\u0005\u0018\u00010¨\u00012\t\b\u0001\u0010a\u001a\u00030§\u0001H§@ø\u0001\u0000¢\u0006\u0006\b©\u0001\u0010ª\u0001J#\u0010¬\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010a\u001a\u00030«\u0001H§@ø\u0001\u0000¢\u0006\u0006\b¬\u0001\u0010\u00ad\u0001J#\u0010¯\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010a\u001a\u00030®\u0001H§@ø\u0001\u0000¢\u0006\u0006\b¯\u0001\u0010°\u0001J-\u0010´\u0001\u001a\u00030³\u00012\b\b\u0001\u0010/\u001a\u00020.2\n\b\u0001\u0010²\u0001\u001a\u00030±\u0001H§@ø\u0001\u0000¢\u0006\u0006\b´\u0001\u0010µ\u0001J!\u0010¸\u0001\u001a\u00030·\u00012\t\b\u0001\u0010¶\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\b¸\u0001\u0010<J.\u0010¼\u0001\u001a\u00030»\u00012\t\b\u0001\u0010¶\u0001\u001a\u00020.2\n\b\u0001\u0010º\u0001\u001a\u00030¹\u0001H§@ø\u0001\u0000¢\u0006\u0006\b¼\u0001\u0010½\u0001J!\u0010¿\u0001\u001a\u00030»\u00012\t\b\u0001\u0010¾\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\b¿\u0001\u0010<J.\u0010Â\u0001\u001a\u00030»\u00012\t\b\u0001\u0010¾\u0001\u001a\u00020.2\n\b\u0001\u0010Á\u0001\u001a\u00030À\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÂ\u0001\u0010Ã\u0001J.\u0010Ç\u0001\u001a\u00030Æ\u00012\t\b\u0001\u0010¶\u0001\u001a\u00020.2\n\b\u0001\u0010Å\u0001\u001a\u00030Ä\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÇ\u0001\u0010È\u0001J.\u0010Ê\u0001\u001a\u00030É\u00012\t\b\u0001\u0010¶\u0001\u001a\u00020.2\n\b\u0001\u0010Å\u0001\u001a\u00030Ä\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÊ\u0001\u0010È\u0001J!\u0010Ì\u0001\u001a\u00030Ë\u00012\t\b\u0001\u0010¾\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\bÌ\u0001\u0010<J \u0010Í\u0001\u001a\u0002012\b\b\u0001\u0010\u0010\u001a\u000200H§@ø\u0001\u0000¢\u0006\u0006\bÍ\u0001\u0010Î\u0001J#\u0010Ò\u0001\u001a\u00030Ñ\u00012\n\b\u0001\u0010Ð\u0001\u001a\u00030Ï\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÒ\u0001\u0010Ó\u0001J$\u0010Ö\u0001\u001a\u0005\u0018\u00010Õ\u00012\t\b\u0001\u0010a\u001a\u00030Ô\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÖ\u0001\u0010×\u0001J\"\u0010Ù\u0001\u001a\u00030Õ\u00012\t\b\u0001\u0010a\u001a\u00030Ø\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÙ\u0001\u0010Ú\u0001J\"\u0010Ü\u0001\u001a\u00030Û\u00012\t\b\u0001\u0010a\u001a\u00030Ø\u0001H§@ø\u0001\u0000¢\u0006\u0006\bÜ\u0001\u0010Ú\u0001J!\u0010Þ\u0001\u001a\u00030Ý\u00012\t\b\u0001\u0010¶\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\bÞ\u0001\u0010<J!\u0010à\u0001\u001a\u00030ß\u00012\t\b\u0001\u0010¶\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\bà\u0001\u0010<J\"\u0010á\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010¶\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\bá\u0001\u0010<J3\u0010ä\u0001\u001a\b\u0012\u0004\u0012\u00020\n0\t2\t\b\u0001\u0010¶\u0001\u001a\u00020.2\n\b\u0001\u0010ã\u0001\u001a\u00030â\u0001H§@ø\u0001\u0000¢\u0006\u0006\bä\u0001\u0010å\u0001J&\u0010ç\u0001\u001a\b\u0012\u0004\u0012\u00020\n0\t2\t\b\u0001\u0010æ\u0001\u001a\u00020.H§@ø\u0001\u0000¢\u0006\u0005\bç\u0001\u0010<J$\u0010ê\u0001\u001a\u0004\u0018\u00010\n2\n\b\u0001\u0010é\u0001\u001a\u00030è\u0001H§@ø\u0001\u0000¢\u0006\u0006\bê\u0001\u0010ë\u0001J/\u0010î\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010¶\u0001\u001a\u00020.2\n\b\u0001\u0010í\u0001\u001a\u00030ì\u0001H§@ø\u0001\u0000¢\u0006\u0006\bî\u0001\u0010ï\u0001J/\u0010ò\u0001\u001a\u0004\u0018\u00010\n2\t\b\u0001\u0010¶\u0001\u001a\u00020.2\n\b\u0001\u0010ñ\u0001\u001a\u00030ð\u0001H§@ø\u0001\u0000¢\u0006\u0006\bò\u0001\u0010ó\u0001J$\u0010ö\u0001\u001a\u0004\u0018\u00010\n2\n\b\u0001\u0010õ\u0001\u001a\u00030ô\u0001H§@ø\u0001\u0000¢\u0006\u0006\bö\u0001\u0010÷\u0001J\u0018\u0010ù\u0001\u001a\u0005\u0018\u00010ø\u0001H§@ø\u0001\u0000¢\u0006\u0005\bù\u0001\u0010\u0004J\"\u0010û\u0001\u001a\u00030ú\u00012\n\b\u0001\u00109\u001a\u0004\u0018\u00010.H§@ø\u0001\u0000¢\u0006\u0005\bû\u0001\u0010<J\"\u0010þ\u0001\u001a\u00020\n2\n\b\u0001\u0010ý\u0001\u001a\u00030ü\u0001H§@ø\u0001\u0000¢\u0006\u0006\bþ\u0001\u0010ÿ\u0001J\u0018\u0010\u0081\u0002\u001a\u0005\u0018\u00010\u0080\u0002H§@ø\u0001\u0000¢\u0006\u0005\b\u0081\u0002\u0010\u0004J$\u0010\u0084\u0002\u001a\u0004\u0018\u00010\n2\n\b\u0001\u0010\u0083\u0002\u001a\u00030\u0082\u0002H§@ø\u0001\u0000¢\u0006\u0006\b\u0084\u0002\u0010\u0085\u0002J\"\u0010\u0087\u0002\u001a\u00030\u0086\u00022\n\b\u0001\u00109\u001a\u0004\u0018\u00010.H§@ø\u0001\u0000¢\u0006\u0005\b\u0087\u0002\u0010<J\"\u0010\u0089\u0002\u001a\u00030\u0088\u00022\n\b\u0001\u00109\u001a\u0004\u0018\u00010.H§@ø\u0001\u0000¢\u0006\u0005\b\u0089\u0002\u0010<\u0082\u0002\u0004\n\u0002\b\u0019¨\u0006\u008a\u0002"}, m6127d2 = {"Ll7/a;", "", "Lcom/app/tgtg/model/remote/StoreLocationListResult;", "h", "(Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/AppSettings;", Constants.APPBOY_PUSH_SUMMARY_TEXT_KEY, "Lcom/app/tgtg/model/remote/PushToken;", "pushToken", "Lwn/y;", "Ltl/c0;", "y", "(Lcom/app/tgtg/model/remote/PushToken;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/UserData;", "E", "Lcom/app/tgtg/model/remote/user/requests/EmailAuthenticateRequest;", "data", "Lcom/app/tgtg/model/remote/user/response/EmailAuthenticateResponse;", Constants.APPBOY_PUSH_CUSTOM_NOTIFICATION_ID, "(Lcom/app/tgtg/model/remote/user/requests/EmailAuthenticateRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/AuthByRequestPollingIdRequest;", "Lcom/app/tgtg/model/remote/user/response/LoginResponse;", "f0", "(Lcom/app/tgtg/model/remote/user/requests/AuthByRequestPollingIdRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/AuthByRequestPinRequest;", "J", "(Lcom/app/tgtg/model/remote/user/requests/AuthByRequestPinRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/AuthByRequestTokenRequest;", "V", "(Lcom/app/tgtg/model/remote/user/requests/AuthByRequestTokenRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/DirectWebToAppLoginRequest;", "r0", "(Lcom/app/tgtg/model/remote/user/requests/DirectWebToAppLoginRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/LoginByThirdPartyRequest;", Constants.APPBOY_PUSH_NOTIFICATION_SOUND_DEFAULT_VALUE, "(Lcom/app/tgtg/model/remote/user/requests/LoginByThirdPartyRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/SignUpByEmailRequest;", "Lcom/app/tgtg/model/remote/user/response/EmailSignupResponse;", "N", "(Lcom/app/tgtg/model/remote/user/requests/SignUpByEmailRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/SignUpByThirdPartyRequest;", "date", "u0", "(Lcom/app/tgtg/model/remote/user/requests/SignUpByThirdPartyRequest;Lik/d;)Ljava/lang/Object;", "Lfk/q;", "x0", "", "itemId", "Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest;", "Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse;", "u", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest;Lik/d;)Ljava/lang/Object;", "q0", "(Lcom/app/tgtg/model/remote/UserData;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/manufacturer/request/ManufacturerConsentRequest;", "w", "(Lcom/app/tgtg/model/remote/manufacturer/request/ManufacturerConsentRequest;Lik/d;)Ljava/lang/Object;", "userId", "Lcom/app/tgtg/model/remote/UserItemPreferences;", "j0", "(Ljava/lang/String;Lik/d;)Ljava/lang/Object;", "a0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/UserItemPreferences;Lik/d;)Ljava/lang/Object;", "receiptId", "Lcom/app/tgtg/model/remote/order/request/OrderConfirmedEmailRequest;", "w0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/request/OrderConfirmedEmailRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/privacy/ExportUserRequest;", "I", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/privacy/ExportUserRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/privacy/DeleteUserRequest;", "q", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/privacy/DeleteUserRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/discover/request/DiscoverAllBucketsRequest;", "Lcom/app/tgtg/model/remote/discover/response/DiscoverAllBucketsResponse;", "m", "(Lcom/app/tgtg/model/remote/discover/request/DiscoverAllBucketsRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/discover/request/DiscoverSingleBucketRequest;", "Lcom/app/tgtg/model/remote/discover/response/DiscoverSingleBucketResponse;", "Q", "(Lcom/app/tgtg/model/remote/discover/request/DiscoverSingleBucketRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/FavouritePromptItemsRequest;", "Lcom/app/tgtg/model/remote/item/response/FavouritePromptItemsResponse;", "W", "(Lcom/app/tgtg/model/remote/item/requests/FavouritePromptItemsRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/manufacturer/request/ManufacturerItemsRequest;", "Lcom/app/tgtg/model/remote/manufacturer/response/ManufacturerItemsResponse;", "P", "(Lcom/app/tgtg/model/remote/manufacturer/request/ManufacturerItemsRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/RefreshToken;", "refreshToken", "Lpj/c;", "Lcom/app/tgtg/model/remote/RefreshTokenResult;", "H", "v", "(Lcom/app/tgtg/model/remote/RefreshToken;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/voucher/request/VoucherListRequest;", "request", "Lcom/app/tgtg/model/remote/voucher/response/VoucherList;", "e", "(Lcom/app/tgtg/model/remote/voucher/request/VoucherListRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/voucher/request/AddVoucherRequest;", "Lcom/app/tgtg/model/remote/voucher/response/AddVoucherResponse;", "i0", "(Lcom/app/tgtg/model/remote/voucher/request/AddVoucherRequest;Lik/d;)Ljava/lang/Object;", "voucherId", "Lcom/app/tgtg/model/remote/voucher/request/VoucherDetailRequest;", "Lcom/app/tgtg/model/remote/voucher/response/VoucherDetails;", "L", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/voucher/request/VoucherDetailRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/voucher/request/VoucherFilterRequest;", "Lcom/app/tgtg/model/remote/voucher/response/VoucherFilterResponse;", "A", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/voucher/request/VoucherFilterRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/SetFavoriteRequest;", "i", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/item/requests/SetFavoriteRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/BulkFavoriteRequest;", "G", "(Lcom/app/tgtg/model/remote/item/requests/BulkFavoriteRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/ListItemRequest;", "Lcom/app/tgtg/model/remote/item/response/ListItemResponse;", "o0", "(Lcom/app/tgtg/model/remote/item/requests/ListItemRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/ItemRequest;", "Lcom/app/tgtg/model/remote/item/response/Item;", "l0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/item/requests/ItemRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/GetPriceCalculationsRequest;", "", "Lcom/app/tgtg/model/remote/payment/PriceCalculation;", "Z", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/item/requests/GetPriceCalculationsRequest;Lik/d;)Ljava/lang/Object;", "storeId", "Lcom/app/tgtg/model/remote/store/requests/StoreRequest;", "Lcom/app/tgtg/model/remote/item/StoreInformation;", "Y", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/store/requests/StoreRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/mapService/GeoLocation;", "location", "Lcom/app/tgtg/model/remote/mapService/response/ReverseLookupResponse;", "C", "Lcom/app/tgtg/model/remote/UserSettings;", Constants.APPBOY_PUSH_CONTENT_KEY, "Lcom/app/tgtg/model/remote/mapService/request/LocationRequest;", "locationRequest", "Lcom/app/tgtg/model/remote/mapService/response/SearchLocationResponse;", "M", "(Lcom/app/tgtg/model/remote/mapService/request/LocationRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/support/request/ConsumerSupportRequest;", "Lcom/app/tgtg/model/remote/support/response/ConsumerSupportResponse;", Constants.APPBOY_PUSH_PRIORITY_KEY, "(Lcom/app/tgtg/model/remote/support/request/ConsumerSupportRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/support/request/BusinessSupportRequest;", "z", "(Lcom/app/tgtg/model/remote/support/request/BusinessSupportRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/support/response/ConsumerRefundChoiceRequest;", "K", "(Lcom/app/tgtg/model/remote/support/response/ConsumerRefundChoiceRequest;Lik/d;)Ljava/lang/Object;", "Ltl/v$c;", "imageFile", "Lcom/app/tgtg/model/remote/support/response/SupportPictureUploadResponse;", "x", "(Ljava/util/List;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/hiddenstores/request/UnlockHiddenStoreRequest;", "Lcom/app/tgtg/model/remote/hiddenstores/response/UnlockHiddenStoreResponse;", "p0", "Lcom/app/tgtg/model/remote/hiddenstores/request/RemoveHiddenStoreRequest;", "Lcom/app/tgtg/model/remote/hiddenstores/response/RemoveHiddenStoreResponse;", "g", "(Lcom/app/tgtg/model/remote/hiddenstores/request/RemoveHiddenStoreRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/TrackingEventsRequest;", "r", "(Lcom/app/tgtg/model/remote/item/requests/TrackingEventsRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/item/requests/ConsentScreenEventRequest;", "f", "(Lcom/app/tgtg/model/remote/item/requests/ConsentScreenEventRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/order/request/CreateOrderRequest;", "createOrder", "Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse;", "m0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/request/CreateOrderRequest;Lik/d;)Ljava/lang/Object;", "orderId", "Lcom/app/tgtg/model/remote/order/OrderInfo;", "d0", "Lcom/app/tgtg/model/remote/order/request/CreatePaymentRequest;", "createPayment", "Lcom/app/tgtg/model/remote/order/response/PaymentResponse;", "F", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/request/CreatePaymentRequest;Lik/d;)Ljava/lang/Object;", "paymentId", "k", "Lcom/app/tgtg/model/remote/order/AdditionalAuthRequest;", "extraAuth", "j", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/AdditionalAuthRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/order/request/CancelOrderRequest;", "cancelOrderRequest", "Lcom/app/tgtg/model/remote/CancelOrderResponse;", "v0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/request/CancelOrderRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/AbortOrderResponse;", "o", "Lcom/app/tgtg/model/remote/payment/response/BiometricsResponse;", "z0", "y0", "(Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/payment/request/DeleteCardRequest;", "deleteCardRequest", "Lcom/app/tgtg/model/remote/payment/response/DeleteCardResponse;", "g0", "(Lcom/app/tgtg/model/remote/payment/request/DeleteCardRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/order/request/ListActiveOrdersRequest;", "Lcom/app/tgtg/model/remote/OrderListResult;", "b0", "(Lcom/app/tgtg/model/remote/order/request/ListActiveOrdersRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/order/request/ListOrdersRequest;", Constants.APPBOY_PUSH_TITLE_KEY, "(Lcom/app/tgtg/model/remote/order/request/ListOrdersRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/OrderListMonthlyResult;", "l", "Lcom/app/tgtg/model/remote/order/OrderResult;", "O", "Lcom/app/tgtg/model/remote/RedeemResponse;", "e0", "U", "Lcom/app/tgtg/model/remote/order/OrderRatingItem;", "orderRating", "c0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/OrderRatingItem;Lik/d;)Ljava/lang/Object;", FirebaseMessagingService.EXTRA_TOKEN, "c", "Lcom/app/tgtg/model/remote/user/requests/ResendWelcomeEmailRequest;", "resendWelcomeEmailRequest", "D", "(Lcom/app/tgtg/model/remote/user/requests/ResendWelcomeEmailRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/order/request/WouldBuyAgainRequest;", "wouldBuyAgainRequest", "n0", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/request/WouldBuyAgainRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/UserAddress;", UserAddress.USER_ADDRESS, "X", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/user/requests/UserAddress;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/requests/SelfOnboardRequest;", "selfOnboardRequest", "B", "(Lcom/app/tgtg/model/remote/user/requests/SelfOnboardRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/EnvironmentListResult;", "s0", "Lcom/app/tgtg/model/remote/user/response/Impact;", "h0", "Lcom/app/tgtg/model/remote/user/requests/EmailChangeRequest;", "new_email", "S", "(Lcom/app/tgtg/model/remote/user/requests/EmailChangeRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/response/EmailStatusResponse;", "k0", "Lcom/app/tgtg/model/remote/feedback/request/UserFeedbackRequest;", "userFeedbackRequest", "t0", "(Lcom/app/tgtg/model/remote/feedback/request/UserFeedbackRequest;Lik/d;)Ljava/lang/Object;", "Lcom/app/tgtg/model/remote/user/response/MoneySavedResponse;", "R", "Lcom/app/tgtg/model/remote/user/response/Co2eSavedResponse;", "T", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* renamed from: l7.a */
/* loaded from: classes2.dex */
public interface ApiService {
    @POST("api/voucher/v3/{voucherId}/storeFilterList")
    /* renamed from: A */
    Object m6105A(@Path(encoded = true, value = "voucherId") String str, @Body VoucherFilterRequest voucherFilterRequest, Continuation<? super VoucherFilterResponse> continuation);

    @POST("api/selfonboarding/v1/selfonboard")
    /* renamed from: B */
    Object m6104B(@Body SelfOnboardRequest selfOnboardRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/location/v1/lookup")
    /* renamed from: C */
    Maybe<ReverseLookupResponse> m6103C(@Body GeoLocation geoLocation);

    @POST("api/user/v1/resendWelcomeEmail")
    /* renamed from: D */
    Object m6102D(@Body ResendWelcomeEmailRequest resendWelcomeEmailRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/user/v1/")
    /* renamed from: E */
    Object m6101E(Continuation<? super UserData> continuation);

    @POST("api/order/v6/{orderId}/pay")
    /* renamed from: F */
    Object m6100F(@Path(encoded = true, value = "orderId") String str, @Body CreatePaymentRequest createPaymentRequest, Continuation<? super PaymentResponse> continuation);

    @POST("api/item/v7/addBulkFavorites")
    /* renamed from: G */
    Object m6099G(@Body BulkFavoriteRequest bulkFavoriteRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/auth/v3/token/refresh")
    /* renamed from: H */
    Maybe<C7510y<RefreshTokenResult>> m6098H(@Body RefreshToken refreshToken);

    @POST("api/gdpr/v1/{userId}/exportUserData")
    /* renamed from: I */
    Object m6097I(@Path(encoded = true, value = "userId") String str, @Body ExportUserRequest exportUserRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/auth/v3/authByRequestPin")
    /* renamed from: J */
    Object m6096J(@Body AuthByRequestPinRequest authByRequestPinRequest, Continuation<? super LoginResponse> continuation);

    @POST("api/support/v2/consumer/refund/choice")
    /* renamed from: K */
    Object m6095K(@Body ConsumerRefundChoiceRequest consumerRefundChoiceRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/voucher/v3/{voucherId}")
    /* renamed from: L */
    Object m6094L(@Path(encoded = true, value = "voucherId") String str, @Body VoucherDetailRequest voucherDetailRequest, Continuation<? super VoucherDetails> continuation);

    @POST("api/location/v1/search")
    /* renamed from: M */
    Object m6093M(@Body LocationRequest locationRequest, Continuation<? super SearchLocationResponse> continuation);

    @POST("api/auth/v3/signUpByEmail")
    /* renamed from: N */
    Object m6092N(@Body SignUpByEmailRequest signUpByEmailRequest, Continuation<? super EmailSignupResponse> continuation);

    @POST("api/order/v6/{orderId}")
    /* renamed from: O */
    Object m6091O(@Path(encoded = true, value = "orderId") String str, Continuation<? super OrderResult> continuation);

    @POST("api/manufactureritem/v1/")
    /* renamed from: P */
    Object m6090P(@Body ManufacturerItemsRequest manufacturerItemsRequest, Continuation<? super ManufacturerItemsResponse> continuation);

    @POST("api/discover/v1/bucket")
    /* renamed from: Q */
    Object m6089Q(@Body DiscoverSingleBucketRequest discoverSingleBucketRequest, Continuation<? super DiscoverSingleBucketResponse> continuation);

    @POST("api/impact/v1/{USER_ID}/moneySaved")
    /* renamed from: R */
    Object m6088R(@Path(encoded = true, value = "USER_ID") String str, Continuation<? super MoneySavedResponse> continuation);

    @POST("api/user/v1/emailChangeRequest")
    /* renamed from: S */
    Object m6087S(@Body EmailChangeRequest emailChangeRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/impact/v1/{userId}/co2eSaved")
    /* renamed from: T */
    Object m6086T(@Path(encoded = true, value = "userId") String str, Continuation<? super Co2eSavedResponse> continuation);

    @POST("api/order/v6/{orderId}/markNotCollected")
    /* renamed from: U */
    Object m6085U(@Path(encoded = true, value = "orderId") String str, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/auth/v3/authByRequestToken")
    /* renamed from: V */
    Object m6084V(@Body AuthByRequestTokenRequest authByRequestTokenRequest, Continuation<? super LoginResponse> continuation);

    @POST("api/item/v7/getRandomisedLocationRecommendedItems")
    /* renamed from: W */
    Object m6083W(@Body FavouritePromptItemsRequest favouritePromptItemsRequest, Continuation<? super FavouritePromptItemsResponse> continuation);

    @POST("api/order/v6/{orderId}/setAddress")
    /* renamed from: X */
    Object m6082X(@Path(encoded = true, value = "orderId") String str, @Body UserAddress userAddress, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/store/v4/{storeId}")
    /* renamed from: Y */
    Object m6081Y(@Path(encoded = true, value = "storeId") String str, @Body StoreRequest storeRequest, Continuation<? super StoreInformation> continuation);

    @POST("api/item/v7/{itemId}/getPriceCalculations")
    /* renamed from: Z */
    Object m6080Z(@Path(encoded = true, value = "itemId") String str, @Body GetPriceCalculationsRequest getPriceCalculationsRequest, Continuation<? super C7510y<List<PriceCalculation>>> continuation);

    @POST("api/app/v1/user_settings")
    /* renamed from: a */
    Object m6079a(Continuation<? super UserSettings> continuation);

    @POST("api/itempreferences/v1/{userId}/update")
    /* renamed from: a0 */
    Object m6078a0(@Path(encoded = true, value = "userId") String str, @Body UserItemPreferences userItemPreferences, Continuation<? super UserItemPreferences> continuation);

    @POST("api/order/v6/active")
    /* renamed from: b0 */
    Object m6077b0(@Body ListActiveOrdersRequest listActiveOrdersRequest, Continuation<? super OrderListResult> continuation);

    @POST("api/user/v1/confirmEmail/{token}")
    /* renamed from: c */
    Object m6076c(@Path(encoded = true, value = "token") String str, Continuation<? super C7510y<AbstractC6763c0>> continuation);

    @POST("api/order/v6/{orderId}/rate")
    /* renamed from: c0 */
    Object m6075c0(@Path(encoded = true, value = "orderId") String str, @Body OrderRatingItem orderRatingItem, Continuation<? super C7510y<AbstractC6763c0>> continuation);

    @POST("api/auth/v3/loginByThirdParty")
    /* renamed from: d */
    Object m6074d(@Body LoginByThirdPartyRequest loginByThirdPartyRequest, Continuation<? super LoginResponse> continuation);

    @POST("api/order/v6/{orderId}/status")
    /* renamed from: d0 */
    Object m6073d0(@Path(encoded = true, value = "orderId") String str, Continuation<? super OrderInfo> continuation);

    @POST("api/voucher/v3/")
    /* renamed from: e */
    Object m6072e(@Body VoucherListRequest voucherListRequest, Continuation<? super VoucherList> continuation);

    @POST("api/order/v6/{orderId}/redeem")
    /* renamed from: e0 */
    Object m6071e0(@Path(encoded = true, value = "orderId") String str, Continuation<? super RedeemResponse> continuation);

    @InterfaceC8249k({"withoutAuthorization: true"})
    @POST("api/tracking/v1/anonymousEvents")
    /* renamed from: f */
    Object m6070f(@Body ConsentScreenEventRequest consentScreenEventRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/auth/v3/authByRequestPollingId")
    /* renamed from: f0 */
    Object m6069f0(@Body AuthByRequestPollingIdRequest authByRequestPollingIdRequest, Continuation<? super C7510y<LoginResponse>> continuation);

    @POST("api/hiddenstore/v2/remove")
    /* renamed from: g */
    Object m6068g(@Body RemoveHiddenStoreRequest removeHiddenStoreRequest, Continuation<? super RemoveHiddenStoreResponse> continuation);

    @POST("api/paymentMethod/v1/savedpaymentmethod/delete")
    /* renamed from: g0 */
    Object m6067g0(@Body DeleteCardRequest deleteCardRequest, Continuation<? super DeleteCardResponse> continuation);

    @POST("api/map/v1/listAllBusinessLocationPicker")
    /* renamed from: h */
    Object m6066h(Continuation<? super StoreLocationListResult> continuation);

    @POST("api/impact/v1/{mobile_user_id}")
    /* renamed from: h0 */
    Object m6065h0(@Path(encoded = true, value = "mobile_user_id") String str, Continuation<? super Impact> continuation);

    @POST("api/item/v7/{itemId}/setFavorite")
    /* renamed from: i */
    Object m6064i(@Path(encoded = true, value = "itemId") String str, @Body SetFavoriteRequest setFavoriteRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/voucher/v3/add")
    /* renamed from: i0 */
    Object m6063i0(@Body AddVoucherRequest addVoucherRequest, Continuation<? super AddVoucherResponse> continuation);

    @POST("api/payment/v3/{paymentId}/additionalAuthorization")
    /* renamed from: j */
    Object m6062j(@Path(encoded = true, value = "paymentId") String str, @Body AdditionalAuthRequest additionalAuthRequest, Continuation<? super PaymentResponse> continuation);

    @POST("api/itempreferences/v1/{userId}/")
    /* renamed from: j0 */
    Object m6061j0(@Path(encoded = true, value = "userId") String str, Continuation<? super UserItemPreferences> continuation);

    @POST("api/payment/v3/{paymentId}")
    /* renamed from: k */
    Object m6060k(@Path(encoded = true, value = "paymentId") String str, Continuation<? super PaymentResponse> continuation);

    @POST("api/user/v1/getEmailStatus")
    /* renamed from: k0 */
    Object m6059k0(Continuation<? super EmailStatusResponse> continuation);

    @POST("api/order/v6/")
    /* renamed from: l */
    Object m6058l(@Body ListOrdersRequest listOrdersRequest, Continuation<? super OrderListMonthlyResult> continuation);

    @POST("api/item/v7/{itemId}")
    /* renamed from: l0 */
    Object m6057l0(@Path(encoded = true, value = "itemId") String str, @Body ItemRequest itemRequest, Continuation<? super Item> continuation);

    @POST("api/discover/v1/")
    /* renamed from: m */
    Object m6056m(@Body DiscoverAllBucketsRequest discoverAllBucketsRequest, Continuation<? super DiscoverAllBucketsResponse> continuation);

    @POST("api/order/v6/create/{itemId}")
    /* renamed from: m0 */
    Object m6055m0(@Path(encoded = true, value = "itemId") String str, @Body CreateOrderRequest createOrderRequest, Continuation<? super CreateOrderResponse> continuation);

    @POST("api/auth/v3/authByEmail")
    /* renamed from: n */
    Object m6054n(@Body EmailAuthenticateRequest emailAuthenticateRequest, Continuation<? super EmailAuthenticateResponse> continuation);

    @POST("api/order/v6/{orderId}/wouldBuyAgain")
    /* renamed from: n0 */
    Object m6053n0(@Path(encoded = true, value = "orderId") String str, @Body WouldBuyAgainRequest wouldBuyAgainRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/order/v6/{orderId}/abort")
    /* renamed from: o */
    Object m6052o(@Path(encoded = true, value = "orderId") String str, @Body CancelOrderRequest cancelOrderRequest, Continuation<? super AbortOrderResponse> continuation);

    @POST("api/item/v7/")
    /* renamed from: o0 */
    Object m6051o0(@Body ListItemRequest listItemRequest, Continuation<? super ListItemResponse> continuation);

    @POST("api/support/v2/consumer/")
    /* renamed from: p */
    Object m6050p(@Body ConsumerSupportRequest consumerSupportRequest, Continuation<? super ConsumerSupportResponse> continuation);

    @POST("api/hiddenstore/v2/unlock")
    /* renamed from: p0 */
    Maybe<UnlockHiddenStoreResponse> m6049p0(@Body UnlockHiddenStoreRequest unlockHiddenStoreRequest);

    @POST("api/gdpr/v1/{userId}/deleteUser")
    /* renamed from: q */
    Object m6048q(@Path(encoded = true, value = "userId") String str, @Body DeleteUserRequest deleteUserRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/user/v1/update")
    /* renamed from: q0 */
    Object m6047q0(@Body UserData userData, Continuation<? super UserData> continuation);

    @POST("api/tracking/v1/events")
    /* renamed from: r */
    Object m6046r(@Body TrackingEventsRequest trackingEventsRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/auth/v3/loginByDirectWebToAppLoginToken")
    /* renamed from: r0 */
    Object m6045r0(@Body DirectWebToAppLoginRequest directWebToAppLoginRequest, Continuation<? super LoginResponse> continuation);

    @InterfaceC8249k({"withoutAuthorization: true"})
    @POST("api/app/v1/app_settings")
    /* renamed from: s */
    Object m6044s(Continuation<? super AppSettings> continuation);

    @GET("https://meta.apptoogoodtogo.com/env/v1/list.json")
    /* renamed from: s0 */
    Object m6043s0(Continuation<? super EnvironmentListResult> continuation);

    @POST("api/order/v6/inactive")
    /* renamed from: t */
    Object m6042t(@Body ListOrdersRequest listOrdersRequest, Continuation<? super OrderListResult> continuation);

    @POST("api/userfeedback/v1/sendFeedback")
    /* renamed from: t0 */
    Object m6041t0(@Body UserFeedbackRequest userFeedbackRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/paymentMethod/v1/item/{itemId}")
    /* renamed from: u */
    Object m6040u(@Path(encoded = true, value = "itemId") String str, @Body PaymentMethodsRequest paymentMethodsRequest, Continuation<? super PaymentMethodsResponse> continuation);

    @POST("api/auth/v3/signUpByThirdParty")
    /* renamed from: u0 */
    Object m6039u0(@Body SignUpByThirdPartyRequest signUpByThirdPartyRequest, Continuation<? super LoginResponse> continuation);

    @POST("api/auth/v3/token/refresh")
    /* renamed from: v */
    Object m6038v(@Body RefreshToken refreshToken, Continuation<? super C7510y<RefreshTokenResult>> continuation);

    @POST("api/order/v6/{orderId}/cancel")
    /* renamed from: v0 */
    Object m6037v0(@Path(encoded = true, value = "orderId") String str, @Body CancelOrderRequest cancelOrderRequest, Continuation<? super CancelOrderResponse> continuation);

    @POST("api/user/v1/terms/approve")
    /* renamed from: w */
    Object m6036w(@Body ManufacturerConsentRequest manufacturerConsentRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/order/v6/{receiptId}/sendOrderConfirmedEmail")
    /* renamed from: w0 */
    Object m6035w0(@Path(encoded = true, value = "receiptId") String str, @Body OrderConfirmedEmailRequest orderConfirmedEmailRequest, Continuation<? super AbstractC6763c0> continuation);

    @Multipart
    @POST("api/support/v2/uploading/files")
    /* renamed from: x */
    Object m6034x(@Part List<MultipartBody.C6788c> list, Continuation<? super SupportPictureUploadResponse> continuation);

    @POST("api/auth/v3/logout")
    /* renamed from: x0 */
    Object m6033x0(Continuation<? super Unit> continuation);

    @POST("api/app/v1/savePushToken")
    /* renamed from: y */
    Object m6032y(@Body PushToken pushToken, Continuation<? super C7510y<AbstractC6763c0>> continuation);

    @POST("api/paymentMethod/v1/")
    /* renamed from: y0 */
    Object m6031y0(@Body PaymentMethodsRequest paymentMethodsRequest, Continuation<? super PaymentMethodsResponse> continuation);

    @POST("api/support/v1/business/")
    /* renamed from: z */
    Object m6030z(@Body BusinessSupportRequest businessSupportRequest, Continuation<? super AbstractC6763c0> continuation);

    @POST("api/payment/v3/{paymentId}/biometrics")
    /* renamed from: z0 */
    Object m6029z0(@Path(encoded = true, value = "paymentId") String str, Continuation<? super BiometricsResponse> continuation);
}

Create order request:

package com.app.tgtg.model.remote.order.request;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0134a;
import android.support.p017v4.media.C0136c;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: CreateOrderRequest.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 %2\u00020\u0001:\u0002&%B\u000f\u0012\u0006\u0010\u000b\u001a\u00020\t¢\u0006\u0004\b \u0010\u001dB%\b\u0017\u0012\u0006\u0010!\u001a\u00020\t\u0012\b\b\u0001\u0010\u000b\u001a\u00020\t\u0012\b\u0010#\u001a\u0004\u0018\u00010\"¢\u0006\u0004\b \u0010$J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\t\u0010\n\u001a\u00020\tHÆ\u0003J\u0013\u0010\f\u001a\u00020\u00002\b\b\u0002\u0010\u000b\u001a\u00020\tHÆ\u0001J\t\u0010\u000e\u001a\u00020\rHÖ\u0001J\t\u0010\u000f\u001a\u00020\tHÖ\u0001J\u0013\u0010\u0013\u001a\u00020\u00122\b\u0010\u0011\u001a\u0004\u0018\u00010\u0010HÖ\u0003J\t\u0010\u0014\u001a\u00020\tHÖ\u0001J\u0019\u0010\u0018\u001a\u00020\u00072\u0006\u0010\u0016\u001a\u00020\u00152\u0006\u0010\u0017\u001a\u00020\tHÖ\u0001R(\u0010\u000b\u001a\u00020\t8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u000b\u0010\u0019\u0012\u0004\b\u001e\u0010\u001f\u001a\u0004\b\u001a\u0010\u001b\"\u0004\b\u001c\u0010\u001d¨\u0006'"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/request/CreateOrderRequest;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "", "component1", "quantity", "copy", "", "toString", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "I", "getQuantity", "()I", "setQuantity", "(I)V", "getQuantity$annotations", "()V", "<init>", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(IILkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class CreateOrderRequest implements Parcelable {
    private int quantity;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<CreateOrderRequest> CREATOR = new Creator();

    /* compiled from: CreateOrderRequest.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/request/CreateOrderRequest$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/request/CreateOrderRequest;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<CreateOrderRequest> serializer() {
            return CreateOrderRequest$$serializer.INSTANCE;
        }
    }

    /* compiled from: CreateOrderRequest.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<CreateOrderRequest> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final CreateOrderRequest createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new CreateOrderRequest(parcel.readInt());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final CreateOrderRequest[] newArray(int i) {
            return new CreateOrderRequest[i];
        }
    }

    public CreateOrderRequest(int i) {
        this.quantity = i;
    }

    public static /* synthetic */ CreateOrderRequest copy$default(CreateOrderRequest createOrderRequest, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            i = createOrderRequest.quantity;
        }
        return createOrderRequest.copy(i);
    }

    public static /* synthetic */ void getQuantity$annotations() {
    }

    public static final void write$Self(CreateOrderRequest createOrderRequest, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(createOrderRequest, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        encoding.mo5105y(serialDescriptor, 0, createOrderRequest.quantity);
    }

    public final int component1() {
        return this.quantity;
    }

    public final CreateOrderRequest copy(int i) {
        return new CreateOrderRequest(i);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof CreateOrderRequest) && this.quantity == ((CreateOrderRequest) obj).quantity;
    }

    public final int getQuantity() {
        return this.quantity;
    }

    public int hashCode() {
        return this.quantity;
    }

    public final void setQuantity(int i) {
        this.quantity = i;
    }

    public String toString() {
        return C0134a.m15155h(C0136c.m15134j("CreateOrderRequest(quantity="), this.quantity, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        parcel.writeInt(this.quantity);
    }

    public /* synthetic */ CreateOrderRequest(int i, int i2, SerializationConstructorMarker serializationConstructorMarker) {
        if (1 == (i & 1)) {
            this.quantity = i2;
        } else {
            C6385y.m3971G(i, 1, CreateOrderRequest$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
    }
}

Create order response:

package com.app.tgtg.model.remote.order.response;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import com.app.tgtg.model.remote.order.OrderInfo;
import com.app.tgtg.model.remote.order.OrderInfo$$serializer;
import com.app.tgtg.model.remote.user.requests.UserAddress;
import com.app.tgtg.model.remote.user.requests.UserAddress$$serializer;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import kotlinx.serialization.encoding.Decoder;
import kotlinx.serialization.encoding.Encoder;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;
import p557zk.DebugStrings;

/* compiled from: CreateOrderResponse.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000Z\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0015\n\u0002\u0018\u0002\n\u0002\b\u0007\b\u0087\b\u0018\u0000 52\u00020\u0001:\u00046578B'\u0012\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\t\u0012\u0006\u0010\u0010\u001a\u00020\u000b\u0012\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\r¢\u0006\u0004\b/\u00100B?\b\u0017\u0012\u0006\u00101\u001a\u00020\u0015\u0012\n\b\u0001\u0010\u000f\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u0010\u001a\u0004\u0018\u00010\u000b\u0012\n\b\u0001\u0010\u0011\u001a\u0004\u0018\u00010\r\u0012\b\u00103\u001a\u0004\u0018\u000102¢\u0006\u0004\b/\u00104J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\u000b\u0010\n\u001a\u0004\u0018\u00010\tHÆ\u0003J\t\u0010\f\u001a\u00020\u000bHÆ\u0003J\u000b\u0010\u000e\u001a\u0004\u0018\u00010\rHÆ\u0003J+\u0010\u0012\u001a\u00020\u00002\n\b\u0002\u0010\u000f\u001a\u0004\u0018\u00010\t2\b\b\u0002\u0010\u0010\u001a\u00020\u000b2\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\rHÆ\u0001J\t\u0010\u0014\u001a\u00020\u0013HÖ\u0001J\t\u0010\u0016\u001a\u00020\u0015HÖ\u0001J\u0013\u0010\u001a\u001a\u00020\u00192\b\u0010\u0018\u001a\u0004\u0018\u00010\u0017HÖ\u0003J\t\u0010\u001b\u001a\u00020\u0015HÖ\u0001J\u0019\u0010\u001f\u001a\u00020\u00072\u0006\u0010\u001d\u001a\u00020\u001c2\u0006\u0010\u001e\u001a\u00020\u0015HÖ\u0001R*\u0010\u000f\u001a\u0004\u0018\u00010\t8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u000f\u0010 \u0012\u0004\b%\u0010&\u001a\u0004\b!\u0010\"\"\u0004\b#\u0010$R \u0010\u0010\u001a\u00020\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0010\u0010'\u0012\u0004\b*\u0010&\u001a\u0004\b(\u0010)R\"\u0010\u0011\u001a\u0004\u0018\u00010\r8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0011\u0010+\u0012\u0004\b.\u0010&\u001a\u0004\b,\u0010-¨\u00069"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "Lcom/app/tgtg/model/remote/order/OrderInfo;", "component1", "Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;", "component2", "Lcom/app/tgtg/model/remote/user/requests/UserAddress;", "component3", "order", "state", UserAddress.USER_ADDRESS, "copy", "", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Lcom/app/tgtg/model/remote/order/OrderInfo;", "getOrder", "()Lcom/app/tgtg/model/remote/order/OrderInfo;", "setOrder", "(Lcom/app/tgtg/model/remote/order/OrderInfo;)V", "getOrder$annotations", "()V", "Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;", "getState", "()Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;", "getState$annotations", "Lcom/app/tgtg/model/remote/user/requests/UserAddress;", "getUserAddress", "()Lcom/app/tgtg/model/remote/user/requests/UserAddress;", "getUserAddress$annotations", "<init>", "(Lcom/app/tgtg/model/remote/order/OrderInfo;Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;Lcom/app/tgtg/model/remote/user/requests/UserAddress;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILcom/app/tgtg/model/remote/order/OrderInfo;Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;Lcom/app/tgtg/model/remote/user/requests/UserAddress;Lkl/e1;)V", "Companion", "$serializer", "CreateOrderState", "CreateOrderStateSerializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class CreateOrderResponse implements Parcelable {
    private OrderInfo order;
    private final CreateOrderState state;
    private final UserAddress userAddress;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<CreateOrderResponse> CREATOR = new Creator();

    /* compiled from: CreateOrderResponse.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<CreateOrderResponse> serializer() {
            return CreateOrderResponse$$serializer.INSTANCE;
        }
    }

    /* compiled from: CreateOrderResponse.kt */
    @Metadata(m6128d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\t\b\u0087\u0001\u0018\u0000 \t2\b\u0012\u0004\u0012\u00020\u00000\u0001:\u0001\tB\u0007\b\u0002¢\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006j\u0002\b\u0007j\u0002\b\b¨\u0006\n"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;", "", "(Ljava/lang/String;I)V", "USER_BLOCKED", "SALE_CLOSED", "SOLD_OUT", "OVER_USER_WINDOW_LIMIT", "INSUFFICIENT_STOCK", "SUCCESS", "Companion", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    @InterfaceC3911l(with = CreateOrderStateSerializer.class)
    /* loaded from: classes2.dex */
    public enum CreateOrderState {
        USER_BLOCKED,
        SALE_CLOSED,
        SOLD_OUT,
        OVER_USER_WINDOW_LIMIT,
        INSUFFICIENT_STOCK,
        SUCCESS;

        public static final Companion Companion = new Companion(null);

        /* compiled from: CreateOrderResponse.kt */
        @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
        /* loaded from: classes2.dex */
        public static final class Companion {
            private Companion() {
            }

            public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
                this();
            }

            public final KSerializer<CreateOrderState> serializer() {
                return CreateOrderStateSerializer.INSTANCE;
            }
        }
    }

    /* compiled from: CreateOrderResponse.kt */
    @Metadata(m6129bv = {}, m6128d1 = {"\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0006\bÇ\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00020\u0001B\t\b\u0002¢\u0006\u0004\b\u000f\u0010\u0010J\u0010\u0010\u0005\u001a\u00020\u00022\u0006\u0010\u0004\u001a\u00020\u0003H\u0016J\u0018\u0010\n\u001a\u00020\t2\u0006\u0010\u0007\u001a\u00020\u00062\u0006\u0010\b\u001a\u00020\u0002H\u0016R\u0014\u0010\u000e\u001a\u00020\u000b8VX\u0096\u0004¢\u0006\u0006\u001a\u0004\b\f\u0010\r¨\u0006\u0011"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderStateSerializer;", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/response/CreateOrderResponse$CreateOrderState;", "Lkotlinx/serialization/encoding/Decoder;", "decoder", "deserialize", "Lkotlinx/serialization/encoding/Encoder;", "encoder", "value", "Lfk/q;", "serialize", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "getDescriptor", "()Lkotlinx/serialization/descriptors/SerialDescriptor;", "descriptor", "<init>", "()V", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
    /* loaded from: classes2.dex */
    public static final class CreateOrderStateSerializer implements KSerializer<CreateOrderState> {
        public static final CreateOrderStateSerializer INSTANCE = new CreateOrderStateSerializer();

        private CreateOrderStateSerializer() {
        }

        @Override // kotlinx.serialization.KSerializer, p195hl.InterfaceC3912m, p195hl.KSerializer
        public SerialDescriptor getDescriptor() {
            return DebugStrings.m177d("stateSerializer");
        }

        @Override // p195hl.KSerializer
        public CreateOrderState deserialize(Decoder decoder) {
            TypeConverters.m15411i(decoder, "decoder");
            return CreateOrderState.valueOf(decoder.mo4706C());
        }

        @Override // p195hl.InterfaceC3912m
        public void serialize(Encoder encoder, CreateOrderState createOrderState) {
            TypeConverters.m15411i(encoder, "encoder");
            TypeConverters.m15411i(createOrderState, "value");
            encoder.mo5143D(createOrderState.name());
        }
    }

    /* compiled from: CreateOrderResponse.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<CreateOrderResponse> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final CreateOrderResponse createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new CreateOrderResponse(parcel.readInt() == 0 ? null : OrderInfo.CREATOR.createFromParcel(parcel), CreateOrderState.valueOf(parcel.readString()), parcel.readInt() != 0 ? UserAddress.CREATOR.createFromParcel(parcel) : null);
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final CreateOrderResponse[] newArray(int i) {
            return new CreateOrderResponse[i];
        }
    }

    public /* synthetic */ CreateOrderResponse(int i, OrderInfo orderInfo, CreateOrderState createOrderState, UserAddress userAddress, SerializationConstructorMarker serializationConstructorMarker) {
        if (2 != (i & 2)) {
            C6385y.m3971G(i, 2, CreateOrderResponse$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        if ((i & 1) == 0) {
            this.order = null;
        } else {
            this.order = orderInfo;
        }
        this.state = createOrderState;
        if ((i & 4) == 0) {
            this.userAddress = null;
        } else {
            this.userAddress = userAddress;
        }
    }

    public static /* synthetic */ CreateOrderResponse copy$default(CreateOrderResponse createOrderResponse, OrderInfo orderInfo, CreateOrderState createOrderState, UserAddress userAddress, int i, Object obj) {
        if ((i & 1) != 0) {
            orderInfo = createOrderResponse.order;
        }
        if ((i & 2) != 0) {
            createOrderState = createOrderResponse.state;
        }
        if ((i & 4) != 0) {
            userAddress = createOrderResponse.userAddress;
        }
        return createOrderResponse.copy(orderInfo, createOrderState, userAddress);
    }

    public static /* synthetic */ void getOrder$annotations() {
    }

    public static /* synthetic */ void getState$annotations() {
    }

    public static /* synthetic */ void getUserAddress$annotations() {
    }

    public static final void write$Self(CreateOrderResponse createOrderResponse, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(createOrderResponse, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        if (encoding.mo5146A(serialDescriptor) || createOrderResponse.order != null) {
            encoding.mo5116n(serialDescriptor, 0, OrderInfo$$serializer.INSTANCE, createOrderResponse.order);
        }
        encoding.mo5123g(serialDescriptor, 1, CreateOrderStateSerializer.INSTANCE, createOrderResponse.state);
        if ((encoding.mo5146A(serialDescriptor) || createOrderResponse.userAddress != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 2, UserAddress$$serializer.INSTANCE, createOrderResponse.userAddress);
        }
    }

    public final OrderInfo component1() {
        return this.order;
    }

    public final CreateOrderState component2() {
        return this.state;
    }

    public final UserAddress component3() {
        return this.userAddress;
    }

    public final CreateOrderResponse copy(OrderInfo orderInfo, CreateOrderState createOrderState, UserAddress userAddress) {
        TypeConverters.m15411i(createOrderState, "state");
        return new CreateOrderResponse(orderInfo, createOrderState, userAddress);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof CreateOrderResponse) {
            CreateOrderResponse createOrderResponse = (CreateOrderResponse) obj;
            return TypeConverters.m15416b(this.order, createOrderResponse.order) && this.state == createOrderResponse.state && TypeConverters.m15416b(this.userAddress, createOrderResponse.userAddress);
        }
        return false;
    }

    public final OrderInfo getOrder() {
        return this.order;
    }

    public final CreateOrderState getState() {
        return this.state;
    }

    public final UserAddress getUserAddress() {
        return this.userAddress;
    }

    public int hashCode() {
        OrderInfo orderInfo = this.order;
        int hashCode = (this.state.hashCode() + ((orderInfo == null ? 0 : orderInfo.hashCode()) * 31)) * 31;
        UserAddress userAddress = this.userAddress;
        return hashCode + (userAddress != null ? userAddress.hashCode() : 0);
    }

    public final void setOrder(OrderInfo orderInfo) {
        this.order = orderInfo;
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("CreateOrderResponse(order=");
        m15134j.append(this.order);
        m15134j.append(", state=");
        m15134j.append(this.state);
        m15134j.append(", userAddress=");
        m15134j.append(this.userAddress);
        m15134j.append(')');
        return m15134j.toString();
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        OrderInfo orderInfo = this.order;
        if (orderInfo == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            orderInfo.writeToParcel(parcel, i);
        }
        parcel.writeString(this.state.name());
        UserAddress userAddress = this.userAddress;
        if (userAddress == null) {
            parcel.writeInt(0);
            return;
        }
        parcel.writeInt(1);
        userAddress.writeToParcel(parcel, i);
    }

    public CreateOrderResponse(OrderInfo orderInfo, CreateOrderState createOrderState, UserAddress userAddress) {
        TypeConverters.m15411i(createOrderState, "state");
        this.order = orderInfo;
        this.state = createOrderState;
        this.userAddress = userAddress;
    }

    public /* synthetic */ CreateOrderResponse(OrderInfo orderInfo, CreateOrderState createOrderState, UserAddress userAddress, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : orderInfo, createOrderState, (i & 4) != 0 ? null : userAddress);
    }
}

Create payment request:


package com.app.tgtg.model.remote.order.request;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import com.app.tgtg.model.remote.order.Authorization;
import com.app.tgtg.model.remote.order.Authorization$$serializer;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: CreatePaymentRequest.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0010\u000e\n\u0000\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 &2\u00020\u0001:\u0002'&B\u000f\u0012\u0006\u0010\u000b\u001a\u00020\t¢\u0006\u0004\b!\u0010\u001eB'\b\u0017\u0012\u0006\u0010\"\u001a\u00020\u000f\u0012\n\b\u0001\u0010\u000b\u001a\u0004\u0018\u00010\t\u0012\b\u0010$\u001a\u0004\u0018\u00010#¢\u0006\u0004\b!\u0010%J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\t\u0010\n\u001a\u00020\tHÆ\u0003J\u0013\u0010\f\u001a\u00020\u00002\b\b\u0002\u0010\u000b\u001a\u00020\tHÆ\u0001J\t\u0010\u000e\u001a\u00020\rHÖ\u0001J\t\u0010\u0010\u001a\u00020\u000fHÖ\u0001J\u0013\u0010\u0014\u001a\u00020\u00132\b\u0010\u0012\u001a\u0004\u0018\u00010\u0011HÖ\u0003J\t\u0010\u0015\u001a\u00020\u000fHÖ\u0001J\u0019\u0010\u0019\u001a\u00020\u00072\u0006\u0010\u0017\u001a\u00020\u00162\u0006\u0010\u0018\u001a\u00020\u000fHÖ\u0001R(\u0010\u000b\u001a\u00020\t8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u000b\u0010\u001a\u0012\u0004\b\u001f\u0010 \u001a\u0004\b\u001b\u0010\u001c\"\u0004\b\u001d\u0010\u001e¨\u0006("}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/request/CreatePaymentRequest;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "Lcom/app/tgtg/model/remote/order/Authorization;", "component1", "authorization", "copy", "", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Lcom/app/tgtg/model/remote/order/Authorization;", "getAuthorization", "()Lcom/app/tgtg/model/remote/order/Authorization;", "setAuthorization", "(Lcom/app/tgtg/model/remote/order/Authorization;)V", "getAuthorization$annotations", "()V", "<init>", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILcom/app/tgtg/model/remote/order/Authorization;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class CreatePaymentRequest implements Parcelable {
    private Authorization authorization;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<CreatePaymentRequest> CREATOR = new Creator();

    /* compiled from: CreatePaymentRequest.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/request/CreatePaymentRequest$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/request/CreatePaymentRequest;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<CreatePaymentRequest> serializer() {
            return CreatePaymentRequest$$serializer.INSTANCE;
        }
    }

    /* compiled from: CreatePaymentRequest.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<CreatePaymentRequest> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final CreatePaymentRequest createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new CreatePaymentRequest(Authorization.CREATOR.createFromParcel(parcel));
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final CreatePaymentRequest[] newArray(int i) {
            return new CreatePaymentRequest[i];
        }
    }

    public /* synthetic */ CreatePaymentRequest(int i, Authorization authorization, SerializationConstructorMarker serializationConstructorMarker) {
        if (1 == (i & 1)) {
            this.authorization = authorization;
        } else {
            C6385y.m3971G(i, 1, CreatePaymentRequest$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
    }

    public static /* synthetic */ CreatePaymentRequest copy$default(CreatePaymentRequest createPaymentRequest, Authorization authorization, int i, Object obj) {
        if ((i & 1) != 0) {
            authorization = createPaymentRequest.authorization;
        }
        return createPaymentRequest.copy(authorization);
    }

    public static /* synthetic */ void getAuthorization$annotations() {
    }

    public static final void write$Self(CreatePaymentRequest createPaymentRequest, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(createPaymentRequest, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        encoding.mo5123g(serialDescriptor, 0, Authorization$$serializer.INSTANCE, createPaymentRequest.authorization);
    }

    public final Authorization component1() {
        return this.authorization;
    }

    public final CreatePaymentRequest copy(Authorization authorization) {
        TypeConverters.m15411i(authorization, "authorization");
        return new CreatePaymentRequest(authorization);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        return (obj instanceof CreatePaymentRequest) && TypeConverters.m15416b(this.authorization, ((CreatePaymentRequest) obj).authorization);
    }

    public final Authorization getAuthorization() {
        return this.authorization;
    }

    public int hashCode() {
        return this.authorization.hashCode();
    }

    public final void setAuthorization(Authorization authorization) {
        TypeConverters.m15411i(authorization, "<set-?>");
        this.authorization = authorization;
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("CreatePaymentRequest(authorization=");
        m15134j.append(this.authorization);
        m15134j.append(')');
        return m15134j.toString();
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        this.authorization.writeToParcel(parcel, i);
    }

    public CreatePaymentRequest(Authorization authorization) {
        TypeConverters.m15411i(authorization, "authorization");
        this.authorization = authorization;
    }
}

create payment response:

package com.app.tgtg.model.remote.payment.response;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import androidx.emoji2.text.C0452g;
import com.app.tgtg.model.remote.payment.PaymentMethods;
import com.app.tgtg.model.remote.payment.PaymentMethods$$serializer;
import java.util.ArrayList;
import java.util.Iterator;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.C4872e;
import p255kl.C4885i1;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: PaymentMethodsResponse.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000\\\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0015\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 62\u00020\u0001:\u000276BO\u0012\u001c\b\u0002\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b\u0012\u001c\b\u0002\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b\u0012\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u000f¢\u0006\u0004\b0\u00101Bc\b\u0017\u0012\u0006\u00102\u001a\u00020\u0016\u0012\u001c\b\u0001\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b\u0012\u001c\b\u0001\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b\u0012\n\b\u0001\u0010\u0013\u001a\u0004\u0018\u00010\u000f\u0012\b\u00104\u001a\u0004\u0018\u000103¢\u0006\u0004\b0\u00105J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\u001d\u0010\f\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000bHÆ\u0003J\u001d\u0010\u000e\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000bHÆ\u0003J\u000b\u0010\u0010\u001a\u0004\u0018\u00010\u000fHÆ\u0003JQ\u0010\u0014\u001a\u00020\u00002\u001c\b\u0002\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b2\u001c\b\u0002\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b2\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u000fHÆ\u0001J\t\u0010\u0015\u001a\u00020\u000fHÖ\u0001J\t\u0010\u0017\u001a\u00020\u0016HÖ\u0001J\u0013\u0010\u001b\u001a\u00020\u001a2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0018HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0016HÖ\u0001J\u0019\u0010 \u001a\u00020\u00072\u0006\u0010\u001e\u001a\u00020\u001d2\u0006\u0010\u001f\u001a\u00020\u0016HÖ\u0001R4\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0011\u0010!\u0012\u0004\b$\u0010%\u001a\u0004\b\"\u0010#R<\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u0012\u0010!\u0012\u0004\b)\u0010%\u001a\u0004\b&\u0010#\"\u0004\b'\u0010(R*\u0010\u0013\u001a\u0004\u0018\u00010\u000f8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u0013\u0010*\u0012\u0004\b/\u0010%\u001a\u0004\b+\u0010,\"\u0004\b-\u0010.¨\u00068"}, m6127d2 = {"Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "Ljava/util/ArrayList;", "Lcom/app/tgtg/model/remote/payment/response/ProviderResponse;", "Lkotlin/collections/ArrayList;", "component1", "Lcom/app/tgtg/model/remote/payment/PaymentMethods;", "component2", "", "component3", "providerResponse", "paymentMethods", "state", "copy", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Ljava/util/ArrayList;", "getProviderResponse", "()Ljava/util/ArrayList;", "getProviderResponse$annotations", "()V", "getPaymentMethods", "setPaymentMethods", "(Ljava/util/ArrayList;)V", "getPaymentMethods$annotations", "Ljava/lang/String;", "getState", "()Ljava/lang/String;", "setState", "(Ljava/lang/String;)V", "getState$annotations", "<init>", "(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILjava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class PaymentMethodsResponse implements Parcelable {
    private ArrayList<PaymentMethods> paymentMethods;
    private final ArrayList<ProviderResponse> providerResponse;
    private String state;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<PaymentMethodsResponse> CREATOR = new Creator();

    /* compiled from: PaymentMethodsResponse.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<PaymentMethodsResponse> serializer() {
            return PaymentMethodsResponse$$serializer.INSTANCE;
        }
    }

    /* compiled from: PaymentMethodsResponse.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<PaymentMethodsResponse> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final PaymentMethodsResponse createFromParcel(Parcel parcel) {
            ArrayList arrayList;
            TypeConverters.m15411i(parcel, "parcel");
            ArrayList arrayList2 = null;
            if (parcel.readInt() == 0) {
                arrayList = null;
            } else {
                int readInt = parcel.readInt();
                arrayList = new ArrayList(readInt);
                for (int i = 0; i != readInt; i++) {
                    arrayList.add(ProviderResponse.CREATOR.createFromParcel(parcel));
                }
            }
            if (parcel.readInt() != 0) {
                int readInt2 = parcel.readInt();
                arrayList2 = new ArrayList(readInt2);
                for (int i2 = 0; i2 != readInt2; i2++) {
                    arrayList2.add(PaymentMethods.CREATOR.createFromParcel(parcel));
                }
            }
            return new PaymentMethodsResponse(arrayList, arrayList2, parcel.readString());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final PaymentMethodsResponse[] newArray(int i) {
            return new PaymentMethodsResponse[i];
        }
    }

    public PaymentMethodsResponse() {
        this((ArrayList) null, (ArrayList) null, (String) null, 7, (DefaultConstructorMarker) null);
    }

    public /* synthetic */ PaymentMethodsResponse(int i, ArrayList arrayList, ArrayList arrayList2, String str, SerializationConstructorMarker serializationConstructorMarker) {
        if ((i & 0) != 0) {
            C6385y.m3971G(i, 0, PaymentMethodsResponse$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        if ((i & 1) == 0) {
            this.providerResponse = null;
        } else {
            this.providerResponse = arrayList;
        }
        if ((i & 2) == 0) {
            this.paymentMethods = null;
        } else {
            this.paymentMethods = arrayList2;
        }
        if ((i & 4) == 0) {
            this.state = null;
        } else {
            this.state = str;
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ PaymentMethodsResponse copy$default(PaymentMethodsResponse paymentMethodsResponse, ArrayList arrayList, ArrayList arrayList2, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            arrayList = paymentMethodsResponse.providerResponse;
        }
        if ((i & 2) != 0) {
            arrayList2 = paymentMethodsResponse.paymentMethods;
        }
        if ((i & 4) != 0) {
            str = paymentMethodsResponse.state;
        }
        return paymentMethodsResponse.copy(arrayList, arrayList2, str);
    }

    public static /* synthetic */ void getPaymentMethods$annotations() {
    }

    public static /* synthetic */ void getProviderResponse$annotations() {
    }

    public static /* synthetic */ void getState$annotations() {
    }

    public static final void write$Self(PaymentMethodsResponse paymentMethodsResponse, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(paymentMethodsResponse, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        if (encoding.mo5146A(serialDescriptor) || paymentMethodsResponse.providerResponse != null) {
            encoding.mo5116n(serialDescriptor, 0, new C4872e(ProviderResponse$$serializer.INSTANCE), paymentMethodsResponse.providerResponse);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentMethodsResponse.paymentMethods != null) {
            encoding.mo5116n(serialDescriptor, 1, new C4872e(PaymentMethods$$serializer.INSTANCE), paymentMethodsResponse.paymentMethods);
        }
        if ((encoding.mo5146A(serialDescriptor) || paymentMethodsResponse.state != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 2, C4885i1.f17635a, paymentMethodsResponse.state);
        }
    }

    public final ArrayList<ProviderResponse> component1() {
        return this.providerResponse;
    }

    public final ArrayList<PaymentMethods> component2() {
        return this.paymentMethods;
    }

    public final String component3() {
        return this.state;
    }

    public final PaymentMethodsResponse copy(ArrayList<ProviderResponse> arrayList, ArrayList<PaymentMethods> arrayList2, String str) {
        return new PaymentMethodsResponse(arrayList, arrayList2, str);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof PaymentMethodsResponse) {
            PaymentMethodsResponse paymentMethodsResponse = (PaymentMethodsResponse) obj;
            return TypeConverters.m15416b(this.providerResponse, paymentMethodsResponse.providerResponse) && TypeConverters.m15416b(this.paymentMethods, paymentMethodsResponse.paymentMethods) && TypeConverters.m15416b(this.state, paymentMethodsResponse.state);
        }
        return false;
    }

    public final ArrayList<PaymentMethods> getPaymentMethods() {
        return this.paymentMethods;
    }

    public final ArrayList<ProviderResponse> getProviderResponse() {
        return this.providerResponse;
    }

    public final String getState() {
        return this.state;
    }

    public int hashCode() {
        ArrayList<ProviderResponse> arrayList = this.providerResponse;
        int hashCode = (arrayList == null ? 0 : arrayList.hashCode()) * 31;
        ArrayList<PaymentMethods> arrayList2 = this.paymentMethods;
        int hashCode2 = (hashCode + (arrayList2 == null ? 0 : arrayList2.hashCode())) * 31;
        String str = this.state;
        return hashCode2 + (str != null ? str.hashCode() : 0);
    }

    public final void setPaymentMethods(ArrayList<PaymentMethods> arrayList) {
        this.paymentMethods = arrayList;
    }

    public final void setState(String str) {
        this.state = str;
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("PaymentMethodsResponse(providerResponse=");
        m15134j.append(this.providerResponse);
        m15134j.append(", paymentMethods=");
        m15134j.append(this.paymentMethods);
        m15134j.append(", state=");
        return C0452g.m14330a(m15134j, this.state, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        ArrayList<ProviderResponse> arrayList = this.providerResponse;
        if (arrayList == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            parcel.writeInt(arrayList.size());
            Iterator<ProviderResponse> it = arrayList.iterator();
            while (it.hasNext()) {
                it.next().writeToParcel(parcel, i);
            }
        }
        ArrayList<PaymentMethods> arrayList2 = this.paymentMethods;
        if (arrayList2 == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            parcel.writeInt(arrayList2.size());
            Iterator<PaymentMethods> it2 = arrayList2.iterator();
            while (it2.hasNext()) {
                it2.next().writeToParcel(parcel, i);
            }
        }
        parcel.writeString(this.state);
    }

    public PaymentMethodsResponse(ArrayList<ProviderResponse> arrayList, ArrayList<PaymentMethods> arrayList2, String str) {
        this.providerResponse = arrayList;
        this.paymentMethods = arrayList2;
        this.state = str;
    }

    public /* synthetic */ PaymentMethodsResponse(ArrayList arrayList, ArrayList arrayList2, String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : arrayList, (i & 2) != 0 ? null : arrayList2, (i & 4) != 0 ? null : str);
    }
}

Payment method request:

package com.app.tgtg.model.remote.payment.request;

import android.support.p017v4.media.C0136c;
import java.util.ArrayList;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.C4872e;
import p255kl.C4875f0;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: PaymentMethodsRequest.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\b\n\u0002\b\u0006\n\u0002\u0010\u000e\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\f\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 (2\u00020\u0001:\u0002)(B+\u0012\u0016\u0010\u0010\u001a\u0012\u0012\u0004\u0012\u00020\n0\tj\b\u0012\u0004\u0012\u00020\n`\u000b\u0012\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\r¢\u0006\u0004\b\"\u0010#BE\b\u0017\u0012\u0006\u0010$\u001a\u00020\r\u0012\u001c\b\u0001\u0010\u0010\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b\u0012\n\b\u0001\u0010\u0011\u001a\u0004\u0018\u00010\r\u0012\b\u0010&\u001a\u0004\u0018\u00010%¢\u0006\u0004\b\"\u0010'J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\u0019\u0010\f\u001a\u0012\u0012\u0004\u0012\u00020\n0\tj\b\u0012\u0004\u0012\u00020\n`\u000bHÆ\u0003J\u0012\u0010\u000e\u001a\u0004\u0018\u00010\rHÆ\u0003¢\u0006\u0004\b\u000e\u0010\u000fJ6\u0010\u0012\u001a\u00020\u00002\u0018\b\u0002\u0010\u0010\u001a\u0012\u0012\u0004\u0012\u00020\n0\tj\b\u0012\u0004\u0012\u00020\n`\u000b2\n\b\u0002\u0010\u0011\u001a\u0004\u0018\u00010\rHÆ\u0001¢\u0006\u0004\b\u0012\u0010\u0013J\t\u0010\u0015\u001a\u00020\u0014HÖ\u0001J\t\u0010\u0016\u001a\u00020\rHÖ\u0001J\u0013\u0010\u0019\u001a\u00020\u00182\b\u0010\u0017\u001a\u0004\u0018\u00010\u0001HÖ\u0003R0\u0010\u0010\u001a\u0012\u0012\u0004\u0012\u00020\n0\tj\b\u0012\u0004\u0012\u00020\n`\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0010\u0010\u001a\u0012\u0004\b\u001d\u0010\u001e\u001a\u0004\b\u001b\u0010\u001cR\"\u0010\u0011\u001a\u0004\u0018\u00010\r8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0011\u0010\u001f\u0012\u0004\b!\u0010\u001e\u001a\u0004\b \u0010\u000f¨\u0006*"}, m6127d2 = {"Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest;", "", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "Ljava/util/ArrayList;", "Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequestItem;", "Lkotlin/collections/ArrayList;", "component1", "", "component2", "()Ljava/lang/Integer;", "supportedTypes", "braintreeSdkVersion", "copy", "(Ljava/util/ArrayList;Ljava/lang/Integer;)Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest;", "", "toString", "hashCode", "other", "", "equals", "Ljava/util/ArrayList;", "getSupportedTypes", "()Ljava/util/ArrayList;", "getSupportedTypes$annotations", "()V", "Ljava/lang/Integer;", "getBraintreeSdkVersion", "getBraintreeSdkVersion$annotations", "<init>", "(Ljava/util/ArrayList;Ljava/lang/Integer;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILjava/util/ArrayList;Ljava/lang/Integer;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class PaymentMethodsRequest {
    public static final Companion Companion = new Companion(null);
    private final Integer braintreeSdkVersion;
    private final ArrayList<PaymentMethodsRequestItem> supportedTypes;

    /* compiled from: PaymentMethodsRequest.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/payment/request/PaymentMethodsRequest;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<PaymentMethodsRequest> serializer() {
            return PaymentMethodsRequest$$serializer.INSTANCE;
        }
    }

    public /* synthetic */ PaymentMethodsRequest(int i, ArrayList arrayList, Integer num, SerializationConstructorMarker serializationConstructorMarker) {
        if (1 != (i & 1)) {
            C6385y.m3971G(i, 1, PaymentMethodsRequest$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.supportedTypes = arrayList;
        if ((i & 2) == 0) {
            this.braintreeSdkVersion = null;
        } else {
            this.braintreeSdkVersion = num;
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ PaymentMethodsRequest copy$default(PaymentMethodsRequest paymentMethodsRequest, ArrayList arrayList, Integer num, int i, Object obj) {
        if ((i & 1) != 0) {
            arrayList = paymentMethodsRequest.supportedTypes;
        }
        if ((i & 2) != 0) {
            num = paymentMethodsRequest.braintreeSdkVersion;
        }
        return paymentMethodsRequest.copy(arrayList, num);
    }

    public static /* synthetic */ void getBraintreeSdkVersion$annotations() {
    }

    public static /* synthetic */ void getSupportedTypes$annotations() {
    }

    public static final void write$Self(PaymentMethodsRequest paymentMethodsRequest, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(paymentMethodsRequest, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        encoding.mo5123g(serialDescriptor, 0, new C4872e(PaymentMethodsRequestItem$$serializer.INSTANCE), paymentMethodsRequest.supportedTypes);
        if ((encoding.mo5146A(serialDescriptor) || paymentMethodsRequest.braintreeSdkVersion != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 1, C4875f0.f17618a, paymentMethodsRequest.braintreeSdkVersion);
        }
    }

    public final ArrayList<PaymentMethodsRequestItem> component1() {
        return this.supportedTypes;
    }

    public final Integer component2() {
        return this.braintreeSdkVersion;
    }

    public final PaymentMethodsRequest copy(ArrayList<PaymentMethodsRequestItem> arrayList, Integer num) {
        TypeConverters.m15411i(arrayList, "supportedTypes");
        return new PaymentMethodsRequest(arrayList, num);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof PaymentMethodsRequest) {
            PaymentMethodsRequest paymentMethodsRequest = (PaymentMethodsRequest) obj;
            return TypeConverters.m15416b(this.supportedTypes, paymentMethodsRequest.supportedTypes) && TypeConverters.m15416b(this.braintreeSdkVersion, paymentMethodsRequest.braintreeSdkVersion);
        }
        return false;
    }

    public final Integer getBraintreeSdkVersion() {
        return this.braintreeSdkVersion;
    }

    public final ArrayList<PaymentMethodsRequestItem> getSupportedTypes() {
        return this.supportedTypes;
    }

    public int hashCode() {
        int hashCode = this.supportedTypes.hashCode() * 31;
        Integer num = this.braintreeSdkVersion;
        return hashCode + (num == null ? 0 : num.hashCode());
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("PaymentMethodsRequest(supportedTypes=");
        m15134j.append(this.supportedTypes);
        m15134j.append(", braintreeSdkVersion=");
        m15134j.append(this.braintreeSdkVersion);
        m15134j.append(')');
        return m15134j.toString();
    }

    public PaymentMethodsRequest(ArrayList<PaymentMethodsRequestItem> arrayList, Integer num) {
        TypeConverters.m15411i(arrayList, "supportedTypes");
        this.supportedTypes = arrayList;
        this.braintreeSdkVersion = num;
    }

    public /* synthetic */ PaymentMethodsRequest(ArrayList arrayList, Integer num, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(arrayList, (i & 2) != 0 ? null : num);
    }
}

payment method response:

package com.app.tgtg.model.remote.payment.response;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import androidx.emoji2.text.C0452g;
import com.app.tgtg.model.remote.payment.PaymentMethods;
import com.app.tgtg.model.remote.payment.PaymentMethods$$serializer;
import java.util.ArrayList;
import java.util.Iterator;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.C4872e;
import p255kl.C4885i1;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: PaymentMethodsResponse.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000\\\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0006\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0015\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 62\u00020\u0001:\u000276BO\u0012\u001c\b\u0002\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b\u0012\u001c\b\u0002\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b\u0012\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u000f¢\u0006\u0004\b0\u00101Bc\b\u0017\u0012\u0006\u00102\u001a\u00020\u0016\u0012\u001c\b\u0001\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b\u0012\u001c\b\u0001\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b\u0012\n\b\u0001\u0010\u0013\u001a\u0004\u0018\u00010\u000f\u0012\b\u00104\u001a\u0004\u0018\u000103¢\u0006\u0004\b0\u00105J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\u001d\u0010\f\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000bHÆ\u0003J\u001d\u0010\u000e\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000bHÆ\u0003J\u000b\u0010\u0010\u001a\u0004\u0018\u00010\u000fHÆ\u0003JQ\u0010\u0014\u001a\u00020\u00002\u001c\b\u0002\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b2\u001c\b\u0002\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b2\n\b\u0002\u0010\u0013\u001a\u0004\u0018\u00010\u000fHÆ\u0001J\t\u0010\u0015\u001a\u00020\u000fHÖ\u0001J\t\u0010\u0017\u001a\u00020\u0016HÖ\u0001J\u0013\u0010\u001b\u001a\u00020\u001a2\b\u0010\u0019\u001a\u0004\u0018\u00010\u0018HÖ\u0003J\t\u0010\u001c\u001a\u00020\u0016HÖ\u0001J\u0019\u0010 \u001a\u00020\u00072\u0006\u0010\u001e\u001a\u00020\u001d2\u0006\u0010\u001f\u001a\u00020\u0016HÖ\u0001R4\u0010\u0011\u001a\u0016\u0012\u0004\u0012\u00020\n\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\n\u0018\u0001`\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0011\u0010!\u0012\u0004\b$\u0010%\u001a\u0004\b\"\u0010#R<\u0010\u0012\u001a\u0016\u0012\u0004\u0012\u00020\r\u0018\u00010\tj\n\u0012\u0004\u0012\u00020\r\u0018\u0001`\u000b8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u0012\u0010!\u0012\u0004\b)\u0010%\u001a\u0004\b&\u0010#\"\u0004\b'\u0010(R*\u0010\u0013\u001a\u0004\u0018\u00010\u000f8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u0013\u0010*\u0012\u0004\b/\u0010%\u001a\u0004\b+\u0010,\"\u0004\b-\u0010.¨\u00068"}, m6127d2 = {"Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "Ljava/util/ArrayList;", "Lcom/app/tgtg/model/remote/payment/response/ProviderResponse;", "Lkotlin/collections/ArrayList;", "component1", "Lcom/app/tgtg/model/remote/payment/PaymentMethods;", "component2", "", "component3", "providerResponse", "paymentMethods", "state", "copy", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Ljava/util/ArrayList;", "getProviderResponse", "()Ljava/util/ArrayList;", "getProviderResponse$annotations", "()V", "getPaymentMethods", "setPaymentMethods", "(Ljava/util/ArrayList;)V", "getPaymentMethods$annotations", "Ljava/lang/String;", "getState", "()Ljava/lang/String;", "setState", "(Ljava/lang/String;)V", "getState$annotations", "<init>", "(Ljava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILjava/util/ArrayList;Ljava/util/ArrayList;Ljava/lang/String;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class PaymentMethodsResponse implements Parcelable {
    private ArrayList<PaymentMethods> paymentMethods;
    private final ArrayList<ProviderResponse> providerResponse;
    private String state;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<PaymentMethodsResponse> CREATOR = new Creator();

    /* compiled from: PaymentMethodsResponse.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/payment/response/PaymentMethodsResponse;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<PaymentMethodsResponse> serializer() {
            return PaymentMethodsResponse$$serializer.INSTANCE;
        }
    }

    /* compiled from: PaymentMethodsResponse.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<PaymentMethodsResponse> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final PaymentMethodsResponse createFromParcel(Parcel parcel) {
            ArrayList arrayList;
            TypeConverters.m15411i(parcel, "parcel");
            ArrayList arrayList2 = null;
            if (parcel.readInt() == 0) {
                arrayList = null;
            } else {
                int readInt = parcel.readInt();
                arrayList = new ArrayList(readInt);
                for (int i = 0; i != readInt; i++) {
                    arrayList.add(ProviderResponse.CREATOR.createFromParcel(parcel));
                }
            }
            if (parcel.readInt() != 0) {
                int readInt2 = parcel.readInt();
                arrayList2 = new ArrayList(readInt2);
                for (int i2 = 0; i2 != readInt2; i2++) {
                    arrayList2.add(PaymentMethods.CREATOR.createFromParcel(parcel));
                }
            }
            return new PaymentMethodsResponse(arrayList, arrayList2, parcel.readString());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final PaymentMethodsResponse[] newArray(int i) {
            return new PaymentMethodsResponse[i];
        }
    }

    public PaymentMethodsResponse() {
        this((ArrayList) null, (ArrayList) null, (String) null, 7, (DefaultConstructorMarker) null);
    }

    public /* synthetic */ PaymentMethodsResponse(int i, ArrayList arrayList, ArrayList arrayList2, String str, SerializationConstructorMarker serializationConstructorMarker) {
        if ((i & 0) != 0) {
            C6385y.m3971G(i, 0, PaymentMethodsResponse$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        if ((i & 1) == 0) {
            this.providerResponse = null;
        } else {
            this.providerResponse = arrayList;
        }
        if ((i & 2) == 0) {
            this.paymentMethods = null;
        } else {
            this.paymentMethods = arrayList2;
        }
        if ((i & 4) == 0) {
            this.state = null;
        } else {
            this.state = str;
        }
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ PaymentMethodsResponse copy$default(PaymentMethodsResponse paymentMethodsResponse, ArrayList arrayList, ArrayList arrayList2, String str, int i, Object obj) {
        if ((i & 1) != 0) {
            arrayList = paymentMethodsResponse.providerResponse;
        }
        if ((i & 2) != 0) {
            arrayList2 = paymentMethodsResponse.paymentMethods;
        }
        if ((i & 4) != 0) {
            str = paymentMethodsResponse.state;
        }
        return paymentMethodsResponse.copy(arrayList, arrayList2, str);
    }

    public static /* synthetic */ void getPaymentMethods$annotations() {
    }

    public static /* synthetic */ void getProviderResponse$annotations() {
    }

    public static /* synthetic */ void getState$annotations() {
    }

    public static final void write$Self(PaymentMethodsResponse paymentMethodsResponse, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(paymentMethodsResponse, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        if (encoding.mo5146A(serialDescriptor) || paymentMethodsResponse.providerResponse != null) {
            encoding.mo5116n(serialDescriptor, 0, new C4872e(ProviderResponse$$serializer.INSTANCE), paymentMethodsResponse.providerResponse);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentMethodsResponse.paymentMethods != null) {
            encoding.mo5116n(serialDescriptor, 1, new C4872e(PaymentMethods$$serializer.INSTANCE), paymentMethodsResponse.paymentMethods);
        }
        if ((encoding.mo5146A(serialDescriptor) || paymentMethodsResponse.state != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 2, C4885i1.f17635a, paymentMethodsResponse.state);
        }
    }

    public final ArrayList<ProviderResponse> component1() {
        return this.providerResponse;
    }

    public final ArrayList<PaymentMethods> component2() {
        return this.paymentMethods;
    }

    public final String component3() {
        return this.state;
    }

    public final PaymentMethodsResponse copy(ArrayList<ProviderResponse> arrayList, ArrayList<PaymentMethods> arrayList2, String str) {
        return new PaymentMethodsResponse(arrayList, arrayList2, str);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof PaymentMethodsResponse) {
            PaymentMethodsResponse paymentMethodsResponse = (PaymentMethodsResponse) obj;
            return TypeConverters.m15416b(this.providerResponse, paymentMethodsResponse.providerResponse) && TypeConverters.m15416b(this.paymentMethods, paymentMethodsResponse.paymentMethods) && TypeConverters.m15416b(this.state, paymentMethodsResponse.state);
        }
        return false;
    }

    public final ArrayList<PaymentMethods> getPaymentMethods() {
        return this.paymentMethods;
    }

    public final ArrayList<ProviderResponse> getProviderResponse() {
        return this.providerResponse;
    }

    public final String getState() {
        return this.state;
    }

    public int hashCode() {
        ArrayList<ProviderResponse> arrayList = this.providerResponse;
        int hashCode = (arrayList == null ? 0 : arrayList.hashCode()) * 31;
        ArrayList<PaymentMethods> arrayList2 = this.paymentMethods;
        int hashCode2 = (hashCode + (arrayList2 == null ? 0 : arrayList2.hashCode())) * 31;
        String str = this.state;
        return hashCode2 + (str != null ? str.hashCode() : 0);
    }

    public final void setPaymentMethods(ArrayList<PaymentMethods> arrayList) {
        this.paymentMethods = arrayList;
    }

    public final void setState(String str) {
        this.state = str;
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("PaymentMethodsResponse(providerResponse=");
        m15134j.append(this.providerResponse);
        m15134j.append(", paymentMethods=");
        m15134j.append(this.paymentMethods);
        m15134j.append(", state=");
        return C0452g.m14330a(m15134j, this.state, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        ArrayList<ProviderResponse> arrayList = this.providerResponse;
        if (arrayList == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            parcel.writeInt(arrayList.size());
            Iterator<ProviderResponse> it = arrayList.iterator();
            while (it.hasNext()) {
                it.next().writeToParcel(parcel, i);
            }
        }
        ArrayList<PaymentMethods> arrayList2 = this.paymentMethods;
        if (arrayList2 == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            parcel.writeInt(arrayList2.size());
            Iterator<PaymentMethods> it2 = arrayList2.iterator();
            while (it2.hasNext()) {
                it2.next().writeToParcel(parcel, i);
            }
        }
        parcel.writeString(this.state);
    }

    public PaymentMethodsResponse(ArrayList<ProviderResponse> arrayList, ArrayList<PaymentMethods> arrayList2, String str) {
        this.providerResponse = arrayList;
        this.paymentMethods = arrayList2;
        this.state = str;
    }

    public /* synthetic */ PaymentMethodsResponse(ArrayList arrayList, ArrayList arrayList2, String str, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : arrayList, (i & 2) != 0 ? null : arrayList2, (i & 4) != 0 ? null : str);
    }
}

Additionalauthrequest:

package com.app.tgtg.model.remote.order;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import com.adyen.checkout.components.status.model.StatusResponse;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: AdditionalAuthRequest.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u000f\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 +2\u00020\u0001:\u0002,+B\u0017\u0012\u0006\u0010\r\u001a\u00020\t\u0012\u0006\u0010\u000e\u001a\u00020\u000b¢\u0006\u0004\b%\u0010&B3\b\u0017\u0012\u0006\u0010'\u001a\u00020\u0011\u0012\n\b\u0001\u0010\r\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u000e\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010)\u001a\u0004\u0018\u00010(¢\u0006\u0004\b%\u0010*J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\t\u0010\n\u001a\u00020\tHÆ\u0003J\t\u0010\f\u001a\u00020\u000bHÆ\u0003J\u001d\u0010\u000f\u001a\u00020\u00002\b\b\u0002\u0010\r\u001a\u00020\t2\b\b\u0002\u0010\u000e\u001a\u00020\u000bHÆ\u0001J\t\u0010\u0010\u001a\u00020\tHÖ\u0001J\t\u0010\u0012\u001a\u00020\u0011HÖ\u0001J\u0013\u0010\u0016\u001a\u00020\u00152\b\u0010\u0014\u001a\u0004\u0018\u00010\u0013HÖ\u0003J\t\u0010\u0017\u001a\u00020\u0011HÖ\u0001J\u0019\u0010\u001b\u001a\u00020\u00072\u0006\u0010\u0019\u001a\u00020\u00182\u0006\u0010\u001a\u001a\u00020\u0011HÖ\u0001R \u0010\r\u001a\u00020\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\r\u0010\u001c\u0012\u0004\b\u001f\u0010 \u001a\u0004\b\u001d\u0010\u001eR \u0010\u000e\u001a\u00020\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u000e\u0010!\u0012\u0004\b$\u0010 \u001a\u0004\b\"\u0010#¨\u0006-"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/AdditionalAuthRequest;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "", "component1", "Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "component2", "paymentProvider", StatusResponse.PAYLOAD, "copy", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Ljava/lang/String;", "getPaymentProvider", "()Ljava/lang/String;", "getPaymentProvider$annotations", "()V", "Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "getPayload", "()Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "getPayload$annotations", "<init>", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/AuthorizationPayload;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILjava/lang/String;Lcom/app/tgtg/model/remote/order/AuthorizationPayload;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class AdditionalAuthRequest implements Parcelable {
    private final AuthorizationPayload payload;
    private final String paymentProvider;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<AdditionalAuthRequest> CREATOR = new Creator();

    /* compiled from: AdditionalAuthRequest.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/AdditionalAuthRequest$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/AdditionalAuthRequest;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<AdditionalAuthRequest> serializer() {
            return AdditionalAuthRequest$$serializer.INSTANCE;
        }
    }

    /* compiled from: AdditionalAuthRequest.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<AdditionalAuthRequest> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final AdditionalAuthRequest createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new AdditionalAuthRequest(parcel.readString(), AuthorizationPayload.CREATOR.createFromParcel(parcel));
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final AdditionalAuthRequest[] newArray(int i) {
            return new AdditionalAuthRequest[i];
        }
    }

    public /* synthetic */ AdditionalAuthRequest(int i, String str, AuthorizationPayload authorizationPayload, SerializationConstructorMarker serializationConstructorMarker) {
        if (3 != (i & 3)) {
            C6385y.m3971G(i, 3, AdditionalAuthRequest$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.paymentProvider = str;
        this.payload = authorizationPayload;
    }

    public static /* synthetic */ AdditionalAuthRequest copy$default(AdditionalAuthRequest additionalAuthRequest, String str, AuthorizationPayload authorizationPayload, int i, Object obj) {
        if ((i & 1) != 0) {
            str = additionalAuthRequest.paymentProvider;
        }
        if ((i & 2) != 0) {
            authorizationPayload = additionalAuthRequest.payload;
        }
        return additionalAuthRequest.copy(str, authorizationPayload);
    }

    public static /* synthetic */ void getPayload$annotations() {
    }

    public static /* synthetic */ void getPaymentProvider$annotations() {
    }

    public static final void write$Self(AdditionalAuthRequest additionalAuthRequest, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(additionalAuthRequest, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        encoding.mo5142E(serialDescriptor, 0, additionalAuthRequest.paymentProvider);
        encoding.mo5123g(serialDescriptor, 1, AuthorizationPayload$$serializer.INSTANCE, additionalAuthRequest.payload);
    }

    public final String component1() {
        return this.paymentProvider;
    }

    public final AuthorizationPayload component2() {
        return this.payload;
    }

    public final AdditionalAuthRequest copy(String str, AuthorizationPayload authorizationPayload) {
        TypeConverters.m15411i(str, "paymentProvider");
        TypeConverters.m15411i(authorizationPayload, StatusResponse.PAYLOAD);
        return new AdditionalAuthRequest(str, authorizationPayload);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof AdditionalAuthRequest) {
            AdditionalAuthRequest additionalAuthRequest = (AdditionalAuthRequest) obj;
            return TypeConverters.m15416b(this.paymentProvider, additionalAuthRequest.paymentProvider) && TypeConverters.m15416b(this.payload, additionalAuthRequest.payload);
        }
        return false;
    }

    public final AuthorizationPayload getPayload() {
        return this.payload;
    }

    public final String getPaymentProvider() {
        return this.paymentProvider;
    }

    public int hashCode() {
        return this.payload.hashCode() + (this.paymentProvider.hashCode() * 31);
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("AdditionalAuthRequest(paymentProvider=");
        m15134j.append(this.paymentProvider);
        m15134j.append(", payload=");
        m15134j.append(this.payload);
        m15134j.append(')');
        return m15134j.toString();
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        parcel.writeString(this.paymentProvider);
        this.payload.writeToParcel(parcel, i);
    }

    public AdditionalAuthRequest(String str, AuthorizationPayload authorizationPayload) {
        TypeConverters.m15411i(str, "paymentProvider");
        TypeConverters.m15411i(authorizationPayload, StatusResponse.PAYLOAD);
        this.paymentProvider = str;
        this.payload = authorizationPayload;
    }
}

Paymentresponse:

package com.app.tgtg.model.remote.order.response;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import androidx.emoji2.text.C0452g;
import androidx.recyclerview.widget.RecyclerView;
import com.adyen.checkout.components.status.model.StatusResponse;
import com.app.tgtg.model.remote.order.OrderState;
import com.app.tgtg.model.remote.order.OrderStateSerializer;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.C4885i1;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: PaymentResponse.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000V\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b\u0010\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u001f\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 J2\u00020\u0001:\u0002KJBs\u0012\n\b\u0002\u0010\u0015\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u000b\u0012\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u0018\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u0019\u001a\u0004\u0018\u00010\u000f\u0012\n\b\u0002\u0010\u001a\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001b\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001c\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001d\u001a\u0004\u0018\u00010\t¢\u0006\u0004\bD\u0010EB\u0087\u0001\b\u0017\u0012\u0006\u0010F\u001a\u00020 \u0012\n\b\u0001\u0010\u0015\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u0016\u001a\u0004\u0018\u00010\u000b\u0012\n\b\u0001\u0010\u0017\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u0018\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u0019\u001a\u0004\u0018\u00010\u000f\u0012\n\b\u0001\u0010\u001a\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001b\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001c\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001d\u001a\u0004\u0018\u00010\t\u0012\b\u0010H\u001a\u0004\u0018\u00010G¢\u0006\u0004\bD\u0010IJ!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\u000b\u0010\n\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\f\u001a\u0004\u0018\u00010\u000bHÆ\u0003J\u000b\u0010\r\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u000e\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0010\u001a\u0004\u0018\u00010\u000fHÆ\u0003J\u000b\u0010\u0011\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\tHÆ\u0003Ju\u0010\u001e\u001a\u00020\u00002\n\b\u0002\u0010\u0015\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\u000b2\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u0018\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u0019\u001a\u0004\u0018\u00010\u000f2\n\b\u0002\u0010\u001a\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001b\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001c\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001d\u001a\u0004\u0018\u00010\tHÆ\u0001J\t\u0010\u001f\u001a\u00020\tHÖ\u0001J\t\u0010!\u001a\u00020 HÖ\u0001J\u0013\u0010%\u001a\u00020$2\b\u0010#\u001a\u0004\u0018\u00010\"HÖ\u0003J\t\u0010&\u001a\u00020 HÖ\u0001J\u0019\u0010*\u001a\u00020\u00072\u0006\u0010(\u001a\u00020'2\u0006\u0010)\u001a\u00020 HÖ\u0001R\"\u0010\u0015\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0015\u0010+\u0012\u0004\b.\u0010/\u001a\u0004\b,\u0010-R\"\u0010\u0016\u001a\u0004\u0018\u00010\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0016\u00100\u0012\u0004\b3\u0010/\u001a\u0004\b1\u00102R\"\u0010\u0017\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0017\u0010+\u0012\u0004\b5\u0010/\u001a\u0004\b4\u0010-R\"\u0010\u0018\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0018\u0010+\u0012\u0004\b7\u0010/\u001a\u0004\b6\u0010-R\"\u0010\u0019\u001a\u0004\u0018\u00010\u000f8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0019\u00108\u0012\u0004\b;\u0010/\u001a\u0004\b9\u0010:R\"\u0010\u001a\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001a\u0010+\u0012\u0004\b=\u0010/\u001a\u0004\b<\u0010-R\"\u0010\u001b\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001b\u0010+\u0012\u0004\b?\u0010/\u001a\u0004\b>\u0010-R\"\u0010\u001c\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001c\u0010+\u0012\u0004\bA\u0010/\u001a\u0004\b@\u0010-R\"\u0010\u001d\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001d\u0010+\u0012\u0004\bC\u0010/\u001a\u0004\bB\u0010-¨\u0006L"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/PaymentResponse;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "", "component1", "Lcom/app/tgtg/model/remote/order/response/LatestChange;", "component2", "component3", "component4", "Lcom/app/tgtg/model/remote/order/OrderState;", "component5", "component6", "component7", "component8", "component9", "failureReason", "latestChange", "paymentId", "paymentProvider", "state", StatusResponse.PAYLOAD, "secret", "userId", "orderId", "copy", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Ljava/lang/String;", "getFailureReason", "()Ljava/lang/String;", "getFailureReason$annotations", "()V", "Lcom/app/tgtg/model/remote/order/response/LatestChange;", "getLatestChange", "()Lcom/app/tgtg/model/remote/order/response/LatestChange;", "getLatestChange$annotations", "getPaymentId", "getPaymentId$annotations", "getPaymentProvider", "getPaymentProvider$annotations", "Lcom/app/tgtg/model/remote/order/OrderState;", "getState", "()Lcom/app/tgtg/model/remote/order/OrderState;", "getState$annotations", "getPayload", "getPayload$annotations", "getSecret", "getSecret$annotations", "getUserId", "getUserId$annotations", "getOrderId", "getOrderId$annotations", "<init>", "(Ljava/lang/String;Lcom/app/tgtg/model/remote/order/response/LatestChange;Ljava/lang/String;Ljava/lang/String;Lcom/app/tgtg/model/remote/order/OrderState;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILjava/lang/String;Lcom/app/tgtg/model/remote/order/response/LatestChange;Ljava/lang/String;Ljava/lang/String;Lcom/app/tgtg/model/remote/order/OrderState;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class PaymentResponse implements Parcelable {
    private final String failureReason;
    private final LatestChange latestChange;
    private final String orderId;
    private final String payload;
    private final String paymentId;
    private final String paymentProvider;
    private final String secret;
    private final OrderState state;
    private final String userId;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<PaymentResponse> CREATOR = new Creator();

    /* compiled from: PaymentResponse.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/response/PaymentResponse$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/response/PaymentResponse;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<PaymentResponse> serializer() {
            return PaymentResponse$$serializer.INSTANCE;
        }
    }

    /* compiled from: PaymentResponse.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<PaymentResponse> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final PaymentResponse createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new PaymentResponse(parcel.readString(), parcel.readInt() == 0 ? null : LatestChange.CREATOR.createFromParcel(parcel), parcel.readString(), parcel.readString(), parcel.readInt() == 0 ? null : OrderState.valueOf(parcel.readString()), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final PaymentResponse[] newArray(int i) {
            return new PaymentResponse[i];
        }
    }

    public PaymentResponse() {
        this((String) null, (LatestChange) null, (String) null, (String) null, (OrderState) null, (String) null, (String) null, (String) null, (String) null, 511, (DefaultConstructorMarker) null);
    }

    public /* synthetic */ PaymentResponse(int i, String str, LatestChange latestChange, String str2, String str3, OrderState orderState, String str4, String str5, String str6, String str7, SerializationConstructorMarker serializationConstructorMarker) {
        if ((i & 0) != 0) {
            C6385y.m3971G(i, 0, PaymentResponse$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        if ((i & 1) == 0) {
            this.failureReason = null;
        } else {
            this.failureReason = str;
        }
        if ((i & 2) == 0) {
            this.latestChange = null;
        } else {
            this.latestChange = latestChange;
        }
        if ((i & 4) == 0) {
            this.paymentId = null;
        } else {
            this.paymentId = str2;
        }
        if ((i & 8) == 0) {
            this.paymentProvider = null;
        } else {
            this.paymentProvider = str3;
        }
        if ((i & 16) == 0) {
            this.state = null;
        } else {
            this.state = orderState;
        }
        if ((i & 32) == 0) {
            this.payload = null;
        } else {
            this.payload = str4;
        }
        if ((i & 64) == 0) {
            this.secret = null;
        } else {
            this.secret = str5;
        }
        if ((i & 128) == 0) {
            this.userId = null;
        } else {
            this.userId = str6;
        }
        if ((i & RecyclerView.AbstractC0607c0.FLAG_TMP_DETACHED) == 0) {
            this.orderId = null;
        } else {
            this.orderId = str7;
        }
    }

    public static /* synthetic */ void getFailureReason$annotations() {
    }

    public static /* synthetic */ void getLatestChange$annotations() {
    }

    public static /* synthetic */ void getOrderId$annotations() {
    }

    public static /* synthetic */ void getPayload$annotations() {
    }

    public static /* synthetic */ void getPaymentId$annotations() {
    }

    public static /* synthetic */ void getPaymentProvider$annotations() {
    }

    public static /* synthetic */ void getSecret$annotations() {
    }

    public static /* synthetic */ void getState$annotations() {
    }

    public static /* synthetic */ void getUserId$annotations() {
    }

    public static final void write$Self(PaymentResponse paymentResponse, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(paymentResponse, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.failureReason != null) {
            encoding.mo5116n(serialDescriptor, 0, C4885i1.f17635a, paymentResponse.failureReason);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.latestChange != null) {
            encoding.mo5116n(serialDescriptor, 1, LatestChange$$serializer.INSTANCE, paymentResponse.latestChange);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.paymentId != null) {
            encoding.mo5116n(serialDescriptor, 2, C4885i1.f17635a, paymentResponse.paymentId);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.paymentProvider != null) {
            encoding.mo5116n(serialDescriptor, 3, C4885i1.f17635a, paymentResponse.paymentProvider);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.state != null) {
            encoding.mo5116n(serialDescriptor, 4, OrderStateSerializer.INSTANCE, paymentResponse.state);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.payload != null) {
            encoding.mo5116n(serialDescriptor, 5, C4885i1.f17635a, paymentResponse.payload);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.secret != null) {
            encoding.mo5116n(serialDescriptor, 6, C4885i1.f17635a, paymentResponse.secret);
        }
        if (encoding.mo5146A(serialDescriptor) || paymentResponse.userId != null) {
            encoding.mo5116n(serialDescriptor, 7, C4885i1.f17635a, paymentResponse.userId);
        }
        if ((encoding.mo5146A(serialDescriptor) || paymentResponse.orderId != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 8, C4885i1.f17635a, paymentResponse.orderId);
        }
    }

    public final String component1() {
        return this.failureReason;
    }

    public final LatestChange component2() {
        return this.latestChange;
    }

    public final String component3() {
        return this.paymentId;
    }

    public final String component4() {
        return this.paymentProvider;
    }

    public final OrderState component5() {
        return this.state;
    }

    public final String component6() {
        return this.payload;
    }

    public final String component7() {
        return this.secret;
    }

    public final String component8() {
        return this.userId;
    }

    public final String component9() {
        return this.orderId;
    }

    public final PaymentResponse copy(String str, LatestChange latestChange, String str2, String str3, OrderState orderState, String str4, String str5, String str6, String str7) {
        return new PaymentResponse(str, latestChange, str2, str3, orderState, str4, str5, str6, str7);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof PaymentResponse) {
            PaymentResponse paymentResponse = (PaymentResponse) obj;
            return TypeConverters.m15416b(this.failureReason, paymentResponse.failureReason) && TypeConverters.m15416b(this.latestChange, paymentResponse.latestChange) && TypeConverters.m15416b(this.paymentId, paymentResponse.paymentId) && TypeConverters.m15416b(this.paymentProvider, paymentResponse.paymentProvider) && this.state == paymentResponse.state && TypeConverters.m15416b(this.payload, paymentResponse.payload) && TypeConverters.m15416b(this.secret, paymentResponse.secret) && TypeConverters.m15416b(this.userId, paymentResponse.userId) && TypeConverters.m15416b(this.orderId, paymentResponse.orderId);
        }
        return false;
    }

    public final String getFailureReason() {
        return this.failureReason;
    }

    public final LatestChange getLatestChange() {
        return this.latestChange;
    }

    public final String getOrderId() {
        return this.orderId;
    }

    public final String getPayload() {
        return this.payload;
    }

    public final String getPaymentId() {
        return this.paymentId;
    }

    public final String getPaymentProvider() {
        return this.paymentProvider;
    }

    public final String getSecret() {
        return this.secret;
    }

    public final OrderState getState() {
        return this.state;
    }

    public final String getUserId() {
        return this.userId;
    }

    public int hashCode() {
        String str = this.failureReason;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        LatestChange latestChange = this.latestChange;
        int hashCode2 = (hashCode + (latestChange == null ? 0 : latestChange.hashCode())) * 31;
        String str2 = this.paymentId;
        int hashCode3 = (hashCode2 + (str2 == null ? 0 : str2.hashCode())) * 31;
        String str3 = this.paymentProvider;
        int hashCode4 = (hashCode3 + (str3 == null ? 0 : str3.hashCode())) * 31;
        OrderState orderState = this.state;
        int hashCode5 = (hashCode4 + (orderState == null ? 0 : orderState.hashCode())) * 31;
        String str4 = this.payload;
        int hashCode6 = (hashCode5 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.secret;
        int hashCode7 = (hashCode6 + (str5 == null ? 0 : str5.hashCode())) * 31;
        String str6 = this.userId;
        int hashCode8 = (hashCode7 + (str6 == null ? 0 : str6.hashCode())) * 31;
        String str7 = this.orderId;
        return hashCode8 + (str7 != null ? str7.hashCode() : 0);
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("PaymentResponse(failureReason=");
        m15134j.append((Object) this.failureReason);
        m15134j.append(", latestChange=");
        m15134j.append(this.latestChange);
        m15134j.append(", paymentId=");
        m15134j.append((Object) this.paymentId);
        m15134j.append(", paymentProvider=");
        m15134j.append((Object) this.paymentProvider);
        m15134j.append(", state=");
        m15134j.append(this.state);
        m15134j.append(", payload=");
        m15134j.append((Object) this.payload);
        m15134j.append(", secret=");
        m15134j.append((Object) this.secret);
        m15134j.append(", userId=");
        m15134j.append((Object) this.userId);
        m15134j.append(", orderId=");
        return C0452g.m14330a(m15134j, this.orderId, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        parcel.writeString(this.failureReason);
        LatestChange latestChange = this.latestChange;
        if (latestChange == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            latestChange.writeToParcel(parcel, i);
        }
        parcel.writeString(this.paymentId);
        parcel.writeString(this.paymentProvider);
        OrderState orderState = this.state;
        if (orderState == null) {
            parcel.writeInt(0);
        } else {
            parcel.writeInt(1);
            parcel.writeString(orderState.name());
        }
        parcel.writeString(this.payload);
        parcel.writeString(this.secret);
        parcel.writeString(this.userId);
        parcel.writeString(this.orderId);
    }

    public PaymentResponse(String str, LatestChange latestChange, String str2, String str3, OrderState orderState, String str4, String str5, String str6, String str7) {
        this.failureReason = str;
        this.latestChange = latestChange;
        this.paymentId = str2;
        this.paymentProvider = str3;
        this.state = orderState;
        this.payload = str4;
        this.secret = str5;
        this.userId = str6;
        this.orderId = str7;
    }

    public /* synthetic */ PaymentResponse(String str, LatestChange latestChange, String str2, String str3, OrderState orderState, String str4, String str5, String str6, String str7, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : latestChange, (i & 4) != 0 ? null : str2, (i & 8) != 0 ? null : str3, (i & 16) != 0 ? null : orderState, (i & 32) != 0 ? null : str4, (i & 64) != 0 ? null : str5, (i & 128) != 0 ? null : str6, (i & RecyclerView.AbstractC0607c0.FLAG_TMP_DETACHED) == 0 ? str7 : null);
    }
}

authorization:

package com.app.tgtg.model.remote.order;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import androidx.emoji2.text.C0452g;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.C4885i1;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: Authorization.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000N\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0007\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\b\u0011\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 /2\u00020\u0001:\u00020/B#\u0012\u0006\u0010\u000e\u001a\u00020\t\u0012\u0006\u0010\u000f\u001a\u00020\u000b\u0012\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u000b¢\u0006\u0004\b)\u0010*B?\b\u0017\u0012\u0006\u0010+\u001a\u00020\u0013\u0012\n\b\u0001\u0010\u000e\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u000f\u001a\u0004\u0018\u00010\u000b\u0012\n\b\u0001\u0010\u0010\u001a\u0004\u0018\u00010\u000b\u0012\b\u0010-\u001a\u0004\u0018\u00010,¢\u0006\u0004\b)\u0010.J!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\t\u0010\n\u001a\u00020\tHÆ\u0003J\t\u0010\f\u001a\u00020\u000bHÆ\u0003J\u000b\u0010\r\u001a\u0004\u0018\u00010\u000bHÆ\u0003J)\u0010\u0011\u001a\u00020\u00002\b\b\u0002\u0010\u000e\u001a\u00020\t2\b\b\u0002\u0010\u000f\u001a\u00020\u000b2\n\b\u0002\u0010\u0010\u001a\u0004\u0018\u00010\u000bHÆ\u0001J\t\u0010\u0012\u001a\u00020\u000bHÖ\u0001J\t\u0010\u0014\u001a\u00020\u0013HÖ\u0001J\u0013\u0010\u0018\u001a\u00020\u00172\b\u0010\u0016\u001a\u0004\u0018\u00010\u0015HÖ\u0003J\t\u0010\u0019\u001a\u00020\u0013HÖ\u0001J\u0019\u0010\u001d\u001a\u00020\u00072\u0006\u0010\u001b\u001a\u00020\u001a2\u0006\u0010\u001c\u001a\u00020\u0013HÖ\u0001R \u0010\u000e\u001a\u00020\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u000e\u0010\u001e\u0012\u0004\b!\u0010\"\u001a\u0004\b\u001f\u0010 R \u0010\u000f\u001a\u00020\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u000f\u0010#\u0012\u0004\b&\u0010\"\u001a\u0004\b$\u0010%R\"\u0010\u0010\u001a\u0004\u0018\u00010\u000b8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0010\u0010#\u0012\u0004\b(\u0010\"\u001a\u0004\b'\u0010%¨\u00061"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/Authorization;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "component1", "", "component2", "component3", "authorizationPayload", "paymentProvider", "returnUrl", "copy", "toString", "", "hashCode", "", "other", "", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "getAuthorizationPayload", "()Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "getAuthorizationPayload$annotations", "()V", "Ljava/lang/String;", "getPaymentProvider", "()Ljava/lang/String;", "getPaymentProvider$annotations", "getReturnUrl", "getReturnUrl$annotations", "<init>", "(Lcom/app/tgtg/model/remote/order/AuthorizationPayload;Ljava/lang/String;Ljava/lang/String;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILcom/app/tgtg/model/remote/order/AuthorizationPayload;Ljava/lang/String;Ljava/lang/String;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class Authorization implements Parcelable {
    private final AuthorizationPayload authorizationPayload;
    private final String paymentProvider;
    private final String returnUrl;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<Authorization> CREATOR = new Creator();

    /* compiled from: Authorization.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/Authorization$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/Authorization;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<Authorization> serializer() {
            return Authorization$$serializer.INSTANCE;
        }
    }

    /* compiled from: Authorization.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<Authorization> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final Authorization createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new Authorization(AuthorizationPayload.CREATOR.createFromParcel(parcel), parcel.readString(), parcel.readString());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final Authorization[] newArray(int i) {
            return new Authorization[i];
        }
    }

    public /* synthetic */ Authorization(int i, AuthorizationPayload authorizationPayload, String str, String str2, SerializationConstructorMarker serializationConstructorMarker) {
        if (3 != (i & 3)) {
            C6385y.m3971G(i, 3, Authorization$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        this.authorizationPayload = authorizationPayload;
        this.paymentProvider = str;
        if ((i & 4) == 0) {
            this.returnUrl = null;
        } else {
            this.returnUrl = str2;
        }
    }

    public static /* synthetic */ Authorization copy$default(Authorization authorization, AuthorizationPayload authorizationPayload, String str, String str2, int i, Object obj) {
        if ((i & 1) != 0) {
            authorizationPayload = authorization.authorizationPayload;
        }
        if ((i & 2) != 0) {
            str = authorization.paymentProvider;
        }
        if ((i & 4) != 0) {
            str2 = authorization.returnUrl;
        }
        return authorization.copy(authorizationPayload, str, str2);
    }

    public static /* synthetic */ void getAuthorizationPayload$annotations() {
    }

    public static /* synthetic */ void getPaymentProvider$annotations() {
    }

    public static /* synthetic */ void getReturnUrl$annotations() {
    }

    public static final void write$Self(Authorization authorization, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(authorization, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        encoding.mo5123g(serialDescriptor, 0, AuthorizationPayload$$serializer.INSTANCE, authorization.authorizationPayload);
        encoding.mo5142E(serialDescriptor, 1, authorization.paymentProvider);
        if ((encoding.mo5146A(serialDescriptor) || authorization.returnUrl != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 2, C4885i1.f17635a, authorization.returnUrl);
        }
    }

    public final AuthorizationPayload component1() {
        return this.authorizationPayload;
    }

    public final String component2() {
        return this.paymentProvider;
    }

    public final String component3() {
        return this.returnUrl;
    }

    public final Authorization copy(AuthorizationPayload authorizationPayload, String str, String str2) {
        TypeConverters.m15411i(authorizationPayload, "authorizationPayload");
        TypeConverters.m15411i(str, "paymentProvider");
        return new Authorization(authorizationPayload, str, str2);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof Authorization) {
            Authorization authorization = (Authorization) obj;
            return TypeConverters.m15416b(this.authorizationPayload, authorization.authorizationPayload) && TypeConverters.m15416b(this.paymentProvider, authorization.paymentProvider) && TypeConverters.m15416b(this.returnUrl, authorization.returnUrl);
        }
        return false;
    }

    public final AuthorizationPayload getAuthorizationPayload() {
        return this.authorizationPayload;
    }

    public final String getPaymentProvider() {
        return this.paymentProvider;
    }

    public final String getReturnUrl() {
        return this.returnUrl;
    }

    public int hashCode() {
        int m15137g = C0136c.m15137g(this.paymentProvider, this.authorizationPayload.hashCode() * 31, 31);
        String str = this.returnUrl;
        return m15137g + (str == null ? 0 : str.hashCode());
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("Authorization(authorizationPayload=");
        m15134j.append(this.authorizationPayload);
        m15134j.append(", paymentProvider=");
        m15134j.append(this.paymentProvider);
        m15134j.append(", returnUrl=");
        return C0452g.m14330a(m15134j, this.returnUrl, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        this.authorizationPayload.writeToParcel(parcel, i);
        parcel.writeString(this.paymentProvider);
        parcel.writeString(this.returnUrl);
    }

    public Authorization(AuthorizationPayload authorizationPayload, String str, String str2) {
        TypeConverters.m15411i(authorizationPayload, "authorizationPayload");
        TypeConverters.m15411i(str, "paymentProvider");
        this.authorizationPayload = authorizationPayload;
        this.paymentProvider = str;
        this.returnUrl = str2;
    }

    public /* synthetic */ Authorization(AuthorizationPayload authorizationPayload, String str, String str2, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this(authorizationPayload, str, (i & 4) != 0 ? null : str2);
    }
}

Authorizationpayload"

package com.app.tgtg.model.remote.order;

import android.os.Parcel;
import android.os.Parcelable;
import android.support.p017v4.media.C0136c;
import androidx.emoji2.text.C0452g;
import androidx.recyclerview.widget.RecyclerView;
import com.adyen.checkout.components.status.model.StatusResponse;
import kotlin.Metadata;
import kotlinx.serialization.KSerializer;
import kotlinx.serialization.descriptors.SerialDescriptor;
import p009a8.TypeConverters;
import p195hl.InterfaceC3911l;
import p236jl.Encoding;
import p255kl.C4885i1;
import p255kl.SerializationConstructorMarker;
import p394rk.C6385y;
import p394rk.DefaultConstructorMarker;

/* compiled from: AuthorizationPayload.kt */
@InterfaceC3911l
@Metadata(m6129bv = {}, m6128d1 = {"\u0000J\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0016\n\u0002\u0010\b\n\u0000\n\u0002\u0010\u0000\n\u0002\b\u0003\n\u0002\u0018\u0002\n\u0002\b%\n\u0002\u0018\u0002\n\u0002\b\u0005\b\u0087\b\u0018\u0000 R2\u00020\u0001:\u0002SRB\u0089\u0001\u0012\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\t\u0012\b\b\u0002\u0010\u0018\u001a\u00020\f\u0012\n\b\u0002\u0010\u0019\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001a\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001b\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001c\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001d\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001e\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010\u001f\u001a\u0004\u0018\u00010\t\u0012\n\b\u0002\u0010 \u001a\u0004\u0018\u00010\t¢\u0006\u0004\bL\u0010MB\u009d\u0001\b\u0017\u0012\u0006\u0010N\u001a\u00020#\u0012\n\b\u0001\u0010\u0016\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u0017\u001a\u0004\u0018\u00010\t\u0012\b\b\u0001\u0010\u0018\u001a\u00020\f\u0012\n\b\u0001\u0010\u0019\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001a\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001b\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001c\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001d\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001e\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010\u001f\u001a\u0004\u0018\u00010\t\u0012\n\b\u0001\u0010 \u001a\u0004\u0018\u00010\t\u0012\b\u0010P\u001a\u0004\u0018\u00010O¢\u0006\u0004\bL\u0010QJ!\u0010\b\u001a\u00020\u00072\u0006\u0010\u0002\u001a\u00020\u00002\u0006\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0006\u001a\u00020\u0005HÇ\u0001J\u000b\u0010\n\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u000b\u001a\u0004\u0018\u00010\tHÆ\u0003J\t\u0010\r\u001a\u00020\fHÆ\u0003J\u000b\u0010\u000e\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u000f\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0010\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0011\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0012\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0013\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0014\u001a\u0004\u0018\u00010\tHÆ\u0003J\u000b\u0010\u0015\u001a\u0004\u0018\u00010\tHÆ\u0003J\u008b\u0001\u0010!\u001a\u00020\u00002\n\b\u0002\u0010\u0016\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u0017\u001a\u0004\u0018\u00010\t2\b\b\u0002\u0010\u0018\u001a\u00020\f2\n\b\u0002\u0010\u0019\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001a\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001b\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001c\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001d\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001e\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010\u001f\u001a\u0004\u0018\u00010\t2\n\b\u0002\u0010 \u001a\u0004\u0018\u00010\tHÆ\u0001J\t\u0010\"\u001a\u00020\tHÖ\u0001J\t\u0010$\u001a\u00020#HÖ\u0001J\u0013\u0010'\u001a\u00020\f2\b\u0010&\u001a\u0004\u0018\u00010%HÖ\u0003J\t\u0010(\u001a\u00020#HÖ\u0001J\u0019\u0010,\u001a\u00020\u00072\u0006\u0010*\u001a\u00020)2\u0006\u0010+\u001a\u00020#HÖ\u0001R\"\u0010\u0016\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0016\u0010-\u0012\u0004\b0\u00101\u001a\u0004\b.\u0010/R\"\u0010\u0017\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0017\u0010-\u0012\u0004\b3\u00101\u001a\u0004\b2\u0010/R(\u0010\u0018\u001a\u00020\f8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b\u0018\u00104\u0012\u0004\b9\u00101\u001a\u0004\b5\u00106\"\u0004\b7\u00108R\"\u0010\u0019\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u0019\u0010-\u0012\u0004\b;\u00101\u001a\u0004\b:\u0010/R\"\u0010\u001a\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001a\u0010-\u0012\u0004\b=\u00101\u001a\u0004\b<\u0010/R\"\u0010\u001b\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001b\u0010-\u0012\u0004\b?\u00101\u001a\u0004\b>\u0010/R\"\u0010\u001c\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001c\u0010-\u0012\u0004\bA\u00101\u001a\u0004\b@\u0010/R\"\u0010\u001d\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001d\u0010-\u0012\u0004\bC\u00101\u001a\u0004\bB\u0010/R\"\u0010\u001e\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001e\u0010-\u0012\u0004\bE\u00101\u001a\u0004\bD\u0010/R\"\u0010\u001f\u001a\u0004\u0018\u00010\t8\u0006X\u0087\u0004¢\u0006\u0012\n\u0004\b\u001f\u0010-\u0012\u0004\bG\u00101\u001a\u0004\bF\u0010/R*\u0010 \u001a\u0004\u0018\u00010\t8\u0006@\u0006X\u0087\u000e¢\u0006\u0018\n\u0004\b \u0010-\u0012\u0004\bK\u00101\u001a\u0004\bH\u0010/\"\u0004\bI\u0010J¨\u0006T"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "Landroid/os/Parcelable;", "self", "Ljl/b;", "output", "Lkotlinx/serialization/descriptors/SerialDescriptor;", "serialDesc", "Lfk/q;", "write$Self", "", "component1", "component2", "", "component3", "component4", "component5", "component6", "component7", "component8", "component9", "component10", "component11", "biometricsProtectedSecret", "voucherId", "storePaymentCard", "paymentType", "payloadType", StatusResponse.PAYLOAD, "detailsPayload", "paymentDataPayload", "paymentMethodNonce", "savedPaymentMethodToken", "zipcode", "copy", "toString", "", "hashCode", "", "other", "equals", "describeContents", "Landroid/os/Parcel;", "parcel", "flags", "writeToParcel", "Ljava/lang/String;", "getBiometricsProtectedSecret", "()Ljava/lang/String;", "getBiometricsProtectedSecret$annotations", "()V", "getVoucherId", "getVoucherId$annotations", "Z", "getStorePaymentCard", "()Z", "setStorePaymentCard", "(Z)V", "getStorePaymentCard$annotations", "getPaymentType", "getPaymentType$annotations", "getPayloadType", "getPayloadType$annotations", "getPayload", "getPayload$annotations", "getDetailsPayload", "getDetailsPayload$annotations", "getPaymentDataPayload", "getPaymentDataPayload$annotations", "getPaymentMethodNonce", "getPaymentMethodNonce$annotations", "getSavedPaymentMethodToken", "getSavedPaymentMethodToken$annotations", "getZipcode", "setZipcode", "(Ljava/lang/String;)V", "getZipcode$annotations", "<init>", "(Ljava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", "seen1", "Lkl/e1;", "serializationConstructorMarker", "(ILjava/lang/String;Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lkl/e1;)V", "Companion", "$serializer", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0})
/* loaded from: classes2.dex */
public final class AuthorizationPayload implements Parcelable {
    private final String biometricsProtectedSecret;
    private final String detailsPayload;
    private final String payload;
    private final String payloadType;
    private final String paymentDataPayload;
    private final String paymentMethodNonce;
    private final String paymentType;
    private final String savedPaymentMethodToken;
    private boolean storePaymentCard;
    private final String voucherId;
    private String zipcode;
    public static final Companion Companion = new Companion(null);
    public static final Parcelable.Creator<AuthorizationPayload> CREATOR = new Creator();

    /* compiled from: AuthorizationPayload.kt */
    @Metadata(m6128d1 = {"\u0000\u0016\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002¢\u0006\u0002\u0010\u0002J\u000f\u0010\u0003\u001a\b\u0012\u0004\u0012\u00020\u00050\u0004HÆ\u0001¨\u0006\u0006"}, m6127d2 = {"Lcom/app/tgtg/model/remote/order/AuthorizationPayload$Companion;", "", "()V", "serializer", "Lkotlinx/serialization/KSerializer;", "Lcom/app/tgtg/model/remote/order/AuthorizationPayload;", "com.app.tgtg-v5531_22.10.1_googleRelease"}, m6126k = 1, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
            this();
        }

        public final KSerializer<AuthorizationPayload> serializer() {
            return AuthorizationPayload$$serializer.INSTANCE;
        }
    }

    /* compiled from: AuthorizationPayload.kt */
    @Metadata(m6126k = 3, m6125mv = {1, 6, 0}, m6123xi = 48)
    /* loaded from: classes2.dex */
    public static final class Creator implements Parcelable.Creator<AuthorizationPayload> {
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final AuthorizationPayload createFromParcel(Parcel parcel) {
            TypeConverters.m15411i(parcel, "parcel");
            return new AuthorizationPayload(parcel.readString(), parcel.readString(), parcel.readInt() != 0, parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString(), parcel.readString());
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public final AuthorizationPayload[] newArray(int i) {
            return new AuthorizationPayload[i];
        }
    }

    public AuthorizationPayload() {
        this((String) null, (String) null, false, (String) null, (String) null, (String) null, (String) null, (String) null, (String) null, (String) null, (String) null, 2047, (DefaultConstructorMarker) null);
    }

    public /* synthetic */ AuthorizationPayload(int i, String str, String str2, boolean z, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, SerializationConstructorMarker serializationConstructorMarker) {
        if (4 != (i & 4)) {
            C6385y.m3971G(i, 4, AuthorizationPayload$$serializer.INSTANCE.getDescriptor());
            throw null;
        }
        if ((i & 1) == 0) {
            this.biometricsProtectedSecret = null;
        } else {
            this.biometricsProtectedSecret = str;
        }
        if ((i & 2) == 0) {
            this.voucherId = null;
        } else {
            this.voucherId = str2;
        }
        this.storePaymentCard = z;
        if ((i & 8) == 0) {
            this.paymentType = null;
        } else {
            this.paymentType = str3;
        }
        if ((i & 16) == 0) {
            this.payloadType = null;
        } else {
            this.payloadType = str4;
        }
        if ((i & 32) == 0) {
            this.payload = null;
        } else {
            this.payload = str5;
        }
        if ((i & 64) == 0) {
            this.detailsPayload = null;
        } else {
            this.detailsPayload = str6;
        }
        if ((i & 128) == 0) {
            this.paymentDataPayload = null;
        } else {
            this.paymentDataPayload = str7;
        }
        if ((i & RecyclerView.AbstractC0607c0.FLAG_TMP_DETACHED) == 0) {
            this.paymentMethodNonce = null;
        } else {
            this.paymentMethodNonce = str8;
        }
        if ((i & RecyclerView.AbstractC0607c0.FLAG_ADAPTER_POSITION_UNKNOWN) == 0) {
            this.savedPaymentMethodToken = null;
        } else {
            this.savedPaymentMethodToken = str9;
        }
        if ((i & 1024) == 0) {
            this.zipcode = null;
        } else {
            this.zipcode = str10;
        }
    }

    public static /* synthetic */ void getBiometricsProtectedSecret$annotations() {
    }

    public static /* synthetic */ void getDetailsPayload$annotations() {
    }

    public static /* synthetic */ void getPayload$annotations() {
    }

    public static /* synthetic */ void getPayloadType$annotations() {
    }

    public static /* synthetic */ void getPaymentDataPayload$annotations() {
    }

    public static /* synthetic */ void getPaymentMethodNonce$annotations() {
    }

    public static /* synthetic */ void getPaymentType$annotations() {
    }

    public static /* synthetic */ void getSavedPaymentMethodToken$annotations() {
    }

    public static /* synthetic */ void getStorePaymentCard$annotations() {
    }

    public static /* synthetic */ void getVoucherId$annotations() {
    }

    public static /* synthetic */ void getZipcode$annotations() {
    }

    public static final void write$Self(AuthorizationPayload authorizationPayload, Encoding encoding, SerialDescriptor serialDescriptor) {
        TypeConverters.m15411i(authorizationPayload, "self");
        TypeConverters.m15411i(encoding, "output");
        TypeConverters.m15411i(serialDescriptor, "serialDesc");
        boolean z = false;
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.biometricsProtectedSecret != null) {
            encoding.mo5116n(serialDescriptor, 0, C4885i1.f17635a, authorizationPayload.biometricsProtectedSecret);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.voucherId != null) {
            encoding.mo5116n(serialDescriptor, 1, C4885i1.f17635a, authorizationPayload.voucherId);
        }
        encoding.mo5145B(serialDescriptor, 2, authorizationPayload.storePaymentCard);
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.paymentType != null) {
            encoding.mo5116n(serialDescriptor, 3, C4885i1.f17635a, authorizationPayload.paymentType);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.payloadType != null) {
            encoding.mo5116n(serialDescriptor, 4, C4885i1.f17635a, authorizationPayload.payloadType);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.payload != null) {
            encoding.mo5116n(serialDescriptor, 5, C4885i1.f17635a, authorizationPayload.payload);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.detailsPayload != null) {
            encoding.mo5116n(serialDescriptor, 6, C4885i1.f17635a, authorizationPayload.detailsPayload);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.paymentDataPayload != null) {
            encoding.mo5116n(serialDescriptor, 7, C4885i1.f17635a, authorizationPayload.paymentDataPayload);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.paymentMethodNonce != null) {
            encoding.mo5116n(serialDescriptor, 8, C4885i1.f17635a, authorizationPayload.paymentMethodNonce);
        }
        if (encoding.mo5146A(serialDescriptor) || authorizationPayload.savedPaymentMethodToken != null) {
            encoding.mo5116n(serialDescriptor, 9, C4885i1.f17635a, authorizationPayload.savedPaymentMethodToken);
        }
        if ((encoding.mo5146A(serialDescriptor) || authorizationPayload.zipcode != null) ? true : true) {
            encoding.mo5116n(serialDescriptor, 10, C4885i1.f17635a, authorizationPayload.zipcode);
        }
    }

    public final String component1() {
        return this.biometricsProtectedSecret;
    }

    public final String component10() {
        return this.savedPaymentMethodToken;
    }

    public final String component11() {
        return this.zipcode;
    }

    public final String component2() {
        return this.voucherId;
    }

    public final boolean component3() {
        return this.storePaymentCard;
    }

    public final String component4() {
        return this.paymentType;
    }

    public final String component5() {
        return this.payloadType;
    }

    public final String component6() {
        return this.payload;
    }

    public final String component7() {
        return this.detailsPayload;
    }

    public final String component8() {
        return this.paymentDataPayload;
    }

    public final String component9() {
        return this.paymentMethodNonce;
    }

    public final AuthorizationPayload copy(String str, String str2, boolean z, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10) {
        return new AuthorizationPayload(str, str2, z, str3, str4, str5, str6, str7, str8, str9, str10);
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj instanceof AuthorizationPayload) {
            AuthorizationPayload authorizationPayload = (AuthorizationPayload) obj;
            return TypeConverters.m15416b(this.biometricsProtectedSecret, authorizationPayload.biometricsProtectedSecret) && TypeConverters.m15416b(this.voucherId, authorizationPayload.voucherId) && this.storePaymentCard == authorizationPayload.storePaymentCard && TypeConverters.m15416b(this.paymentType, authorizationPayload.paymentType) && TypeConverters.m15416b(this.payloadType, authorizationPayload.payloadType) && TypeConverters.m15416b(this.payload, authorizationPayload.payload) && TypeConverters.m15416b(this.detailsPayload, authorizationPayload.detailsPayload) && TypeConverters.m15416b(this.paymentDataPayload, authorizationPayload.paymentDataPayload) && TypeConverters.m15416b(this.paymentMethodNonce, authorizationPayload.paymentMethodNonce) && TypeConverters.m15416b(this.savedPaymentMethodToken, authorizationPayload.savedPaymentMethodToken) && TypeConverters.m15416b(this.zipcode, authorizationPayload.zipcode);
        }
        return false;
    }

    public final String getBiometricsProtectedSecret() {
        return this.biometricsProtectedSecret;
    }

    public final String getDetailsPayload() {
        return this.detailsPayload;
    }

    public final String getPayload() {
        return this.payload;
    }

    public final String getPayloadType() {
        return this.payloadType;
    }

    public final String getPaymentDataPayload() {
        return this.paymentDataPayload;
    }

    public final String getPaymentMethodNonce() {
        return this.paymentMethodNonce;
    }

    public final String getPaymentType() {
        return this.paymentType;
    }

    public final String getSavedPaymentMethodToken() {
        return this.savedPaymentMethodToken;
    }

    public final boolean getStorePaymentCard() {
        return this.storePaymentCard;
    }

    public final String getVoucherId() {
        return this.voucherId;
    }

    public final String getZipcode() {
        return this.zipcode;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public int hashCode() {
        String str = this.biometricsProtectedSecret;
        int hashCode = (str == null ? 0 : str.hashCode()) * 31;
        String str2 = this.voucherId;
        int hashCode2 = (hashCode + (str2 == null ? 0 : str2.hashCode())) * 31;
        boolean z = this.storePaymentCard;
        int i = z;
        if (z != 0) {
            i = 1;
        }
        int i2 = (hashCode2 + i) * 31;
        String str3 = this.paymentType;
        int hashCode3 = (i2 + (str3 == null ? 0 : str3.hashCode())) * 31;
        String str4 = this.payloadType;
        int hashCode4 = (hashCode3 + (str4 == null ? 0 : str4.hashCode())) * 31;
        String str5 = this.payload;
        int hashCode5 = (hashCode4 + (str5 == null ? 0 : str5.hashCode())) * 31;
        String str6 = this.detailsPayload;
        int hashCode6 = (hashCode5 + (str6 == null ? 0 : str6.hashCode())) * 31;
        String str7 = this.paymentDataPayload;
        int hashCode7 = (hashCode6 + (str7 == null ? 0 : str7.hashCode())) * 31;
        String str8 = this.paymentMethodNonce;
        int hashCode8 = (hashCode7 + (str8 == null ? 0 : str8.hashCode())) * 31;
        String str9 = this.savedPaymentMethodToken;
        int hashCode9 = (hashCode8 + (str9 == null ? 0 : str9.hashCode())) * 31;
        String str10 = this.zipcode;
        return hashCode9 + (str10 != null ? str10.hashCode() : 0);
    }

    public final void setStorePaymentCard(boolean z) {
        this.storePaymentCard = z;
    }

    public final void setZipcode(String str) {
        this.zipcode = str;
    }

    public String toString() {
        StringBuilder m15134j = C0136c.m15134j("AuthorizationPayload(biometricsProtectedSecret=");
        m15134j.append((Object) this.biometricsProtectedSecret);
        m15134j.append(", voucherId=");
        m15134j.append((Object) this.voucherId);
        m15134j.append(", storePaymentCard=");
        m15134j.append(this.storePaymentCard);
        m15134j.append(", paymentType=");
        m15134j.append((Object) this.paymentType);
        m15134j.append(", payloadType=");
        m15134j.append((Object) this.payloadType);
        m15134j.append(", payload=");
        m15134j.append((Object) this.payload);
        m15134j.append(", detailsPayload=");
        m15134j.append((Object) this.detailsPayload);
        m15134j.append(", paymentDataPayload=");
        m15134j.append((Object) this.paymentDataPayload);
        m15134j.append(", paymentMethodNonce=");
        m15134j.append((Object) this.paymentMethodNonce);
        m15134j.append(", savedPaymentMethodToken=");
        m15134j.append((Object) this.savedPaymentMethodToken);
        m15134j.append(", zipcode=");
        return C0452g.m14330a(m15134j, this.zipcode, ')');
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i) {
        TypeConverters.m15411i(parcel, "out");
        parcel.writeString(this.biometricsProtectedSecret);
        parcel.writeString(this.voucherId);
        parcel.writeInt(this.storePaymentCard ? 1 : 0);
        parcel.writeString(this.paymentType);
        parcel.writeString(this.payloadType);
        parcel.writeString(this.payload);
        parcel.writeString(this.detailsPayload);
        parcel.writeString(this.paymentDataPayload);
        parcel.writeString(this.paymentMethodNonce);
        parcel.writeString(this.savedPaymentMethodToken);
        parcel.writeString(this.zipcode);
    }

    public AuthorizationPayload(String str, String str2, boolean z, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10) {
        this.biometricsProtectedSecret = str;
        this.voucherId = str2;
        this.storePaymentCard = z;
        this.paymentType = str3;
        this.payloadType = str4;
        this.payload = str5;
        this.detailsPayload = str6;
        this.paymentDataPayload = str7;
        this.paymentMethodNonce = str8;
        this.savedPaymentMethodToken = str9;
        this.zipcode = str10;
    }

    public /* synthetic */ AuthorizationPayload(String str, String str2, boolean z, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, int i, DefaultConstructorMarker defaultConstructorMarker) {
        this((i & 1) != 0 ? null : str, (i & 2) != 0 ? null : str2, (i & 4) != 0 ? false : z, (i & 8) != 0 ? null : str3, (i & 16) != 0 ? null : str4, (i & 32) != 0 ? null : str5, (i & 64) != 0 ? null : str6, (i & 128) != 0 ? null : str7, (i & RecyclerView.AbstractC0607c0.FLAG_TMP_DETACHED) != 0 ? null : str8, (i & RecyclerView.AbstractC0607c0.FLAG_ADAPTER_POSITION_UNKNOWN) != 0 ? null : str9, (i & 1024) == 0 ? str10 : null);
    }
}

I hope it is of any use. Let me know if you need anything else from the app source code.

Der-Henning commented 1 year ago

With commit b3d6fd6290cc73e345d71a3370cf72f37c153884 I added the endpoints to create an order to the TGTG API. It is possible to reserve a magic bag and revoke the reservation. Unfortunately, the reservation does not show up in the TGTG App. I hoped it would be possible to reserve the bag with the scanner, send a notification, and then pay in the official App.

ChuckChance commented 1 year ago

I'm using a shared account for the family (so we can all pick up each others' reservations) and the unpaid orders don't show up on other phones, which was also a disapointment...

What does work is reserving a bag on one phone, and cancelling the order once the person with payment credentials is ready to order on their phone. For a bot to do it that way, it would require a way to ask the bot to cancel its order (like Telegram bots' buttons)

Edit : I assume entering credit card information might be out of scope for this project ? Or using saved credit card information ? (are these even saved on their servers or just locally in app data ?)

KaKi87 commented 1 year ago

the reservation does not show up in the TGTG App

IIRC there's a link to be generated by TGTG or the bot that will allow the user to complete the payment.

peff74 commented 1 year ago

I've installed the version shown above, but how do I use the new functions? Sorry I'm not python pro... I'm glad I was able to get this to run under Python at all^^

Der-Henning commented 1 year ago

Hi @peff74, I only added the needed endpoints to the TGTG API wrapper in the src/tgtg/tgtg_client.py file. At the moment there is no usage implemented. Of cause, you can clone the repository and use the mentioned file directly or in your own projects.

peff74 commented 1 year ago

ah then I'm out, this is beyond me. have also now managed the reservation with tgtg-pyton :-)

Will you implement the function eventually?

Der-Henning commented 1 year ago

At the moment I am trying to add the reserve function to the telegram bot. But I am very busy at the moment and as this is a side project it may take some time.

peff74 commented 1 year ago

I have now taken a closer look at Telegram because of your app. Got it running ^^ Now waiting excitedly ;-)

swiezaczek commented 1 year ago

Chatgpt generated me a code that would allow to reserve bag. Maybe its the hallucinations of it, but Its worth sharing:

# Import the necessary modules
import requests
import json
import time

# Define the API endpoint
api_url = "https://api.toogoodtogo.com/api"

# Define the notification method and details
notification_method = "WhatsApp" # or "SMS" or "Email"
phone_number = "your_phone_number"
email_address = "your_email_address"

# Define the time limit to confirm or cancel the reservation (in seconds)
time_limit = 480

# Load the config file
config = load_config("config.ini")

# Login to the app and get the access token
access_token = login(config["email"], config["password"])

# Loop until you stop the script
while True:
    # Get the available items from the app
    items = get_items(access_token)

    # Loop through the items and check if they match your magic bags
    for item in items:
        # Get the store name and item id
        store_name = item["store"]["store_name"]
        item_id = item["item"]["item_id"]

        # If the store name matches one of your magic bags, lock it
        if store_name in config["magic_bags"]:
            lock_status = lock_item(access_token, item_id)

            # If the lock was successful, send a notification to yourself
            if lock_status == "LOCKED":
                notification_message = f"You have locked a magic bag from {store_name}. Please confirm or cancel within {time_limit} seconds."
                send_notification(notification_method, notification_message)

                # Wait for a confirmation or cancellation from yourself
                start_time = time.time()
                confirmed = False
                cancelled = False

                while not confirmed and not cancelled and time.time() - start_time < time_limit:
                    # Check if you have received a confirmation or cancellation message from yourself
                    # This could be done by reading your messages or emails using some service (e.g. Twilio or Gmail)
                    pass

                # If you have confirmed, finalize the reservation
                if confirmed:
                    finalize_status = finalize_item(access_token, item_id)

                    # If the reservation was successful, send a confirmation message to yourself
                    if finalize_status == "FINALIZED":
                        confirmation_message = f"You have reserved a magic bag from {store_name}. Please pick it up before {item['pickup_interval']['end']}."
                        send_notification(notification_method, confirmation_message)

                # If you have cancelled, unlock the reservation
                if cancelled:
                    unlock_status = unlock_item(access_token, item_id)

                    # If the unlock was successful, send a cancellation message to yourself
                    if unlock_status == "UNLOCKED":
                        cancellation_message = f"You have cancelled a magic bag from {store_name}."
                        send_notification(notification_method, cancellation_message)
kulibulli commented 1 year ago

is it possible to use the reserve function in windows version now? What is the config command for that?

Der-Henning commented 1 year ago

I created a wiki page that describes the reservation feature. https://github.com/Der-Henning/tgtg/wiki/FAQ#4-how-does-the-reservation-feature-work

Akirakato1 commented 11 months ago

On the tgtg library payment part of reservation is not implemented. To secure a reserve you need to both reserve and pay but bots/scripts that buy out all bags within 1 second of opening is quite evident anecdotally as even without loading time during UI navigations throughout the reserve process on app, all bags are gone before one can enter paying UI. My question is how do you suppose who ever is running automatic reserve service has enabled successful sync of reserve and payment. Perhaps they have hijacked payment endpoint?

oryinchan commented 5 months ago

Is it possible to implement paypal as the payment, and send to payment link to the telegram bot perhaps?

floriegl commented 2 months ago

Also I have found the endpoints which are needed to get the Adyen URL which then redirects to the PayPal page.

Before create order (maybe even possible after the order is created): POST https://apptoogoodtogo.com/api/paymentMethod/v1/item/<item_id> with {"supported_types":[{"provider":"ADYEN","payment_types":["CREDITCARD","SOFORT","IDEAL","PAYPAL","BCMCMOBILE","BCMCCARD","VIPPS","TWINT","MBWAY","SWISH","BLIK","GOOGLEPAY"]},{"provider":"VOUCHER","payment_types":["VOUCHER","FAKE_DOOR"]},{"provider":"BRAINTREE","payment_types":["VENMO"]},{"provider":"CHARITY","payment_types":["CHARITY"]},{"provider":"SATISPAY","payment_types":["SATISPAY"]}]} and make sure that the response json has a payment_methods_state = "SUCCESS" and payment_methods[].payment_type = "PAYPAL"

Create order and make sure order is reserved with ORDER_STATUS_ENDPOINT

POST https://apptoogoodtogo.com/api/order/v7/<orrder.id>/pay with {"authorization":{"authorization_payload":{"save_payment_method":false,"payment_type":"<payment_methods[]payment_type - should be 'PAYPAL'>","type":"adyenAuthorizationPayload","payload":<payment_methods[].adyen_api_payload>},"payment_provider":"<payment_methods[]-payment_provider - should be 'ADYEN'>","return_url":"adyencheckout://com.app.tgtg.itemview"}} (where payment_methods[].payment_type = "PAYPAL"; the payload is a JSON string with escape characters e.g., "{\"configuration\":{\"merchantId\":\"<retracted>\",\"intent\":\"authorize\"},\"name\":\"PayPal\",\"type\":\"paypal\"}"); save payment_id from the response json

POST https://apptoogoodtogo.com/api/payment/v3/<payment_id > - the response json has a payload property looking like this: "{\"method\":\"GET\",\"paymentMethodType\":\"paypal\",\"resendInterval\":0,\"resendMaxAttempts\":0,\"type\":\"redirect\",\"url\":\"https://live.adyen.com/hpp/checkout.shtml?u=redirectPayPal&p=<some_magic_payment_string>\"}", This live.adyen.com link should work for finishing the payment

floriegl commented 2 months ago

Also see: https://github.com/ahivert/tgtg-python/issues/215

weiv30 commented 2 months ago

@floriegl Unfortunately, for me POST /payment/v3/<payment_id> does not return any URL, but a payload like this:

{
    "payment_id": "...",
    "order_id": "...",
    "payment_provider": "ADYEN",
    "state": "AUTHORIZATION_INITIATED",
    "user_id": "..."
}

Do you know what i might miss?

floriegl commented 2 months ago

That looks like the response I got from POST /order/v7/<orrder.id>/pay. Either you did not select PayPal, the request was maybe to fast (maybe try it after a second or two), screwed up the request order, used a body for the POST /payment/v3/<payment_id> endpoint or there are some regional differences.

Do you perhaps have a WIP branch or something similar I can take a look at?

weiv30 commented 2 months ago

After sending the requests manually using Postman, it worked. I still have to find the error in my python code. Thank you for your detailed help!

lea-pixel commented 4 weeks ago

@floriegl @weiv30 I am also experimenting in Postman. Auth, creating orders and checking works. I am struggling with the pay body formatting though - is the payload JSON incorporated in the authorisation body? Maybe you can provide an example - thx!