Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add createPaymentDetails endpoint #4941

Merged
merged 1 commit into from
May 2, 2022
Merged

Conversation

brnunes-stripe
Copy link
Contributor

Summary

Add new endpoint to create a new Payment Method for Link.

Motivation

Link support.

Testing

  • Added tests
  • Modified tests
  • Manually verified

@github-actions
Copy link
Contributor

github-actions bot commented May 1, 2022

Diffuse output:

OLD: paymentsheet-example-release-master.apk (signature: none)
NEW: paymentsheet-example-release-pr.apk (signature: none)

          │           compressed           │          uncompressed          
          ├──────────┬──────────┬──────────┼──────────┬──────────┬──────────
 APK      │ old      │ new      │ diff     │ old      │ new      │ diff     
──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────
      dex │ 13.5 MiB │ 13.5 MiB │ +1.9 KiB │ 45.2 MiB │ 45.2 MiB │ +5.2 KiB 
     arsc │  1.7 MiB │  1.7 MiB │      0 B │  1.7 MiB │  1.7 MiB │      0 B 
 manifest │  3.1 KiB │  3.1 KiB │      0 B │ 13.7 KiB │ 13.7 KiB │      0 B 
      res │  711 KiB │  711 KiB │      0 B │  1.1 MiB │  1.1 MiB │      0 B 
   native │  5.4 MiB │  5.4 MiB │      0 B │ 13.4 MiB │ 13.4 MiB │      0 B 
    asset │    3 MiB │    3 MiB │   +232 B │    3 MiB │    3 MiB │   +232 B 
    other │   80 KiB │   80 KiB │      0 B │  155 KiB │  155 KiB │      0 B 
──────────┼──────────┼──────────┼──────────┼──────────┼──────────┼──────────
    total │ 24.3 MiB │ 24.3 MiB │ +2.1 KiB │ 64.6 MiB │ 64.6 MiB │ +5.5 KiB 

         │          raw           │             unique              
         ├────────┬────────┬──────┼────────┬────────┬───────────────
 DEX     │ old    │ new    │ diff │ old    │ new    │ diff          
─────────┼────────┼────────┼──────┼────────┼────────┼───────────────
   files │      3 │      3 │    0 │        │        │               
 strings │ 218890 │ 218918 │  +28 │ 192536 │ 192562 │ +26 (+38 -12) 
   types │  38011 │  38019 │   +8 │  35154 │  35161 │  +7 (+7 -0)   
 classes │  32524 │  32530 │   +6 │  32524 │  32530 │  +6 (+6 -0)   
 methods │ 195574 │ 195601 │  +27 │ 189066 │ 189092 │ +26 (+28 -2)  
  fields │ 139571 │ 139589 │  +18 │ 138652 │ 138670 │ +18 (+20 -2)  

 ARSC    │ old  │ new  │ diff 
─────────┼──────┼──────┼──────
 configs │  292 │  292 │  0   
 entries │ 5766 │ 5766 │  0
APK
     compressed     │    uncompressed     │                               
─────────┬──────────┼──────────┬──────────┤                               
 size    │ diff     │ size     │ diff     │ path                          
─────────┼──────────┼──────────┼──────────┼───────────────────────────────
 3.2 MiB │ +1.6 KiB │  8.7 MiB │ +4.1 KiB │ ∆ classes2.dex                
 3.9 MiB │   +298 B │ 11.2 MiB │ +1.2 KiB │ ∆ classes3.dex                
 7.6 KiB │   +232 B │  7.4 KiB │   +232 B │ ∆ assets/dexopt/baseline.prof 
─────────┼──────────┼──────────┼──────────┼───────────────────────────────
 7.1 MiB │ +2.1 KiB │ 19.9 MiB │ +5.5 KiB │ (total)
