Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
osp_gateway
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: payment_option.cpython-39.opt-1.pyc
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z e dd� �Zejd d� �Ze dd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS )� PaymentOptionz+ Payment option of a subscription. �CREDIT_CARD�PAYPALc K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new PaymentOption object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.osp_gateway.models.CreditCardPaymentOption` * :class:`~oci.osp_gateway.models.PaypalPaymentOption` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param wallet_instrument_id: The value to assign to the wallet_instrument_id property of this PaymentOption. :type wallet_instrument_id: str :param wallet_transaction_id: The value to assign to the wallet_transaction_id property of this PaymentOption. :type wallet_transaction_id: str :param payment_method: The value to assign to the payment_method property of this PaymentOption. Allowed values for this property are: "CREDIT_CARD", "PAYPAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type payment_method: str �str)�wallet_instrument_id�wallet_transaction_id�payment_methodZwalletInstrumentIdZwalletTransactionId� paymentMethodN)Z swagger_typesZ attribute_map�_wallet_instrument_id�_wallet_transaction_id�_payment_method)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/osp_gateway/models/payment_option.py�__init__ s ��zPaymentOption.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZCreditCardPaymentOptionr ZPaypalPaymentOptionr Nr )Zobject_dictionary�typer r r �get_subtypeC s zPaymentOption.get_subtypec C s | j S )z� Gets the wallet_instrument_id of this PaymentOption. Wallet instrument internal id. :return: The wallet_instrument_id of this PaymentOption. :rtype: str �r �r r r r r S s z"PaymentOption.wallet_instrument_idc C s || _ dS )z� Sets the wallet_instrument_id of this PaymentOption. Wallet instrument internal id. :param wallet_instrument_id: The wallet_instrument_id of this PaymentOption. :type: str Nr )r r r r r r _ s c C s | j S )z� Gets the wallet_transaction_id of this PaymentOption. Wallet transaction id. :return: The wallet_transaction_id of this PaymentOption. :rtype: str �r r r r r r k s z#PaymentOption.wallet_transaction_idc C s || _ dS )z� Sets the wallet_transaction_id of this PaymentOption. Wallet transaction id. :param wallet_transaction_id: The wallet_transaction_id of this PaymentOption. :type: str Nr )r r r r r r w s c C s | j S )as **[Required]** Gets the payment_method of this PaymentOption. Payment method Allowed values for this property are: "CREDIT_CARD", "PAYPAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The payment_method of this PaymentOption. :rtype: str )r r r r r r � s zPaymentOption.payment_methodc C s ddg}t ||�sd}|| _dS )z� Sets the payment_method of this PaymentOption. Payment method :param payment_method: The payment_method of this PaymentOption. :type: str r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r � s c C s t | �S �N)r r r r r �__repr__� s zPaymentOption.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zPaymentOption.__eq__c C s | |k S r r r r r r �__ne__� s zPaymentOption.__ne__N)�__name__� __module__�__qualname__�__doc__ZPAYMENT_METHOD_CREDIT_CARDZPAYMENT_METHOD_PAYPALr �staticmethodr �propertyr �setterr r r r r! r r r r r s* ) r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s