DEX
STRINGS:

   old    │ new    │ diff          
  ────────┼────────┼───────────────
   192536 │ 192562 │ +26 (+38 -12) 
  + �
  ���
  ��
  ���
  ���
  ����2�0�B���¢����R�����0�X�T¢��
  ¨��
  + �
  ���
  ��
  ���
  ���
  ��
  ����2�0�B���¢����R�����0�X�T¢��
  R�����0�X�T¢��
  R�����0�X�T¢��
  R�����0�X�T¢��
  R�����0�X�T¢��
  R��	��0�X�T¢��
  R��
  ��0�X�T¢��
  R�����0�X�T¢��
  R����0�X�T¢��
  R��
  ��0�X�T¢��
  ¨��
  + ,
  ���
  ���
  ���
  
  ���
  ���
  ��_
  ���
  ��
  ���
  ���
  �7� 
  2�0�2�0�:�
  B���������0�¢����J���������0
  ����0�0	H�R�����0�X��¢��
  ����������¨��
  + 4
  ���
  ���
  
  ��_
  ���
  ��
  ���
  ���
  ���
  ���
  ���
  
  ���
  ������ �2�0�:��B�����������0��	��0�¢����0�¢����J���������0�����0�0�H�J	�	��0
  H�J���������0�����0�0�H�J����0
  2�����0�2�����0
  HÖ�R���������0��	��0�¢����0�X��¢��
  ¨��
  + B
  ���
  ���
  ���
  
  ���
  ���
  ��_
  ��
  ���
  ���
  ���
  
  ���
  ���
  ���
  
  ���
  ������� )2�0�2�0�:�)B2������0�������0�������������0��	��0�¢���	��0�¢���
  J�����0�HÀ�¢����J�����0�HÀ�¢����J!��������0��	��0�¢���	��0�HÀ�¢����J:����02�������0�2�������0�2�����������0��	��0�¢���	��0�HÆ�J	����0�HÖ�J�����0�2�� ����0�HÖ�J	�!��0�HÖ�J��������0�����0�0�H�J	�#��0�HÖ�J��_��0%2��&��0'2��(��0�HÖ�R�����0�X��¢��
  �������
  ��R-��������0��	��0�¢���	��0�X��¢��
  �����������R�����0�X��¢��
  ����������¨�*
  + ��
  ���
  ��
  ���
  ���
  ���
  ���
  
  ���
  
  ���
  
  ��_
  
  ���
  
  ���
  
  ���
  
  ���
  
  ���
  
  ���
  
  ���
  
  ���
  
  ���
  ���
  ���
  ���
  ���
  ���
  ���
  ���
  ���
  ���
  ��
  ����2�0�B���¢����J0����0�2��	��0
  2�����02����
  ������0�����0���0�H�J0����0�2�����0�2�����02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0�2
  ��������02����
  ������0�����0���0�H�J4����0�2�����0 2
  ��������02����
  ������0�����0���0�H�J,�!��0�2
  ��������02����
  ������0�����0���0�H�J,���0�2
  ��������02����
  ������0�����0���0�H�J �#��0�2����
  ������0�����0���0�H�J(�_��0�2�����02����
  ������0�����0���0�H�J,�%��0�2
  ��������02����
  ������0�����0���0�H�J��&��0�2��'��0(H�J(�)��0�2�����02����
  ������0�����0���0�H�J��*��0�2��+��0,H�J(�-��0�2�����02����
  ������0�����0���0�H�J(�.��0�2�����02����
  ������0�����0���0�H�J,�/��0�2
  ��������02����
  ������0�����0���0�H�J5�0��0�2��1��0�2��2��0�2����3������0��	��0�¢���4��0�H�J(�5��0�2�����02����
  ������0�����0���0�H�J(�6��0�2�����02����
  ������0�����0���0�H�J �7��0�2����
  ������0�����0���0�H�J,�8��0�2
  ��������02����
  ������0�����0���0�H�J,�9��0�2
  ��������02����
  ������0�����0���0�H�J9�:��0�2��;��0<2��=������0��	��0�¢���4��0�2�>������0�0?H�R�����0�X�T¢��
  R�����0�X�T¢��
  R�����0�X�T¢��
  ¨�@
  + , extraParams=
  + ConsumerPaymentDetailsCreateParams.kt
  + Lcom/stripe/android/model/ConsumerPaymentDetailsCreateParams_Card_Companion;
  + Lcom/stripe/android/model/ConsumerPaymentDetailsCreateParams_Card_Creator;
  + Lcom/stripe/android/model/ConsumerPaymentDetailsCreateParams_Card;
  + Lcom/stripe/android/model/ConsumerPaymentDetailsCreateParams_Companion;
  + Lcom/stripe/android/model/ConsumerPaymentDetailsCreateParams;
  + PARAM_BILLING_ADDRESS
  + PARAM_CARD_EXP_MONTH
  + PARAM_CARD_EXP_YEAR
  + PARAM_CARD_NUMBER
  + PARAM_COUNTRY_CODE
  + SMAP
  ConsumerPaymentDetailsCreateParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 ConsumerPaymentDetailsCreateParams.kt
  com/stripe/android/model/ConsumerPaymentDetailsCreateParams_Card
  + 2 Maps.kt
  kotlin/collections/MapsKt__MapsKt
  *L
  1#1,71:1
  463#2,7:72
  *S KotlinDebug
  *F
  + 1 ConsumerPaymentDetailsCreateParams.kt
  com/stripe/android/model/ConsumerPaymentDetailsCreateParams_Card
  *L
  49#1:72,7
  *E
  
  + SMAP
  PaymentMethodCreateParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 PaymentMethodCreateParams.kt
  com/stripe/android/model/PaymentMethodCreateParams
  + 2 fake.kt
  kotlin/jvm/internal/FakeKt
  *L
  1#1,880:1
  1#2:881
  *E
  
  + SMAP
  PaymentMethodCreateParams.kt
  Kotlin
  *S Kotlin
  *F
  + 1 PaymentMethodCreateParams.kt
  com/stripe/android/model/PaymentMethodCreateParams_Card
  + 2 _Collections.kt
  kotlin/collections/CollectionsKt___CollectionsKt
  + 3 fake.k
...✂

@brnunes-stripe brnunes-stripe merged commit a2b6760 into master May 2, 2022
@brnunes-stripe brnunes-stripe deleted the brnunes/paymentoptions branch May 2, 2022 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants